eclipse-uprotocol / up-tck

uProtocol Test Compatibility Kit
Apache License 2.0
4 stars 16 forks source link

CI Test Randomly Fails #113

Open agosh01 opened 3 months ago

agosh01 commented 3 months ago

CI TCK test job is randomly failing.

Issue could way process are handled in after_all function

Run A

\\\\x02\\\\x08\\\\x03"}', 'test_id': '', 'action': 'onreceive', 'ue': 'cpp_1'}
INFO| tck_step_implementations.py:431 sender_sdk_name: cpp_1
INFO| environment.py:134 <dispatcher.dispatcher.Dispatcher object at 0x7fd0b0759fd0>
INFO| environment.py:136 Closing Dispatcher...
INFO| dispatcher.py:129 closing socket ('127.0.0.1', 43504)
Warning: 16 00:37:05.374] [warning] TestAgent::receiveFromTM(), no data received, exiting the CPP Test Agent ...
Warning: 16 00:37:05.375] [warning] TestAgent::receiveFromTM(), no data received, exiting the CPP Test Agent ...
INFO| dispatcher.py:129 closing socket ('127.0.0.1', 43496)
HOOK-ERROR in after_all: OSError: [Errno 9] Bad file descriptor

ABORTED: By user.
1 feature passed, 0 failed, 0 skipped
1 scenario passed, 0 failed, 0 skipped
12 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m2.041s

Run B

HOOK-ERROR in after_all: KeyError: <socket.socket [closed] fd=-1, family=2, type=1, proto=0>

ABORTED: By user.
1 feature passed, 0 failed, 0 skipped
2 scenarios passed, 0 failed, 0 skipped
18 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m1.046s
Error: Process completed with exit code 1.