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

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

I have seen similar problems as in GHA in ClearLinux. The rr debugger does not 
work on GHA (due to CPU perf counters not being accessible). On ClearLinux, rr 
did not help, the program was unable to find the record in the sasldb, but when 
I wrote a C program that located the same key, that worked.

One common characteristics of broken envs (ClearLinux and GHA) is that hostname 
!= hostname --fqdn, while on the working envs (my work laptop and docker) this 
is the case. I did not look what is the situation on Travis...

> system_tests_authz_service_plugin mysteriously broken on GitHub Actions CI
> --------------------------------------------------------------------------
>
>                 Key: DISPATCH-2078
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2078
>             Project: Qpid Dispatch
>          Issue Type: Test
>    Affects Versions: 1.16.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>
> https://github.com/apache/qpid-dispatch/runs/2426474351#step:9:2155
> {noformat}
> 43: <<<<
> 43: test_authorized 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest) ... FAIL
> 43: test_dynamic_source_anonymous_sender 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest) ... FAIL
> 43: test_unauthorized 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest) ... FAIL
> 43: test_unauthorized_anonymous_sender_target 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest) ... FAIL
> 43: test_wildcard 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest) ... FAIL
> 43: 
> 43: Router router output file:
> 43: >>>>
> 43: 2021-04-24 11:12:31.013358 +0000 AGENT (warning) Attribute 
> 'saslConfigPath' of entity 'router' has been deprecated. Use 'saslConfigDir' 
> instead
> 43: -----------------------------------------------------
> 43: Suppressions used:
> 43:   count      bytes template
> 43:       1          7 ^load_server_config$
> 43:       1         32 ^qd_policy_c_counts_alloc$
> 43:       1         56 qdr_core_subscribe
> 43:      12       6656 ^_PyObject_Realloc
> 43:     550     870562 ^PyObject_Malloc$
> 43:       1         32 ^PyThread_allocate_lock$
> 43:       4       9897 ^PyMem_Malloc$
> 43:       1        856 ^_PyObject_GC_Resize$
> 43: -----------------------------------------------------
> 43: 
> 43: 
> 43: <<<<
> 43: 
> 43: ======================================================================
> 43: FAIL: test_authorized 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 97, in test_authorized
> 43:     self.assertEqual(1, client.sent)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_dynamic_source_anonymous_sender 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 129, in test_dynamic_source_anonymous_sender
> 43:     self.assertEqual(1, client.accepted)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_unauthorized 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 109, in test_unauthorized
> 43:     self.assertEqual(2, len(client.errors))
> 43: AssertionError: 2 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_unauthorized_anonymous_sender_target 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 140, in test_unauthorized_anonymous_sender_target
> 43:     self.assertEqual(1, client.rejected)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_wildcard 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzDeprecatedTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 119, in test_wildcard
> 43:     self.assertEqual(1, client.sent)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_authorized 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 97, in test_authorized
> 43:     self.assertEqual(1, client.sent)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_dynamic_source_anonymous_sender 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 129, in test_dynamic_source_anonymous_sender
> 43:     self.assertEqual(1, client.accepted)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_unauthorized 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 109, in test_unauthorized
> 43:     self.assertEqual(2, len(client.errors))
> 43: AssertionError: 2 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_unauthorized_anonymous_sender_target 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 140, in test_unauthorized_anonymous_sender_target
> 43:     self.assertEqual(1, client.rejected)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ======================================================================
> 43: FAIL: test_wildcard 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest)
> 43: ----------------------------------------------------------------------
> 43: Traceback (most recent call last):
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py",
>  line 924, in wrap
> 43:     return f(*args, **kwargs)
> 43:   File 
> "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_authz_service_plugin.py",
>  line 119, in test_wildcard
> 43:     self.assertEqual(1, client.sent)
> 43: AssertionError: 1 != 0
> 43: 
> 43: ----------------------------------------------------------------------
> 43: Ran 10 tests in 1.552s
> 43: 
> 43: FAILED (failures=10)
> 21/38 Test #43: system_tests_authz_service_plugin ..............***Failed    
> 1.67 sec
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to