Closed
Bug 1526705
Opened 6 years ago
Closed 6 years ago
[tc-queue] flaky test: expected a worker
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
References
Details
taskcluster-client Calling: listWorkers, retry: 0 +32ms
nock.common options.host: localhost +34ms
nock.common options.hostname in the end: "localhost" +0ms
nock.common options.host in the end: "localhost:60401" +0ms
nock.intercept interceptors for "localhost:60401" +34ms
nock.intercept filtering interceptors for basepath http://localhost:60401 +0ms
superagent GET http://localhost:60401/api/queue/v1/provisioners/prov1/worker-types/gecko-b-2-linux/workers +32ms
body-parser:text skip empty body +34ms
morgan log request +34ms
app:request GET /api/queue/v1/provisioners/prov1/worker-types/gecko-b-2-linux/workers 200 0.388 ms - 19 +34ms
taskcluster-lib-monitor measure taskcluster-queue.api.listWorkers.success at 0.556896 +33ms
taskcluster-lib-monitor count taskcluster-queue.api.listWorkers.success by 1 +1ms
taskcluster-lib-monitor measure taskcluster-queue.api.listWorkers.all at 0.556896 +0ms
taskcluster-lib-monitor count taskcluster-queue.api.listWorkers.all by 1 +0ms
taskcluster-lib-monitor measure taskcluster-queue.api.all,success at 0.556896 +0ms
taskcluster-lib-monitor count taskcluster-queue.api.all,success by 1 +0ms
superagent GET http://localhost:60401/api/queue/v1/provisioners/prov1/worker-types/gecko-b-2-linux/workers -> 200 +2ms
taskcluster-client Success calling: listWorkers, (0 retries) +2ms
1) workerSeen creates and updates a worker
99 passing (12s)
110 pending
1 failing
1) /home/dustin/p/taskcluster/services/queue/test/workerinfo_test.js (mock)
workerSeen creates and updates a worker:
AssertionError [ERR_ASSERTION]: expected a worker
+ expected - actual
-false
+true
at Context.test (test/workerinfo_test.js:313:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
| Assignee | ||
Comment 2•6 years ago
|
||
1) /taskcluster/services/queue/test/workerinfo_test.js (real)
worker-type seen creates and updates a worker-type:
AssertionError [ERR_ASSERTION]: expected a worker-type
+ expected - actual
-false
+true
at Context.test (test/workerinfo_test.js:182:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
| Assignee | ||
Comment 3•6 years ago
|
||
Looks like this is an idempotency issue. It occurs in mock, too.
| Assignee | ||
Comment 4•6 years ago
|
||
Not idempotency, happily :)
| Assignee | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•