Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional pipeline test failure on postgres #4652

Open
knolleary opened this issue Oct 16, 2024 · 0 comments
Open

Occasional pipeline test failure on postgres #4652

knolleary opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working size:XS - 1 Sizing estimation point
Milestone

Comments

@knolleary
Copy link
Member

We have had a couple test run failures on postgres with the following test. It is a timing issue as it has only happened a couple times (to my knowledge).

I suspect there's an async action updating the isDeploying flag in parallel to the query of the state - leading to non-deterministic result.

1) Pipelines API
       Deploy Pipeline Stage
         With action=use_latest_snapshot
           For instance=>device group
             Copies the existing instance snapshot to the next stages device group:
     AssertionError: expected Object {
  id: 'B9kj4VeLZP',
  name: 'device-group-b',
  description: 'an unnamed device group',
  deviceCount: 1,
  targetMatchCount: 0,
  activeMatchCount: 0,
  developerModeCount: 0,
  runningCount: 0,
  isDeploying: false,
  hasTargetSnapshot: false
} to have property isDeploying of true (got false)
      at Assertion.fail (node_modules/should/cjs/should.js:275:17)
      at Assertion.value [as property] (node_modules/should/cjs/should.js:356:19)
      at Context.<anonymous> (test/unit/forge/ee/routes/api/pipeline_spec.js:2490:49)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@knolleary knolleary added bug Something isn't working size:XS - 1 Sizing estimation point labels Oct 16, 2024
@knolleary knolleary added this to the 2.10 milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:XS - 1 Sizing estimation point
Projects
Status: Todo
Development

No branches or pull requests

1 participant