Closed Bug 1527699 Opened 6 years ago Closed 6 years ago

"yarn generate" failures don't make the task fail

Categories

(Taskcluster :: Services, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

Details

[18:31:19] Generate References: fail: Error: /taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items.properties['conditions'] should have properties type, additionalProperties, required when property properties is present; /taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items should be array; /taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items should match some schema in anyOf
{ Error: /taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items.properties['conditions'] should have properties type, additionalProperties, required when property properties is present; /taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items should be array; /taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items should match some schema in anyOf
    at exports.validate (/taskcluster/libraries/references/src/validate.js:175:11)
    at References.validate (/taskcluster/libraries/references/src/references.js:122:5)
    at References.validate (/taskcluster/libraries/references/src/references.js:117:16)
    at References.makeSerializable (/taskcluster/libraries/references/src/references.js:141:10)
    at Object.run (/taskcluster/infrastructure/builder/src/generate/generators/service-docs.js:82:31)
  problems:
   [ '/taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items.properties[\'conditions\'] should have properties type, additionalProperties, required when property properties is present',
     '/taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items should be array',
     '/taskcluster/generated/docs/worker-manager/schemas/v1/ruleset.json: schema.items should match some schema in anyOf' ] }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[taskcluster 2019-02-12 18:31:20.407Z] === Task Finished ===
[taskcluster 2019-02-12 18:31:20.408Z] Successful task run with exit code: 0 completed in 111.821 seconds

oops..

Ah, I'm running yarn generate | cat to get non-try output, but that's only returning the exit status of cat.

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.