Project

Profile

Help

Issue #5811

closed

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

Added by mdepaulo@redhat.com almost 5 years ago. Updated almost 5 years 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.

Added by Mike DePaulo almost 5 years ago

Revision fbb5f2f8 | View on GitHub

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

Added by Mike DePaulo almost 5 years ago

Revision fbb5f2f8 | View on GitHub

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

Actions #1

Updated by Anonymous almost 5 years ago

  • Status changed from NEW to MODIFIED
Actions #2

Updated by fao89 almost 5 years ago

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

Updated by bmbouter almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #4

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF