integration
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-aarch64
duration28s
log
[conductor] task integration on conductor-worker-aarch64 [conductor] commit 37e0eda27aee attempt 1 [conductor] image node:24-alpine $ apk add --no-cache git ( 1/12) Installing brotli-libs (1.2.0-r1) ( 2/12) Installing c-ares (1.34.8-r0) ( 3/12) Installing libunistring (1.4.2-r0) ( 4/12) Installing libidn2 (2.3.8-r0) ( 5/12) Installing nghttp2-libs (1.69.0-r0) ( 6/12) Installing libpsl (0.21.5-r3) ( 7/12) Installing zstd-libs (1.5.7-r2) ( 8/12) Installing libcurl (8.22.0-r0) ( 9/12) Installing libexpat (2.8.4-r0) (10/12) Installing pcre2 (10.48-r0) (11/12) Installing git (2.54.0-r0) (12/12) Installing git-init-template (2.54.0-r0) Executing busybox-1.37.0-r31.trigger OK: 24.0 MiB in 30 packages $ npm install --no-audit --no-fund added 78 packages in 3s npm notice npm notice New major version of npm available! 11.19.0 -> 12.0.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2 npm notice To update run: npm install -g npm@12.0.2 npm notice $ npm test > conductor@0.4.4 test > node --test "test/**/*.test.js" ✔ every tracked text file is pure ASCII (179.89949ms) ✔ no file uses CRLF line endings or trailing whitespace (180.89955ms) ✔ a password round trips and a wrong one is refused (71.2806ms) ✔ the same password hashes differently each time (47.26252ms) ✔ parameters are read back from the stored hash (40.61359ms) ✔ a malformed stored hash is refused rather than throwing (0.65425ms) ✔ password length is bounded (1.42843ms) ✔ a session token round trips its claims (2.52756ms) ✔ a token signed with another secret is refused (0.55549ms) ✔ a tampered payload is refused (0.49877ms) ✔ an expired token is refused (0.82602ms) ✔ a malformed token is refused rather than throwing (0.56249ms) ✔ cookies are parsed and issued (2.99055ms) ✔ the oidc login state round trips with its return path (1.57873ms) ✔ a missing return path means the root (0.40987ms) ✔ the oidc login state is refused when forged, stale or off-site (0.52787ms) ✔ oidc roles are collected from the usual claim shapes (0.77911ms) ✔ mask replaces secrets, longest first (0.59196ms) ✔ mask ignores very short values and leaves clean output alone (0.3187ms) ✔ health reports the selected drivers (271.12851ms) ✔ a signed trigger creates a job and expands the pipeline (313.58214ms) ✔ an unsigned or wrongly signed trigger is refused (113.52471ms) ✔ github and gitlab push payloads are understood (398.14589ms) ✔ a branch deletion is ignored rather than failing (128.89864ms) ✔ a broken pipeline is reported as a client error with detail (189.88914ms) ✔ a missing pipeline file is reported clearly (219.24223ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (236.51132ms) ✔ a project pointed at a specific file gets no fallback (217.03665ms) ✔ a repository carrying both spellings is refused rather than guessed at (237.68286ms) ✔ a pipeline still using the jobs key is told what it was renamed to (262.4079ms) ✔ a job can be created directly, without a push payload to imitate (212.86281ms) ✔ creating a job requires the same signature as a trigger (95.17514ms) ✔ creating a job insists on a real commit rather than inferring one (108.5059ms) ✔ a job can be read back, with the state of every task (209.05173ms) ✔ a public job is readable without any credential at all (293.3142ms) ✔ a private job needs the trigger secret, and is otherwise absent (402.84816ms) ✔ a job of another project cannot be read through this one (397.49898ms) ✔ a task can be read back on its own, and by its full name (458.14299ms) ✔ reading a task back carries its dependencies and matrix (279.02906ms) ✔ reading a task back never exposes its environment, services or script (270.05563ms) ✔ a task lists the artifacts it stored, with a usable download url (283.652ms) ✔ reading a task back needs no worker token (374.33812ms) ✔ a private task is absent without a credential, and needs its project named (399.12814ms) ✔ a private task is readable by an administrator, by either path (425.10235ms) ✔ a task of another project cannot be read through this one (319.37371ms) ✔ an unknown task is 404 by either path (166.7324ms) ✔ the worker api rejects missing and invalid tokens (119.26663ms) ✔ independent tasks dispatch concurrently (359.39547ms) ✔ a task is only offered to a worker that satisfies its requires (448.18277ms) ✔ a worker is not offered work for an architecture it cannot build (311.17694ms) ✔ a claimed task carries everything the worker needs (279.32556ms) ✔ a task that requires a feature reports it to the worker (407.65763ms) ✔ the standard conductor variables are present in the task environment (257.63051ms) ✔ the source tarball is served from the mirror (436.58512ms) ✔ a worker cannot touch a task it does not hold (294.31609ms) ✔ log appends are resumable and deduplicated by offset (323.68978ms) ✔ an oversized log chunk is refused (398.00331ms) ✔ a finished log moves to storage and is still readable (319.70579ms) ✔ artifacts are stored, hashed, and stripped of traversal (320.78733ms) ✔ an artifact shorter than its content-length is rejected (407.70472ms) ✔ success releases dependents, matched on shared dimensions (437.94526ms) ✔ failure skips transitive dependents, not just direct ones (315.0965ms) ✔ a job settles as failed once every task is terminal (438.59331ms) ✔ a job settles as success when everything passes (313.61439ms) ✔ an allowed failure does not fail the job or block dependents (319.45804ms) ✔ a task with retries left is requeued instead of failing the job (315.15294ms) ✔ heartbeats keep a task alive and report cancellation (411.27216ms) ✔ the reaper fails a task whose worker stopped reporting (425.95432ms) ✔ a second push produces an independent, numbered job (682.70573ms) ﹣ jobs can be listed and filtered by project (1.23816ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.39958ms) # the JSON API was removed ✔ a disabled project refuses triggers (175.47255ms) ✔ a trigger for an unknown project is a 404 (121.83699ms) ✔ a commit that is not in the repository is refused (230.86344ms) ✔ a task is told to fetch an archive, and never the repository itself (402.78807ms) ✔ the source archive is the bare tree, with no wrapping directory (461.67223ms) ✔ the working directory is resolved from the pipeline, then the project (1153.11333ms) ✔ an unusable working directory is refused rather than sanitised (1187.2078ms) ✔ the trigger secret is not stored in the clear (181.55071ms) ✔ worker tokens are stored only as hashes (159.06635ms) ✔ defaults select sqlite, local storage and local auth (4.35522ms) ✔ configuring an s3 bucket switches the storage driver (0.8124ms) ✔ a partial s3 configuration is rejected rather than half applied (1.18693ms) ✔ configuring an oidc discovery url switches the auth mode (0.83484ms) ✔ an oidc discovery url without a client id is rejected (0.62817ms) ✔ a database url selects its dialect (1.31857ms) ✔ an unsupported database scheme is reported clearly (0.72748ms) ✔ a sqlite url collapses into database.path (1.8612ms) ✔ environment variables override the config file (43.76565ms) ✔ relative paths resolve against the config file directory (5.66749ms) ✔ a missing explicit config file is an error, a missing default is not (1.51774ms) ✔ a heartbeat timeout below the reap interval is rejected (6.1681ms) ✔ a non-integer port is rejected with the variable named (0.83817ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.60226ms) ✔ stateDirs omits the storage directory when s3 is in use (1.40479ms) ✔ the loaded config is frozen (0.61167ms) ✔ topological order places dependencies first (3.03265ms) ✔ topological order is deterministic (2.88299ms) ✔ a cycle is detected and named (1.35096ms) ✔ depth reflects the longest path, not insertion order (0.55849ms) ✔ independent tasks are runnable at the same time (0.69221ms) ✔ a task becomes runnable only once every dependency succeeds (0.56488ms) ✔ a running dependency does not release its dependents (0.4187ms) ✔ failure skips transitive dependents, not just direct ones (0.62307ms) ✔ a skipped dependency never releases a dependent (1.12033ms) ✔ allowed failures can satisfy a dependency when asked to (0.6ms) ✔ transitive dependents of a leaf is empty (0.3793ms) ✔ graph helpers tolerate dependencies outside the set (1.85708ms) ✔ dialect detection covers every supported scheme (2.59315ms) ✔ statement splitter respects literals and comments (0.78575ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.34479ms) ✔ migrations apply once and are idempotent (63.74646ms) ✔ an edited migration is refused rather than silently diverging (25.71053ms) ✔ a migration removed from disk is reported (22.5751ms) ✔ rows come back as ordinary objects (22.30082ms) ✔ a conditional update claims exactly once (21.95644ms) ✔ deleting a job cascades to its tasks (19.19517ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (24.97711ms) ﹣ migrations apply and retention sweeps on postgres (1.72184ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.18914ms) # SKIP ✔ every example pipeline compiles (43.07869ms) ✔ the distribution example fans in per architecture (9.73344ms) ✔ the node example wires services and features (5.71808ms) ✔ git jobs with safe.directory set (2.17112ms) ✔ it appends to configuration already in the environment (0.32741ms) ✔ a count that is not a number does not corrupt the sequence (0.34594ms) ✔ git accepts the environment we build (42.97961ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (67.27351ms) ﹣ the endpoints and key set come from the discovery document (2.21716ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (37.035ms) ✔ discovery reports an unreachable provider and a bad status (1.50625ms) ﹣ a token carrying the admin role authenticates as an administrator (0.54935ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.22948ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.20267ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (1.28589ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.30662ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.34458ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.4317ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.24056ms) # the JSON API was removed ﹣ a forged signature is refused (0.98805ms) # the JSON API was removed ﹣ an expired token is refused (0.1595ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.60599ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.25212ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.1019ms) # docker is not available ﹣ a callback with a forged state is refused (0.09264ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.09048ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.08919ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.08743ms) # the JSON API was removed ✔ a pattern without a star matches exactly (2.4018ms) ✔ a star matches any job of characters (0.60081ms) ✔ the rest of a pattern is literal, not a regular expression (0.26275ms) ✔ a restricted task is left out of jobs for other refs (25.48197ms) ✔ it is left out rather than recorded as skipped (3.42119ms) ✔ tasks depending on an excluded task are excluded too (2.48106ms) ✔ depth and ordering describe the job that will happen (1.35961ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (4.12268ms) ✔ a restricted task cannot match a job that has no ref (1.47905ms) ✔ a malformed rule is reported rather than ignored (9.09035ms) ✔ the rule is not inherited from defaults (1.42811ms) ✔ a page number is read from the query, and nonsense reads as the first (15.85837ms) ✔ an absurd page number cannot produce an unusable offset (2.80845ms) ✔ a window describes the slice it holds (2.07711ms) ✔ an empty table is one page, and counts from zero (1.38222ms) ✔ windowOfAll slices a list that is already in memory (3.09411ms) ✔ a page link keeps the other query parameters (2.50656ms) ✔ a pager is not rendered when everything fits on one page (3.48031ms) ✔ a pager offers only the steps that exist (6.84749ms) ✔ paginate counts under the same conditions as it selects (385.34758ms) ✔ successive pages do not repeat or skip a row (184.74989ms) ✔ the job list is capped at a page and offers the next one (189.83515ms) ✔ paging past the end is an empty table rather than an error (148.74145ms) ✔ a page link keeps the project filter, and so does the live fragment (168.39542ms) ✔ the polling fragment asks for the page being viewed, not the first (209.92783ms) ✔ the count behind the pager respects who is asking (223.21001ms) ✔ the users and workers tables keep their swap target on the wrapper (267.06926ms) ✔ a minimal pipeline compiles (104.32898ms) ✔ version is required and pinned (26.7263ms) ✔ empty and malformed documents are rejected clearly (15.51688ms) ✔ image and script are required (5.20398ms) ✔ image may come from defaults (8.32334ms) ✔ unknown keys are rejected, with a suggestion when close (13.7229ms) ✔ all problems are reported at once (1.23161ms) ✔ durations accept seconds, units and composites (2.71636ms) ✔ durations accept day and week units (5.31663ms) ✔ a malformed duration is rejected (7.91375ms) ✔ arch expands into one task per architecture (9.00787ms) ✔ a matrix expands to the cartesian product (9.99051ms) ✔ needs match on shared dimensions rather than fanning out (24.07777ms) ✔ a task without the shared dimension depends on every instance (7.7214ms) ✔ match all opts out of dimension matching (22.42235ms) ✔ needs may name one concrete instance (18.79438ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (8.66357ms) ✔ needs on an unknown task lists what is defined (4.54568ms) ✔ self dependency is rejected (8.82809ms) ✔ a dependency cycle names the cycle (17.5478ms) ✔ interpolation substitutes arch and matrix values (12.35132ms) ✔ interpolating an undefined dimension is an error (5.82299ms) ✔ referring to arch without declaring one is an error (3.98863ms) ✔ matrix values must be safe for use in a task name (4.66111ms) ✔ arch may not also be a matrix dimension (4.48941ms) ✔ services get a derived alias and reject duplicates (7.87112ms) ✔ artifacts accept a bare list and reject absolute paths (1.13874ms) ✔ artifact when is constrained (0.65551ms) ✔ defaults are inherited and overridden per task (1.70133ms) ✔ env values must be scalars with valid names (1.30081ms) ✔ parsePipeline normalizes without expanding (1.26332ms) ✔ a realistic distribution pipeline produces the expected graph (2.5373ms) ✔ compiles markers to the placeholder each dialect expects (5.18911ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.36783ms) ✔ ignores markers inside string literals and comments (0.45818ms) ✔ a json literal in default text survives untouched (0.25534ms) ✔ doubling a brace escapes it (0.3213ms) ✔ block comments are skipped, and nest only for postgres (0.2892ms) ✔ postgres dollar quoted bodies are skipped (0.30301ms) ✔ mysql backtick identifiers and hash comments are skipped (0.6325ms) ✔ a malformed marker is rejected with a useful message (1.13569ms) ✔ binds by name, resolving dotted paths (1.02613ms) ✔ an exact key beats path traversal (0.35388ms) ✔ reports every missing key at once (0.58655ms) ✔ rejects an array of parameters, which would silently bind by position (0.48423ms) ✔ normalizes booleans, dates and null (0.60672ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.43308ms) ✔ an artifact past its own deadline is deleted (332.34106ms) ✔ an explicit deadline overrides the policy in both directions (251.82584ms) ✔ an explicit deadline also beats the last good job (116.91974ms) ✔ the last few jobs keep their artifacts however old they are (139.70132ms) ✔ recent artifacts are kept however many jobs have followed (140.03793ms) ✔ an artifact outside both rules is deleted (93.44875ms) ✔ the most recent successful job is kept whatever the policy says (141.8359ms) ✔ only the latest success is protected, not every success (103.32331ms) ✔ a project may keep artifacts forever despite a server default (115.01945ms) ✔ a project setting overrides the server default (95.10889ms) ✔ an unfinished job is never swept (118.53484ms) ✔ logs older than the limit are removed but the task remains (90.01109ms) ✔ a swept log is distinguishable from one that never existed (132.15996ms) ✔ a log is swept only once (98.81355ms) ✔ zero keeps logs forever (88.7342ms) ✔ a storage failure leaves the row for the next pass (112.63093ms) ✔ a sweep deletes no more than its batch (141.99437ms) ✔ one project policy does not reach into another (136.24515ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (251.81145ms) ﹣ the api reports and accepts project retention (0.30288ms) # the JSON API was removed ✔ seals and opens a value (4.80558ms) ✔ sealing twice produces different ciphertext (0.72448ms) ✔ without a key, values are stored as marked plaintext (0.32596ms) ✔ a keyed box can still read values written before a key existed (1.64068ms) ✔ an unkeyed box refuses encrypted values with an actionable message (0.9996ms) ✔ the wrong key fails to open (0.64522ms) ✔ tampering with the ciphertext is detected (0.59905ms) ✔ associated data binds a secret to its location (1.1405ms) ✔ a key of the wrong size is refused at construction (0.56779ms) ✔ task ids are opaque, and say nothing about their job (4.66632ms) ✔ time ordered ids sort by creation time (0.28349ms) ✔ random ids use the expected alphabet (0.24475ms) ✔ slugify produces readable project ids and falls back when empty (0.34361ms) ✔ token hashing and constant time comparison (0.82796ms) ✔ the pipeline this project jobs on itself compiles (38.1142ms) ✔ its tasks declare the features they actually need (9.43016ms) ✔ publishing is restricted to main and release tags (55.34522ms) ✔ get-vanilla matches the reference signature (4.13796ms) ✔ get-vanilla-query-order-key-case matches the reference signature (0.9913ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.32317ms) ✔ amzDate produces both required formats (0.3314ms) ✔ s3 requests carry the content hash header (1.0842ms) ✔ presigned urls carry the signature in the query string (3.77959ms) ✔ an already encoded path is not encoded a second time (1.02737ms) ✔ key validation rejects traversal and absolute paths (2.92233ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.56931ms) ✔ key layout is stable (0.92808ms) ✔ local backend round trips a buffer and reports its digest (23.34441ms) ✔ local backend serves ranges (6.16948ms) ✔ local backend accepts a stream (7.44347ms) ✔ local backend reports a missing object and deletes idempotently (12.53531ms) ✔ local backend has no presigned urls (11.85742ms) ✔ a partial write leaves no object behind (12.45746ms) ✔ part size grows so that a huge object still fits in 10000 parts (0.7204ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.37018ms) ✔ inParts handles a chunk far larger than the part size (0.81104ms) ✔ inParts yields nothing for an empty stream (0.5917ms) ﹣ s3 backend round trips awkward keys against a real server (0.10821ms) # docker is not available ﹣ s3 serves byte ranges (0.09848ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.09084ms) # docker is not available ﹣ a presigned url is usable without credentials (0.16044ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.09968ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (5.35417ms) # docker is not available ﹣ a stream of unknown length is accepted (0.11972ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.08693ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.08033ms) # docker is not available ﹣ a multipart object still serves ranges (0.0792ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.07903ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.07597ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.07409ms) # docker is not available ✔ every javascript file parses (965.8715ms) ✔ the shell scripts parse (13.5619ms) ✔ interpolated values are escaped by default (11.4702ms) ✔ quotes and ampersands are escaped inside attributes (0.52685ms) ✔ nested templates and arrays are kept, raw is passed through (0.41321ms) ✔ null, undefined and false render as nothing (0.4694ms) ✔ attrs omits absent values and renders bare booleans (0.59382ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (459.16241ms) ✔ an anonymous visitor cannot see a private job (245.81462ms) ✔ management pages redirect an anonymous visitor to sign in (159.64746ms) ✔ signing in through the form sets a session and reveals the nav (294.52054ms) ✔ a user creates a project through the form and is shown the secret once (223.09156ms) ✔ a project page shows variables and never their values (195.38542ms) ✔ setting and removing a variable returns the updated table (290.92633ms) ✔ a user cannot open or delete a project they do not own (387.97169ms) ✔ registering a worker shows the token once and lists it (207.17082ms) ✔ an ordinary user cannot create shared capacity from the form (288.8439ms) ✔ the users page is administrator only and warns about what deletion destroys (363.08515ms) ✔ a running job polls, and a finished one stops (291.06265ms) ✔ a task page streams the log and stops polling once it completes (411.80984ms) ✔ log output is escaped, so a task cannot inject markup into the page (308.04666ms) ✔ a mutation without the htmx header is refused (265.00971ms) ✔ the sign in form is centred rather than stranded at the left edge (208.09093ms) ✔ row actions stay ordinary table cells, so rows keep one height (224.36ms) ✔ the stylesheet and htmx are served, and nothing else is (180.56378ms) ✔ the project page shows retention, with server defaults as placeholders (218.07438ms) ✔ saving retention through the form stores it, and empty means inherit (303.27806ms) ✔ a negative retention value is refused by the form (294.77872ms) ✔ the project page offers a working directory, defaulting to the server one (268.51718ms) ✔ saving a working directory stores it, and empty clears it (335.83424ms) ✔ an unusable working directory is refused by the form (189.89467ms) ✔ worker config loads from json and reports features (39.75359ms) ✔ worker config reads the token from a file (12.29089ms) ✔ environment overrides the worker config file (5.13686ms) ✔ worker config without a token is rejected (5.16982ms) ✔ a malformed feature is reported with its path (3.46542ms) ✔ shell quoting survives quotes and metacharacters (0.41396ms) ✔ a generated script echoes each command and stops on failure (0.70364ms) ✔ container names are valid for docker and stay unique (1.35925ms) ✔ job arguments carry mounts, env, network and privilege (1.10712ms) ✔ a task container is created without sharing anything with the worker (0.99338ms) ✔ a feature still contributes its bind mounts (0.35905ms) ✔ features resolve into mounts, env and privilege (0.56517ms) ✔ an unknown required feature is reported rather than ignored (0.1953ms) ✔ an artifact pattern reduces to the part that can be copied out (0.43048ms) ✔ overlapping artifact paths are copied out once (0.50097ms) ✔ artifact collection globs, and refuses to leave the workspace (26.29852ms) ✔ artifact when controls collection (0.42469ms) ✔ an idle worker keeps running instead of exiting (4012.04421ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1518.2471ms) ✔ log output is batched and offsets advance (2.09214ms) ✔ a conflicting offset resynchronises instead of duplicating (0.51811ms) ✔ secrets are masked before anything leaves the host (0.94485ms) ✔ a secret split across two writes is still masked (0.43979ms) ✔ a failing conductor does not break the task (0.66562ms) ℹ tests 347 ℹ suites 0 ℹ pass 311 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 20045.98814 [conductor] done