Project

Profile

Help

Issue #5811

ansible-pulp CI fails due to idempotence test taking 10+ mins

Added by mdepaulo@redhat.com about 1 year ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
Sprint:
Quarter:

Description

ansible-pulp CI is failing on the idempotence test.

Travis errors because there is no stdout or stderr for 10 minutes. The idempotence test runs the entire play, but shows no ouptut during it, so it can take over 10 mins.

It may be that Travis is running especially slow and therefore causing this.

Associated revisions

Revision fbb5f2f8 View on GitHub
Added by Mike DePaulo about 1 year ago

Problem: ansible-pulp CI fails due to idempotence test taking 10+ mins

Solution: Use a travis_wait of 20 mins for the idempotence test.

Implementation includes:

  1. Calling the molecule scenarios & test sequences individually
  2. Not calling cleanup or destroy at the end (never needed, and interfere with Travis debugging anyway.)
  3. Using a defaults-to-empty-string TRAVIS_WAIT env var in tox.ini .
  4. Installing an open source go binary, travis-wait-enhanced. (travis_wait is a bash function, so it cannot be used inside tox.)

Fixes: #5811 https://pulp.plan.io/issues/5811 ansible-pulp CI fails due to idempotence test taking 10+ mins

Revision fbb5f2f8 View on GitHub
Added by Mike DePaulo about 1 year ago

Problem: ansible-pulp CI fails due to idempotence test taking 10+ mins

Solution: Use a travis_wait of 20 mins for the idempotence test.

Implementation includes:

  1. Calling the molecule scenarios & test sequences individually
  2. Not calling cleanup or destroy at the end (never needed, and interfere with Travis debugging anyway.)
  3. Using a defaults-to-empty-string TRAVIS_WAIT env var in tox.ini .
  4. Installing an open source go binary, travis-wait-enhanced. (travis_wait is a bash function, so it cannot be used inside tox.)

Fixes: #5811 https://pulp.plan.io/issues/5811 ansible-pulp CI fails due to idempotence test taking 10+ mins

History

#1 Updated by Anonymous about 1 year ago

  • Status changed from NEW to MODIFIED

#2 Updated by fao89 about 1 year ago

  • Tags CI/CD added
  • Tags deleted (Pulp 3 installer)

#3 Updated by bmbouter about 1 year ago

  • Sprint/Milestone set to 3.0.0

#4 Updated by bmbouter about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF