Created
August 31, 2022 20:31
-
-
Save chantra/3a890e90aac160f1dbcb6a90ae8fe33d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- tests/python/critical.before.log 2022-08-31 20:04:48.967528665 +0000 | |
+++ tests/python/critical.after.log 2022-08-31 20:20:18.838279086 +0000 | |
@@ -14,25 +14,21 @@ | |
" | |
CRITICAL:root:WARNING! Test test_brb2 (__main__.TestBPFSocket) failed, but marked as passed because it is decorated with @mayFail. | |
CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed | |
-CRITICAL:root: The failure was: "interface ns1a exists" | |
+CRITICAL:root: The failure was: "6 != 12" | |
CRITICAL:root: Stacktrace: "Traceback (most recent call last): | |
File "/bcc/tests/python/utils.py", line 36, in wrapper | |
res = func(*args, **kwargs) | |
- File "/bcc/tests/python/test_brb2.py", line 149, in test_brb2 | |
- (ns1_ipdb, self.ns1_eth_out, _) = sim._create_ns(self.ns1, ipaddr=self.vm1_ip+'/24', | |
- File "/bcc/tests/python/simulation.py", line 107, in _create_ns | |
- (ns_ipdb, out_ifc, in_ifc) = self._ns_add_ifc(name, "eth0", name, in_ifc, out_ifc, | |
- File "/bcc/tests/python/simulation.py", line 58, in _ns_add_ifc | |
- out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth", | |
- File "/usr/local/lib/python3.9/site-packages/pyroute2/ipdb/main.py", line 1171, in create | |
- return self.interfaces.add(kind, ifname, reuse, **kwarg) | |
- File "/usr/local/lib/python3.9/site-packages/pyroute2/ipdb/interfaces.py", line 1172, in add | |
- raise CreateException("interface %s exists" % | |
-pyroute2.ipdb.exceptions.CreateException: interface ns1a exists | |
+ File "/bcc/tests/python/test_brb2.py", line 177, in test_brb2 | |
+ self.assertEqual(self.pem_stats[c_uint(0)].value, 12) | |
+ File "/usr/lib64/python3.9/unittest/case.py", line 837, in assertEqual | |
+ assertion_func(first, second, msg=msg) | |
+ File "/usr/lib64/python3.9/unittest/case.py", line 830, in _baseAssertEqual | |
+ raise self.failureException(msg) | |
+AssertionError: 6 != 12 | |
" | |
CRITICAL:root:WARNING! Test test_simple (__main__.TestStackid) failed, but marked as passed because it is decorated with @mayFail. | |
CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed | |
-CRITICAL:root: The failure was: "c_int(1) not found in <bcc.table.HashTable object at 0x7fe164a1e7c0>" | |
+CRITICAL:root: The failure was: "c_int(1) not found in <bcc.table.HashTable object at 0x7f9d4af048e0>" | |
CRITICAL:root: Stacktrace: "Traceback (most recent call last): | |
File "/bcc/tests/python/utils.py", line 36, in wrapper | |
res = func(*args, **kwargs) | |
@@ -42,14 +38,14 @@ | |
self.fail(self._formatMessage(msg, standardMsg)) | |
File "/usr/lib64/python3.9/unittest/case.py", line 676, in fail | |
raise self.failureException(msg) | |
-AssertionError: c_int(1) not found in <bcc.table.HashTable object at 0x7fe164a1e7c0> | |
+AssertionError: c_int(1) not found in <bcc.table.HashTable object at 0x7f9d4af048e0> | |
" | |
CRITICAL:root:WARNING! Test test_attach_raw_event_x86 (__main__.TestPerfAttachRaw) failed, but marked as passed because it is decorated with @mayFail. | |
CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, hw perf events are not supported | |
CRITICAL:root: The failure was: "None" | |
CRITICAL:root: Stacktrace: "Traceback (most recent call last): | |
File "/bcc/tests/python/test_attach_perf_event.py", line 105, in test_attach_raw_event_x86 | |
- b.attach_perf_event_raw(attr=event_attr, fn_name="on_sample_hit", pid=-1, cpu=-1) | |
+ b.attach_perf_event_raw(attr=event_attr, fn_name=b"on_sample_hit", pid=-1, cpu=-1) | |
File "/bcc/build/src/python/bcc-python3/bcc/__init__.py", line 1261, in attach_perf_event_raw | |
res[i] = self._attach_perf_event_raw(fn.fd, attr, | |
File "/bcc/build/src/python/bcc-python3/bcc/__init__.py", line 1249, in _attach_perf_event_raw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment