Check firebird.log [no messages found for interval when this test was running]
Jump to: output_first_mismatch    outcomes_full_history    elapsed_time_chart
Show cross-report outcomes.

Annotation type Annotation details
2 @message
assert   
    iter: no_use_svc
  - gbak: WARNING:Wrong parallel workers value 3, valid range are from 1 to 2

LOG DETAILS:

2025-02-25 14:28:32.262
2025-02-25 14:28:32.272 act = <firebird.qa.plugin.Action object at [hex]>
2025-02-25 14:28:32.280 tmp_fbk = PosixPath('/var/tmp/qa_2024/test_12271/tmp_333be4bf.fbk')
2025-02-25 14:28:32.290 tmp_res = PosixPath('/var/tmp/qa_2024/test_12271/tmp_333be4bf.fdb')
2025-02-25 14:28:32.298 tmp_log = PosixPath('/var/tmp/qa_2024/test_12271/tmp_333be4bf.log')
2025-02-25 14:28:32.309 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-02-25 14:28:32.317
2025-02-25 14:28:32.324 @pytest.mark.version('>=5.0')
2025-02-25 14:28:32.332 def test_1(act: Action, tmp_fbk: Path, tmp_res: Path, tmp_log: Path, capsys):
2025-02-25 14:28:32.339
2025-02-25 14:28:32.348 max_parallel_wrk = -1
2025-02-25 14:28:32.360 with act.db.connect() as con:
2025-02-25 14:28:32.369 cur = con.cursor()
2025-02-25 14:28:32.377 cur.execute("select g.rdb$config_value from rdb$config g where upper(g.rdb$config_name) = upper('MaxParallelWorkers')")
2025-02-25 14:28:32.384 for r in cur:
2025-02-25 14:28:32.391 max_parallel_wrk = int(r[0])
2025-02-25 14:28:32.398
2025-02-25 14:28:32.407 assert max_parallel_wrk > 1, "Config parameter 'MaxParallelWorkers' must have value greater than 1"
2025-02-25 14:28:32.413
2025-02-25 14:28:32.420 act.gbak(switches=['-b', str(act.db.dsn), str(tmp_fbk)])
2025-02-25 14:28:32.428
2025-02-25 14:28:32.437 for iter in ('embedded', 'no_use_svc','using_svc'):
2025-02-25 14:28:32.444 with open(tmp_log,'w') as f:
2025-02-25 14:28:32.450 if iter == 'embedded':
2025-02-25 14:28:32.462 subprocess.call( [
2025-02-25 14:28:32.469 act.vars['gbak']
2025-02-25 14:28:32.482 ,'-rep'
2025-02-25 14:28:32.494 ,'-v'
2025-02-25 14:28:32.504 ,'-par', str(max_parallel_wrk+1)
2025-02-25 14:28:32.512 ,tmp_fbk
2025-02-25 14:28:32.519 ,tmp_res
2025-02-25 14:28:32.534 ]
2025-02-25 14:28:32.546 ,stdout = f, stderr = subprocess.STDOUT
2025-02-25 14:28:32.555 )
2025-02-25 14:28:32.563 elif iter == 'no_use_svc':
2025-02-25 14:28:32.577 subprocess.call( [
2025-02-25 14:28:32.589 act.vars['gbak']
2025-02-25 14:28:32.598 ,'-rep'
2025-02-25 14:28:32.611 ,'-user', act.db.user
2025-02-25 14:28:32.622 ,'-pass', act.db.password
2025-02-25 14:28:32.633 ,'-v'
2025-02-25 14:28:32.645 ,'-par', str(max_parallel_wrk+1)
2025-02-25 14:28:32.657 ,tmp_fbk
2025-02-25 14:28:32.668 ,'localhost:' + str(tmp_res)
2025-02-25 14:28:32.677 ]
2025-02-25 14:28:32.685 ,stdout = f, stderr = subprocess.STDOUT
2025-02-25 14:28:32.700 )
2025-02-25 14:28:32.713 else:
2025-02-25 14:28:32.722 subprocess.call( [
2025-02-25 14:28:32.735 act.vars['gbak']
2025-02-25 14:28:32.751 ,'-rep'
2025-02-25 14:28:32.759 ,'-user', act.db.user
2025-02-25 14:28:32.769 ,'-pass', act.db.password
2025-02-25 14:28:32.780 ,'-v'
2025-02-25 14:28:32.790 ,'-par', str(max_parallel_wrk+1)
2025-02-25 14:28:32.801 ,'-se', 'localhost:service_mgr'
2025-02-25 14:28:32.812 ,tmp_fbk
2025-02-25 14:28:32.827 ,tmp_res
2025-02-25 14:28:32.839 ]
2025-02-25 14:28:32.853 ,stdout = f, stderr = subprocess.STDOUT
2025-02-25 14:28:32.867 )
2025-02-25 14:28:32.881 print(f'iter: {iter}')
2025-02-25 14:28:32.895 with open(tmp_log,'r') as f:
2025-02-25 14:28:32.906 for line in f:
2025-02-25 14:28:32.919 print(line)
2025-02-25 14:28:32.929
2025-02-25 14:28:32.941 act.expected_stdout = f"""
2025-02-25 14:28:32.951 iter: {iter}
2025-02-25 14:28:32.967 gbak: WARNING:Wrong parallel workers value {max_parallel_wrk+1}, valid range are from 1 to {max_parallel_wrk}
2025-02-25 14:28:32.979 """
2025-02-25 14:28:32.987
2025-02-25 14:28:32.994 act.stdout = capsys.readouterr().out
2025-02-25 14:28:33.006 >           assert act.clean_stdout == act.clean_expected_stdout
2025-02-25 14:28:33.017 E           assert
2025-02-25 14:28:33.026 E               iter: no_use_svc
2025-02-25 14:28:33.039 E             - gbak: WARNING:Wrong parallel workers value 3, valid range are from 1 to 2
2025-02-25 14:28:33.048
2025-02-25 14:28:33.057 tests/functional/tabloid/test_333be4bf.py:111: AssertionError
2025-02-25 14:28:33.069 ---------------------------- Captured stdout setup -----------------------------
2025-02-25 14:28:33.083 Creating db: localhost:/var/tmp/qa_2024/test_12271/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
3 #text
act = <firebird.qa.plugin.Action pytest object at [hex]>
tmp_fbk = PosixPath('/var/tmp/qa_2024/test_12271/tmp_333be4bf.fbk')
tmp_res = PosixPath('/var/tmp/qa_2024/test_12271/tmp_333be4bf.fdb')
tmp_log = PosixPath('/var/tmp/qa_2024/test_12271/tmp_333be4bf.log')
capsys = <_pytest.capture.CaptureFixture pytest object at [hex]>

    @pytest.mark.version('>=5.0')
    def test_1(act: Action, tmp_fbk: Path, tmp_res: Path, tmp_log: Path, capsys):
    
        max_parallel_wrk = -1
        with act.db.connect() as con:
            cur = con.cursor()
            cur.execute("select g.rdb$config_value from rdb$config g where upper(g.rdb$config_name) = upper('MaxParallelWorkers')")
            for r in cur:
                max_parallel_wrk = int(r[0])
    
        assert max_parallel_wrk > 1, "Config parameter 'MaxParallelWorkers' must have value greater than 1"
    
        act.gbak(switches=['-b', str(act.db.dsn), str(tmp_fbk)])
    
        for iter in ('embedded', 'no_use_svc','using_svc'):
            with open(tmp_log,'w') as f:
                if iter == 'embedded':
                    subprocess.call( [
                                        act.vars['gbak']
                                       ,'-rep'
                                       ,'-v'
                                       ,'-par', str(max_parallel_wrk+1)
                                       ,tmp_fbk
                                       ,tmp_res
                                     ]
                                     ,stdout = f, stderr = subprocess.STDOUT
                                   )
                elif iter == 'no_use_svc':
                    subprocess.call( [
                                        act.vars['gbak']
                                       ,'-rep'
                                       ,'-user', act.db.user
                                       ,'-pass', act.db.password
                                       ,'-v'
                                       ,'-par', str(max_parallel_wrk+1)
                                       ,tmp_fbk
                                       ,'localhost:' + str(tmp_res)
                                     ]
                                     ,stdout = f, stderr = subprocess.STDOUT
                                   )
                else:
                    subprocess.call( [
                                        act.vars['gbak']
                                       ,'-rep'
                                       ,'-user', act.db.user
                                       ,'-pass', act.db.password
                                       ,'-v'
                                       ,'-par', str(max_parallel_wrk+1)
                                       ,'-se', 'localhost:service_mgr'
                                       ,tmp_fbk
                                       ,tmp_res
                                     ]
                                     ,stdout = f, stderr = subprocess.STDOUT
                                   )
            print(f'iter: {iter}')
            with open(tmp_log,'r') as f:
                for line in f:
                    print(line)
    
            act.expected_stdout = f"""
                iter: {iter}
                gbak: WARNING:Wrong parallel workers value {max_parallel_wrk+1}, valid range are from 1 to {max_parallel_wrk}
            """
    
            act.stdout = capsys.readouterr().out
>           assert act.clean_stdout == act.clean_expected_stdout
E           assert   
E               iter: no_use_svc
E             - gbak: WARNING:Wrong parallel workers value 3, valid range are from 1 to 2

tests/functional/tabloid/test_333be4bf.py:111: AssertionError
Full history of outcomes and elapsed time, ms:
NN SNAP_INFO CS_outcome SS_outcome CS_run_time SS_run_time CS_run_beg CS_run_end SS_run_beg SS_run_end
1 5.0.3.1657 2025.06.19 4bd4c F F 1520 976 2025.06.27 12:35:42.051 2025.06.27 12:35:43.571 2025.06.27 11:12:31.778 2025.06.27 11:12:32.754
2 5.0.3.1657 2025.06.11 dae6f F F 1603 1018 2025.06.17 07:40:46.816 2025.06.17 07:40:48.419 2025.06.17 06:16:31.340 2025.06.17 06:16:32.358
3 5.0.3.1657 2025.06.10 dbc92 F F 1595 1147 2025.06.11 12:31:48.642 2025.06.11 12:31:50.237 2025.06.11 10:59:30.498 2025.06.11 10:59:31.645
4 5.0.3.1656 2025.05.20 c4b11 F F 1623 1081 2025.06.10 12:25:32.911 2025.06.10 12:25:34.534 2025.06.10 10:57:03.602 2025.06.10 10:57:04.683
5 5.0.3.1652 2025.05.13 f51c6 F F 1802 1093 2025.05.20 05:30:55.961 2025.05.20 05:30:57.763 2025.05.20 03:50:05.077 2025.05.20 03:50:06.170
6 5.0.3.1651 2025.04.30 141ef F F 1830 1183 2025.05.13 12:29:04.895 2025.05.13 12:29:06.725 2025.05.13 10:47:00.257 2025.05.13 10:47:01.440
7 5.0.3.1650 2025.04.28 4cbff F F 1807 1071 2025.05.01 12:02:46.010 2025.05.01 12:02:47.817 2025.05.01 10:21:41.039 2025.05.01 10:21:42.110
8 5.0.3.1649 2025.04.21 5b2d0 F F 1596 1080 2025.04.28 06:00:27.129 2025.04.28 06:00:28.725 2025.04.28 04:21:14.377 2025.04.28 04:21:15.457
9 5.0.3.1648 2025.04.18 2f4c5 F F 1776 1170 2025.04.20 05:52:10.059 2025.04.20 05:52:11.835 2025.04.20 04:15:29.984 2025.04.20 04:15:31.154
10 5.0.3.1635 2025.03.31 22ec6 F F 1885 1182 2025.04.18 12:15:18.613 2025.04.18 12:15:20.498 2025.04.18 10:34:55.122 2025.04.18 10:34:56.304
11 5.0.3.1633 2025.03.28 3123a F F 1846 1086 2025.03.31 10:48:14.584 2025.03.31 10:48:16.430 2025.03.31 09:14:42.219 2025.03.31 09:14:43.305
12 5.0.3.1633 2025.03.27 e0fb8 F F 1794 1373 2025.03.28 11:23:50.329 2025.03.28 11:23:52.123 2025.03.28 09:48:35.553 2025.03.28 09:48:36.926
13 5.0.3.1631 2025.03.21 1925b F F 1717 1032 2025.03.27 11:11:27.339 2025.03.27 11:11:29.056 2025.03.27 09:35:50.870 2025.03.27 09:35:51.902
14 5.0.3.1628 2025.03.14 16d05 F F 405388 411086 2025.03.17 08:45:24.553 2025.03.17 08:52:09.941 2025.03.17 07:00:35.410 2025.03.17 07:07:26.496
15 5.0.3.1627 2025.02.26 4e218 F F 431273 179039 2025.03.14 11:59:40.622 2025.03.14 12:06:51.895 2025.03.14 10:14:00.799 2025.03.14 10:16:59.838
16 5.0.3.1624 2025.02.25 dc3b2 F F 362977 364065 2025.02.26 10:50:00.719 2025.02.26 10:56:03.696 2025.02.26 09:09:31.360 2025.02.26 09:15:35.425
17 5.0.2.1615 2025.02.20 4a726 F F 365115 360746 2025.02.25 11:16:20.538 2025.02.25 11:22:25.653 2025.02.25 09:34:44.222 2025.02.25 09:40:44.968
18 5.0.2.1615 2025.02.14 9cb76 F F 354287 362390 2025.02.20 08:05:33.725 2025.02.20 08:11:28.012 2025.02.20 06:27:36.577 2025.02.20 06:33:38.967
19 5.0.2.1577 2024.12.24 3c80e F F 317811 331814 2025.02.14 11:19:57.349 2025.02.14 11:25:15.160 2025.02.14 09:41:08.590 2025.02.14 09:46:40.404
20 5.0.2.1576 2024.12.17 646b0 F F 178556 179619 2024.12.24 20:39:16.019 2024.12.24 20:42:14.575 2024.12.24 17:24:25.046 2024.12.24 17:27:24.665
21 5.0.2.1575 2024.12.08 63d39 F F 176816 176212 2024.12.16 08:20:22.879 2024.12.16 08:23:19.695 2024.12.16 07:07:01.731 2024.12.16 07:09:57.943
22 5.0.2.1567 2024.11.26 56e63 F F 180575 181790 2024.12.04 08:00:48.849 2024.12.04 08:03:49.424 2024.12.04 06:45:43.057 2024.12.04 06:48:44.847
23 5.0.2.1567 2024.11.21 96f61 F F 171808 175699 2024.11.26 05:42:16.873 2024.11.26 05:45:08.681 2024.11.26 04:30:41.512 2024.11.26 04:33:37.211
24 5.0.2.1567 2024.11.18 e1289 F F 181481 182188 2024.11.21 07:46:38.890 2024.11.21 07:49:40.371 2024.11.21 06:35:50.290 2024.11.21 06:38:52.478
25 5.0.2.1533 2024.10.23 0ec43 F F 194450 192466 2024.11.18 08:03:08.337 2024.11.18 08:06:22.787 2024.11.18 06:50:10.646 2024.11.18 06:53:23.112
26 5.0.2.1533 2024.10.22 8af7a F F 192180 188410 2024.10.23 10:00:19.808 2024.10.23 10:03:31.988 2024.10.23 08:46:10.433 2024.10.23 08:49:18.843
27 5.0.2.1532 2024.10.15 36dc0 F F 193229 194723 2024.10.22 20:12:07.950 2024.10.22 20:15:21.179 2024.10.22 18:58:25.888 2024.10.22 19:01:40.611
28 5.0.2.1518 2024.10.04 259ba F F 194275 194220 2024.10.15 09:45:54.028 2024.10.15 09:49:08.303 2024.10.15 08:31:53.624 2024.10.15 08:35:07.844
29 5.0.2.1518 2024.09.26 703cd F F 193538 195183 2024.10.03 08:13:24.126 2024.10.03 08:16:37.664 2024.10.03 06:57:10.493 2024.10.03 07:00:25.676
30 5.0.2.1489 2024.09.05 40838 F F 194428 192151 2024.09.25 08:14:21.132 2024.09.25 08:17:35.560 2024.09.25 06:57:16.151 2024.09.25 07:00:28.302
31 5.0.2.1489 2024.08.31 994a6 F F 179258 180579 2024.09.05 12:33:08.759 2024.09.05 12:36:08.017 2024.09.05 10:43:10.311 2024.09.05 10:46:10.890
32 5.0.2.1476 2024.08.09 843ea F F 4586 3465 2024.08.31 15:08:34.891 2024.08.31 15:08:39.477 2024.08.31 12:51:21.122 2024.08.31 12:51:24.587
33 5.0.1.1454 2024.08.08 30f9f F F 3096 2251 2024.08.09 08:53:35.260 2024.08.09 08:53:38.356 2024.08.09 07:35:45.514 2024.08.09 07:35:47.765
34 5.0.1.1453 2024.08.06 1b9d0 F F 3049 2241 2024.08.08 21:31:59.120 2024.08.08 21:32:02.169 2024.08.08 20:14:08.879 2024.08.08 20:14:11.120
35 5.0.1.1453 2024.07.30 48044 F F 2758 2020 2024.08.06 07:32:13.093 2024.08.06 07:32:15.851 2024.08.06 06:24:33.662 2024.08.06 06:24:35.682
36 5.0.1.1453 2024.07.28 8d956 F F 2963 2002 2024.07.30 07:26:12.984 2024.07.30 07:26:15.947 2024.07.30 06:19:32.952 2024.07.30 06:19:34.954
37 5.0.1.1429 2024.07.19 8ee90 F F 2771 2069 2024.07.27 07:26:16.512 2024.07.27 07:26:19.283 2024.07.27 06:18:48.719 2024.07.27 06:18:50.788
38 5.0.1.1428 2024.07.15 00392 F F 531 320 2024.07.19 07:19:14.365 2024.07.19 07:19:14.896 2024.07.19 06:13:05.466 2024.07.19 06:13:05.786
39 5.0.1.1428 2024.06.30 67a31 F F 519 265 2024.07.15 07:20:48.240 2024.07.15 07:20:48.759 2024.07.15 06:14:10.449 2024.07.15 06:14:10.714
40 5.0.1.1415 2024.06.11 31d74 F F 460 302 2024.06.22 07:07:48.923 2024.06.22 07:07:49.383 2024.06.22 06:04:03.261 2024.06.22 06:04:03.563

Elapsed time, ms. Chart for last 40 runs:

Last commits information (all timestamps in UTC):