Flaky tests
Opened this issue · 2 comments
Danielius1922 commented
Reset at 3. 11. 2023:
Unit tests:
plgd/device tests:
- TestGetOwnerships:
https://github.com/iotivity/iotivity-lite/actions/runs/6747438705/job/18343604277
getOwnerships_test.go:41:
Error Trace: /go/src/github.com/plgd-dev/device/client/core/getOwnerships_test.go:41
/go/src/github.com/plgd-dev/device/client/core/getOwnerships_test.go:81
Error: Not equal:
expected: true
actual : false
Test: TestGetOwnerships
- TestClientGetDeviceParallel:
https://github.com/iotivity/iotivity-lite/actions/runs/6767646446/job/18390611397
getDevice_test.go:78:
Error Trace: /go/src/github.com/plgd-dev/device/client/core/getDevice_test.go:78
/usr/local/go/src/runtime/asm_amd64.s:1594
Error: Received unexpected error:
(NotFound) no response from the device with ip 10.1.0.11
Test: TestClientGetDeviceParallel
plgd/hub tests:
jkralik commented
- plgd/device tests:
https://github.com/iotivity/iotivity-lite/actions/runs/6220651171/job/16881087321?pr=532
coverage: 62.9% of statements in ./...
=== RUN TestClientGetDeviceByIPWithIP4
--- FAIL: TestClientGetDeviceByIPWithIP4 (10.00s)
panic: (Internal) no response from the device d3cea882-9a26-4c35-404f-5086237a24a3 [recovered]
panic: (Internal) no response from the device d3cea882-9a26-4c35-404f-5086237a24a3
jkralik commented
- cmake_linux (-DOC_DEBUG_ENABLED=ON) / unit-test-with-cfg:
https://github.com/iotivity/iotivity-lite/actions/runs/7031191165/job/19132301035?pr=569
5: [OC 2023-11-29T10:54:21.800334Z] ERROR: oc_swupdate.c:974 <oc_swupdate_dump>: swupdate: cannot dump data for device(0) to store: error(-2)
5: [OC 2023-11-29T10:54:22.006930Z] WARNING: oc_certs_validate.c:56 <validate_x509v1_fields>: certificate not yet active
5: /home/runner/work/iotivity-lite/iotivity-lite/security/unittest/obt_certstest.cpp:626: Failure
5: Value of: flags
5: Actual: 512
5: Expected: 0
5: [OC 2023-11-29T10:54:22.007015Z] ERROR: oc_store.c:76 <oc_sec_dump_doxm>: cannot dump doxm to storage: error(-2)
512 flag means that certificate will be valid in the future.