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:

2024-12-16 11:28:22.470
2024-12-16 11:28:22.475 act = <firebird.qa.plugin.Action object at [hex]>
2024-12-16 11:28:22.480 tmp_fbk = PosixPath('/var/tmp/qa_2024/test_12261/tmp_333be4bf.fbk')
2024-12-16 11:28:22.485 tmp_res = PosixPath('/var/tmp/qa_2024/test_12261/tmp_333be4bf.fdb')
2024-12-16 11:28:22.497 tmp_log = PosixPath('/var/tmp/qa_2024/test_12261/tmp_333be4bf.log')
2024-12-16 11:28:22.504 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2024-12-16 11:28:22.513
2024-12-16 11:28:22.521 @pytest.mark.version('>=5.0')
2024-12-16 11:28:22.528 def test_1(act: Action, tmp_fbk: Path, tmp_res: Path, tmp_log: Path, capsys):
2024-12-16 11:28:22.535
2024-12-16 11:28:22.542 max_parallel_wrk = -1
2024-12-16 11:28:22.553 with act.db.connect() as con:
2024-12-16 11:28:22.560 cur = con.cursor()
2024-12-16 11:28:22.565 cur.execute("select g.rdb$config_value from rdb$config g where upper(g.rdb$config_name) = upper('MaxParallelWorkers')")
2024-12-16 11:28:22.570 for r in cur:
2024-12-16 11:28:22.575 max_parallel_wrk = int(r[0])
2024-12-16 11:28:22.584
2024-12-16 11:28:22.591 assert max_parallel_wrk > 1, "Config parameter 'MaxParallelWorkers' must have value greater than 1"
2024-12-16 11:28:22.597
2024-12-16 11:28:22.602 act.gbak(switches=['-b', str(act.db.dsn), str(tmp_fbk)])
2024-12-16 11:28:22.609
2024-12-16 11:28:22.616 for iter in ('embedded', 'no_use_svc','using_svc'):
2024-12-16 11:28:22.621 with open(tmp_log,'w') as f:
2024-12-16 11:28:22.625 if iter == 'embedded':
2024-12-16 11:28:22.630 subprocess.call( [
2024-12-16 11:28:22.636 act.vars['gbak']
2024-12-16 11:28:22.641 ,'-rep'
2024-12-16 11:28:22.646 ,'-v'
2024-12-16 11:28:22.652 ,'-par', str(max_parallel_wrk+1)
2024-12-16 11:28:22.657 ,tmp_fbk
2024-12-16 11:28:22.662 ,tmp_res
2024-12-16 11:28:22.667 ]
2024-12-16 11:28:22.673 ,stdout = f, stderr = subprocess.STDOUT
2024-12-16 11:28:22.677 )
2024-12-16 11:28:22.683 elif iter == 'no_use_svc':
2024-12-16 11:28:22.693 subprocess.call( [
2024-12-16 11:28:22.700 act.vars['gbak']
2024-12-16 11:28:22.706 ,'-rep'
2024-12-16 11:28:22.717 ,'-user', act.db.user
2024-12-16 11:28:22.724 ,'-pass', act.db.password
2024-12-16 11:28:22.730 ,'-v'
2024-12-16 11:28:22.735 ,'-par', str(max_parallel_wrk+1)
2024-12-16 11:28:22.740 ,tmp_fbk
2024-12-16 11:28:22.746 ,'localhost:' + str(tmp_res)
2024-12-16 11:28:22.752 ]
2024-12-16 11:28:22.757 ,stdout = f, stderr = subprocess.STDOUT
2024-12-16 11:28:22.762 )
2024-12-16 11:28:22.767 else:
2024-12-16 11:28:22.772 subprocess.call( [
2024-12-16 11:28:22.777 act.vars['gbak']
2024-12-16 11:28:22.783 ,'-rep'
2024-12-16 11:28:22.791 ,'-user', act.db.user
2024-12-16 11:28:22.798 ,'-pass', act.db.password
2024-12-16 11:28:22.803 ,'-v'
2024-12-16 11:28:22.808 ,'-par', str(max_parallel_wrk+1)
2024-12-16 11:28:22.815 ,'-se', 'localhost:service_mgr'
2024-12-16 11:28:22.822 ,tmp_fbk
2024-12-16 11:28:22.828 ,tmp_res
2024-12-16 11:28:22.834 ]
2024-12-16 11:28:22.840 ,stdout = f, stderr = subprocess.STDOUT
2024-12-16 11:28:22.845 )
2024-12-16 11:28:22.849 print(f'iter: {iter}')
2024-12-16 11:28:22.855 with open(tmp_log,'r') as f:
2024-12-16 11:28:22.860 for line in f:
2024-12-16 11:28:22.865 print(line)
2024-12-16 11:28:22.870
2024-12-16 11:28:22.875 act.expected_stdout = f"""
2024-12-16 11:28:22.882 iter: {iter}
2024-12-16 11:28:22.888 gbak: WARNING:Wrong parallel workers value {max_parallel_wrk+1}, valid range are from 1 to {max_parallel_wrk}
2024-12-16 11:28:22.893 """
2024-12-16 11:28:22.898
2024-12-16 11:28:22.903 act.stdout = capsys.readouterr().out
2024-12-16 11:28:22.910 >           assert act.clean_stdout == act.clean_expected_stdout
2024-12-16 11:28:22.916 E           assert
2024-12-16 11:28:22.921 E               iter: no_use_svc
2024-12-16 11:28:22.927 E             - gbak: WARNING:Wrong parallel workers value 3, valid range are from 1 to 2
2024-12-16 11:28:22.933
2024-12-16 11:28:22.939 tests/functional/tabloid/test_333be4bf.py:111: AssertionError
2024-12-16 11:28:22.947 ---------------------------- Captured stdout setup -----------------------------
2024-12-16 11:28:22.955 Creating db: localhost:/var/tmp/qa_2024/test_12261/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_12261/tmp_333be4bf.fbk')
tmp_res = PosixPath('/var/tmp/qa_2024/test_12261/tmp_333be4bf.fdb')
tmp_log = PosixPath('/var/tmp/qa_2024/test_12261/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.1674 2025.06.27 3ee5c F F 1552 875 2025.06.30 13:03:37.471 2025.06.30 13:03:39.023 2025.06.30 11:38:37.612 2025.06.30 11:38:38.487
2 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
3 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
4 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
5 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
6 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
7 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
8 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
9 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
10 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
11 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
12 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
13 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
14 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
15 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
16 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
17 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
18 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
19 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
20 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
21 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
22 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
23 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
24 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
25 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
26 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
27 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
28 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
29 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
30 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
31 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
32 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
33 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
34 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
35 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
36 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
37 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
38 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
39 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
40 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
41 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 41 runs:

Last commits information (all timestamps in UTC):