Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

jumbotest_messenger_messenger_test timesout on jenkins #1319

Closed
eppingere opened this issue Nov 10, 2020 · 11 comments · Fixed by #1425 or #1472
Closed

jumbotest_messenger_messenger_test timesout on jenkins #1319

eppingere opened this issue Nov 10, 2020 · 11 comments · Fixed by #1425 or #1472
Labels
bug Something isn't working (correctness). Mark issues with this. infrastructure Infrastructure related issues or changes (CMake, dependencies, CI) tests This issue or PR concerns the testing infrastructure: Google Test, Google Benchmark, JUnit, etc.

Comments

@eppingere
Copy link
Member

eppingere commented Nov 10, 2020

jumbotest_messenger_messenger_test timesout on jenkins

Summary

http://jenkins.db.cs.cmu.edu:8080/blue/organizations/jenkins/terrier/detail/master/791/tests
It seems that the test times out. Potentially due to deadlock or other hangup.

Environment

OS: Ubuntu 20.04 (LTS)

Compiler: GCC 9.3 release

@eppingere eppingere added bug Something isn't working (correctness). Mark issues with this. infrastructure Infrastructure related issues or changes (CMake, dependencies, CI) tests This issue or PR concerns the testing infrastructure: Google Test, Google Benchmark, JUnit, etc. labels Nov 10, 2020
@crd477
Copy link
Collaborator

crd477 commented Nov 10, 2020

I think there is no output only because the test was terminated by timeout since it ran too long.

@eppingere
Copy link
Member Author

Wait did it? It took 50 mins and the timeout is an hour? Is the timeout short?

@crd477
Copy link
Collaborator

crd477 commented Nov 10, 2020

There appears to be a discrepancy between the Jenkins stage designation and the actual ctest invocation. The enforced timeout is apparently 3000 seconds. See the full pipeline stage results here:
http://jenkins.db.cs.cmu.edu:8080/blue/rest/organizations/jenkins/pipelines/terrier/branches/master/runs/791/nodes/47/log/?start=0

Specifically:

[0/1] cd /jenkins/workspace/terrier_master@3/build && ctest --resource-spec-file /jenkins/workspace/terrier_master@3/build-support/data/ctest_resource_specs.json -j 24 -L jumbotests --no-compress-output -T Test --timeout 3000
[...]
37/40 Test #162: jumbotest_messenger_messenger_test ...............***Timeout 3000.08 sec
[...]

@eppingere
Copy link
Member Author

Hmmmm ok i will update to be about the test timing out

@eppingere eppingere changed the title jumbotest_messenger_messenger_test fails with no meaningful output jumbotest_messenger_messenger_test timesout on jenkins Nov 10, 2020
@lmwnshn
Copy link
Contributor

lmwnshn commented Nov 10, 2020

I've been trying to debug this and haven't been able to reproduce it locally. It happened before too.

@lmwnshn
Copy link
Contributor

lmwnshn commented Dec 11, 2020

Today: it appears that sometimes this happens when there's a lingering port and it fails to bind one of the replicas.

@lmwnshn
Copy link
Contributor

lmwnshn commented Dec 29, 2020

In retrospect, I am dumb and there is a race condition especially in BasicListenTest where B tries to send before A is ready. Will be fixed in an upcoming PR that adds a spin_until_init() to each forked process + sets some ZeroMQ flags to only queue on completed connections + switch from indefinite send/recv blocking to a 1s timeout.

@lmwnshn
Copy link
Contributor

lmwnshn commented Dec 29, 2020

In general, the state of testing forked processes seems to be sad.

@lmwnshn
Copy link
Contributor

lmwnshn commented Jan 3, 2021

@linmagit
Copy link
Member

@linmagit linmagit reopened this Mar 11, 2021
@lmwnshn
Copy link
Contributor

lmwnshn commented May 24, 2021

This test no longer exists.

@lmwnshn lmwnshn closed this as completed May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working (correctness). Mark issues with this. infrastructure Infrastructure related issues or changes (CMake, dependencies, CI) tests This issue or PR concerns the testing infrastructure: Google Test, Google Benchmark, JUnit, etc.
Projects
None yet
4 participants