[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-07-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17565362#comment-17565362
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit e253b1daad0a1c020a0ad8c213db5525ab72707a in qpid-dispatch's branch 
refs/heads/dependabot/github_actions/actions/upload-artifact-3 from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=e253b1da ]

DISPATCH-1689 Wait for startup log line to ensure router is fully started in 
tests (#140)


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-07-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17565363#comment-17565363
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit 8ca8f46519bd25ab6ab6f45549ca47013ef268b4 in qpid-dispatch's branch 
refs/heads/dependabot/github_actions/actions/upload-artifact-3 from Kenneth 
Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=8ca8f465 ]

DISPATCH-1689: fix typo in log index key


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-06-15 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17554710#comment-17554710
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit 8ca8f46519bd25ab6ab6f45549ca47013ef268b4 in qpid-dispatch's branch 
refs/heads/dependabot/npm_and_yarn/console/react/react-scripts-5.0.1 from 
Kenneth Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=8ca8f465 ]

DISPATCH-1689: fix typo in log index key


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-06-15 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17554709#comment-17554709
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit e253b1daad0a1c020a0ad8c213db5525ab72707a in qpid-dispatch's branch 
refs/heads/dependabot/npm_and_yarn/console/react/react-scripts-5.0.1 from Jiri 
Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=e253b1da ]

DISPATCH-1689 Wait for startup log line to ensure router is fully started in 
tests (#140)


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-06-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17545566#comment-17545566
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit e253b1daad0a1c020a0ad8c213db5525ab72707a in qpid-dispatch's branch 
refs/heads/dependabot/github_actions/actions/checkout-3.0.2 from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=e253b1da ]

DISPATCH-1689 Wait for startup log line to ensure router is fully started in 
tests (#140)


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-06-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17545567#comment-17545567
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit 8ca8f46519bd25ab6ab6f45549ca47013ef268b4 in qpid-dispatch's branch 
refs/heads/dependabot/github_actions/actions/checkout-3.0.2 from Kenneth Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=8ca8f465 ]

DISPATCH-1689: fix typo in log index key


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-05-16 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17537540#comment-17537540
 ] 

ASF GitHub Bot commented on DISPATCH-1689:
--

jiridanek opened a new pull request, #1564:
URL: https://github.com/apache/qpid-dispatch/pull/1564

   This is a backport from
   
   * https://github.com/skupperproject/skupper-router/pull/140
   * https://github.com/skupperproject/skupper-router/pull/187




> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-05-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17537543#comment-17537543
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit 8ca8f46519bd25ab6ab6f45549ca47013ef268b4 in qpid-dispatch's branch 
refs/heads/main from Kenneth Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=8ca8f465 ]

DISPATCH-1689: fix typo in log index key


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-05-16 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17537541#comment-17537541
 ] 

ASF GitHub Bot commented on DISPATCH-1689:
--

jiridanek merged PR #1564:
URL: https://github.com/apache/qpid-dispatch/pull/1564




> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-05-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17537542#comment-17537542
 ] 

ASF subversion and git services commented on DISPATCH-1689:
---

Commit e253b1daad0a1c020a0ad8c213db5525ab72707a in qpid-dispatch's branch 
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=e253b1da ]

DISPATCH-1689 Wait for startup log line to ensure router is fully started in 
tests (#140)


> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-05-16 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17537539#comment-17537539
 ] 

ASF GitHub Bot commented on DISPATCH-1689:
--

jiridanek closed pull request #1564: DISPATCH-1689 Wait for startup log line to 
ensure router is fully started in tests
URL: https://github.com/apache/qpid-dispatch/pull/1564




> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Assignee: Jiri Daněk
>Priority: Major
> Fix For: 1.20.0
>
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-05-06 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17532705#comment-17532705
 ] 

ASF GitHub Bot commented on DISPATCH-1689:
--

codecov-commenter commented on PR #1564:
URL: https://github.com/apache/qpid-dispatch/pull/1564#issuecomment-1119382822

   # 
[Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/1564?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#1564](https://codecov.io/gh/apache/qpid-dispatch/pull/1564?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (bdcdf04) into 
[main](https://codecov.io/gh/apache/qpid-dispatch/commit/b533ed930ff5fe7d55fec562b4480048a17a0e5d?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (b533ed9) will **decrease** coverage by `0.10%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@Coverage Diff @@
   ## main#1564  +/-   ##
   ==
   - Coverage   85.89%   85.78%   -0.11% 
   ==
 Files 110  110  
 Lines   2470124700   -1 
   ==
   - Hits2121721190  -27 
   - Misses   3484 3510  +26 
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/qpid-dispatch/pull/1564?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[src/server.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3NlcnZlci5j)
 | `86.29% <ø> (ø)` | |
   | 
[...router\_core/modules/edge\_router/link\_route\_proxy.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9yb3V0ZXIvbGlua19yb3V0ZV9wcm94eS5j)
 | `78.69% <0.00%> (-4.15%)` | :arrow_down: |
   | 
[src/router\_core/router\_core.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3JvdXRlcl9jb3JlL3JvdXRlcl9jb3JlLmM=)
 | `85.01% <0.00%> (-1.42%)` | :arrow_down: |
   | 
[src/router\_core/modules/edge\_router/edge\_mgmt.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9yb3V0ZXIvZWRnZV9tZ210LmM=)
 | `84.15% <0.00%> (-1.00%)` | :arrow_down: |
   | 
[src/router\_core/delivery.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3JvdXRlcl9jb3JlL2RlbGl2ZXJ5LmM=)
 | `92.97% <0.00%> (-0.56%)` | :arrow_down: |
   | 
[src/router\_core/forwarder.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3JvdXRlcl9jb3JlL2ZvcndhcmRlci5j)
 | `93.06% <0.00%> (-0.40%)` | :arrow_down: |
   | 
[src/router\_node.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3JvdXRlcl9ub2RlLmM=)
 | `92.97% <0.00%> (-0.20%)` | :arrow_down: |
   | 
[src/router\_core/connections.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL3JvdXRlcl9jb3JlL2Nvbm5lY3Rpb25zLmM=)
 | `86.88% <0.00%> (-0.20%)` | :arrow_down: |
   | 
[src/message.c](https://codecov.io/gh/apache/qpid-dispatch/pull/1564/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL21lc3NhZ2UuYw==)
 | `87.84% <0.00%> (-0.01%)` | :arrow_down: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/1564?src=pr=continue_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > 

[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-05-06 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17532680#comment-17532680
 ] 

ASF GitHub Bot commented on DISPATCH-1689:
--

jiridanek opened a new pull request, #1564:
URL: https://github.com/apache/qpid-dispatch/pull/1564

   This is a backport from
   
   * https://github.com/skupperproject/skupper-router/pull/140
   * https://github.com/skupperproject/skupper-router/pull/187




> [test] test framework can't handle qdrouter that is torn down too soon
> --
>
> Key: DISPATCH-1689
> URL: https://issues.apache.org/jira/browse/DISPATCH-1689
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Affects Versions: 1.12.0
>Reporter: Charles E. Rolke
>Priority: Major
>
> Demonstration steps:
>  # simple router is created with cls.tester.qdrouterd(..., wait=False)
>  # skip cls.router.wait_ready()
>  # run a test that executes quickly and creates no connection to the router
> Then default teardown will show something like:
> {noformat}
> 24: ERROR
> 24: 
> 24: ==
> 24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
> 24: --
> 24: Traceback (most recent call last):
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in 
> tearDownClass
> 24: cls.tester.teardown()
> 24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in 
> teardown
> 24: raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 24: RuntimeError: Errors during teardown: 
> 24: 
> 24: Process 65135 error: exit code -15, expected 0
> 24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
> 24: 
> /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
> 24: 
> 24: 
> {noformat}
>  The router did not crash and the test did nothing to cause a teardown issue. 
> Conversely the test can do nothing to fix the issue outside of a sleep.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

2022-01-29 Thread Jira


[ 
https://issues.apache.org/jira/browse/DISPATCH-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17484219#comment-17484219
 ] 

Jiri Daněk commented on DISPATCH-1689:
--

I haven't seen this one for a long time. This one crash could be it, returned 
after a while

https://github.com/jiridanek/qpid-dispatch/runs/4992641079?check_suite_focus=true#step:27:1815

{noformat}
25: Router QDR.Policy command file:
25: 
25: qdrouterd -c vhost-policy-config-hash-pattern.conf -I 
/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python
25: pid=2350
25: 
25: 
25: 
25: Router QDR.Policy log file tail:
25: 
25: 2022-01-29 18:48:46.429209 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/DEFAULT, infoCount=0, name=DEFAULT, noticeCount=0, 
traceCount=2, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.429428 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/ERROR, infoCount=0, name=ERROR, noticeCount=0, traceCount=0, 
type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.429622 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/PYTHON, infoCount=0, name=PYTHON, noticeCount=0, 
traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.429790 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/MESSAGE, infoCount=0, name=MESSAGE, noticeCount=0, 
traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.429951 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/MAIN, infoCount=0, name=MAIN, noticeCount=0, traceCount=0, 
type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.430112 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=26, errorCount=0, 
identity=logStats/AGENT, infoCount=0, name=AGENT, noticeCount=0, traceCount=0, 
type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.430281 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/POLICY, infoCount=0, name=POLICY, noticeCount=0, 
traceCount=1, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.430495 + AGENT (debug) Add entity: 
AllocatorEntity(batchesRebalancedToGlobal=0, batchesRebalancedToThreads=0, 
globalFreeListMax=0, heldByThreads=96, localFreeListMax=32, 
totalAllocFromHeap=96, totalFreeToHeap=0, transferBatchSize=16, 
type=org.apache.qpid.dispatch.allocator, typeName=qd_log_entry_t, 
typeSize=2112) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.430685 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/CONTAINER, infoCount=0, name=CONTAINER, noticeCount=0, 
traceCount=3, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.430849 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=2, errorCount=0, 
identity=logStats/HTTP, infoCount=0, name=HTTP, noticeCount=0, traceCount=18, 
type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.431013 + AGENT (debug) Add entity: 
LogStatsEntity(criticalCount=0, debugCount=0, errorCount=0, 
identity=logStats/TCP_ADAPTOR, infoCount=0, name=TCP_ADAPTOR, noticeCount=0, 
traceCount=0, type=org.apache.qpid.dispatch.logStats, warningCount=0) 
(/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:682)
25: 2022-01-29 18:48:46.431188