test
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-aarch64
duration30s
log
[conductor] task test on conductor-worker-aarch64 [conductor] commit a134e2de963e 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 4s 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.2 test > node --test "test/**/*.test.js" ✔ every tracked text file is pure ASCII (151.93456ms) ✔ no file uses CRLF line endings or trailing whitespace (89.74453ms) ✔ a password round trips and a wrong one is refused (21.56921ms) ✔ the same password hashes differently each time (12.1983ms) ✔ parameters are read back from the stored hash (12.14123ms) ✔ a malformed stored hash is refused rather than throwing (0.59047ms) ✔ password length is bounded (0.81452ms) ✔ a session token round trips its claims (1.77678ms) ✔ a token signed with another secret is refused (0.3957ms) ✔ a tampered payload is refused (0.36433ms) ✔ an expired token is refused (0.62458ms) ✔ a malformed token is refused rather than throwing (0.42581ms) ✔ cookies are parsed and issued (1.92284ms) ✔ the oidc login state round trips with its return path (0.86999ms) ✔ a missing return path means the root (0.3145ms) ✔ the oidc login state is refused when forged, stale or off-site (0.37668ms) ✔ oidc roles are collected from the usual claim shapes (0.47966ms) ✔ mask replaces secrets, longest first (0.50713ms) ✔ mask ignores very short values and leaves clean output alone (0.22467ms) ✔ health reports the selected drivers (345.21629ms) ✔ a signed trigger creates a job and expands the pipeline (210.5562ms) ✔ an unsigned or wrongly signed trigger is refused (119.18957ms) ✔ github and gitlab push payloads are understood (406.29046ms) ✔ a branch deletion is ignored rather than failing (108.32006ms) ✔ a broken pipeline is reported as a client error with detail (222.45221ms) ✔ a missing pipeline file is reported clearly (275.74572ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (326.53137ms) ✔ a project pointed at a specific file gets no fallback (195.17927ms) ✔ a repository carrying both spellings is refused rather than guessed at (298.83143ms) ✔ a pipeline still using the jobs key is told what it was renamed to (441.25626ms) ✔ a job can be created directly, without a push payload to imitate (421.19932ms) ✔ creating a job requires the same signature as a trigger (129.80902ms) ✔ creating a job insists on a real commit rather than inferring one (109.61012ms) ✔ a job can be read back, with the state of every task (245.70457ms) ✔ a public job is readable without any credential at all (247.83256ms) ✔ a private job needs the trigger secret, and is otherwise absent (274.73177ms) ✔ a job of another project cannot be read through this one (359.36173ms) ✔ a task can be read back on its own, and by its full name (302.17874ms) ✔ reading a task back carries its dependencies and matrix (398.18445ms) ✔ reading a task back never exposes its environment, services or script (441.53421ms) ✔ a task lists the artifacts it stored, with a usable download url (313.25358ms) ✔ reading a task back needs no worker token (269.98545ms) ✔ a private task is absent without a credential, and needs its project named (414.78001ms) ✔ a private task is readable by an administrator, by either path (601.50925ms) ✔ a task of another project cannot be read through this one (280.43358ms) ✔ an unknown task is 404 by either path (187.12236ms) ✔ the worker api rejects missing and invalid tokens (180.39426ms) ✔ independent tasks dispatch concurrently (344.80804ms) ✔ a task is only offered to a worker that satisfies its requires (437.08599ms) ✔ a worker is not offered work for an architecture it cannot build (330.01538ms) ✔ a claimed task carries everything the worker needs (358.20392ms) ✔ a task that requires a feature reports it to the worker (475.50356ms) ✔ the standard conductor variables are present in the task environment (373.93226ms) ✔ the source tarball is served from the mirror (453.90114ms) ✔ a worker cannot touch a task it does not hold (295.59343ms) ✔ log appends are resumable and deduplicated by offset (427.52966ms) ✔ an oversized log chunk is refused (352.25958ms) ✔ a finished log moves to storage and is still readable (433.13018ms) ✔ artifacts are stored, hashed, and stripped of traversal (303.82884ms) ✔ an artifact shorter than its content-length is rejected (436.42037ms) ✔ success releases dependents, matched on shared dimensions (414.94434ms) ✔ failure skips transitive dependents, not just direct ones (373.12606ms) ✔ a job settles as failed once every task is terminal (450.03853ms) ✔ a job settles as success when everything passes (460.4705ms) ✔ an allowed failure does not fail the job or block dependents (445.89565ms) ✔ a task with retries left is requeued instead of failing the job (256.68863ms) ✔ heartbeats keep a task alive and report cancellation (294.5808ms) ✔ the reaper fails a task whose worker stopped reporting (382.47822ms) ✔ a second push produces an independent, numbered job (540.28904ms) ﹣ jobs can be listed and filtered by project (0.53839ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.15053ms) # the JSON API was removed ✔ a disabled project refuses triggers (167.60076ms) ✔ a trigger for an unknown project is a 404 (145.15098ms) ✔ a commit that is not in the repository is refused (238.16211ms) ✔ a task is told to fetch an archive, and never the repository itself (242.44639ms) ✔ the source archive is the bare tree, with no wrapping directory (293.99166ms) ✔ the working directory is resolved from the pipeline, then the project (1172.93377ms) ✔ an unusable working directory is refused rather than sanitised (1177.98825ms) ✔ the trigger secret is not stored in the clear (206.82644ms) ✔ worker tokens are stored only as hashes (137.12772ms) ✔ defaults select sqlite, local storage and local auth (5.04358ms) ✔ configuring an s3 bucket switches the storage driver (2.05898ms) ✔ a partial s3 configuration is rejected rather than half applied (1.7063ms) ✔ configuring an oidc discovery url switches the auth mode (0.64008ms) ✔ an oidc discovery url without a client id is rejected (0.68986ms) ✔ a database url selects its dialect (1.88741ms) ✔ an unsupported database scheme is reported clearly (0.65251ms) ✔ a sqlite url collapses into database.path (0.6878ms) ✔ environment variables override the config file (56.50305ms) ✔ relative paths resolve against the config file directory (4.70992ms) ✔ a missing explicit config file is an error, a missing default is not (3.72256ms) ✔ a heartbeat timeout below the reap interval is rejected (6.39143ms) ✔ a non-integer port is rejected with the variable named (0.98939ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.56507ms) ✔ stateDirs omits the storage directory when s3 is in use (1.2761ms) ✔ the loaded config is frozen (0.54599ms) ✔ topological order places dependencies first (3.85355ms) ✔ topological order is deterministic (3.36724ms) ✔ a cycle is detected and named (1.34649ms) ✔ depth reflects the longest path, not insertion order (0.68515ms) ✔ independent tasks are runnable at the same time (0.63707ms) ✔ a task becomes runnable only once every dependency succeeds (0.55873ms) ✔ a running dependency does not release its dependents (0.40394ms) ✔ failure skips transitive dependents, not just direct ones (0.57983ms) ✔ a skipped dependency never releases a dependent (0.73779ms) ✔ allowed failures can satisfy a dependency when asked to (0.62009ms) ✔ transitive dependents of a leaf is empty (0.36146ms) ✔ graph helpers tolerate dependencies outside the set (0.50429ms) ✔ dialect detection covers every supported scheme (2.32181ms) ✔ statement splitter respects literals and comments (0.69025ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.38601ms) ✔ migrations apply once and are idempotent (64.33776ms) ✔ an edited migration is refused rather than silently diverging (24.20219ms) ✔ a migration removed from disk is reported (15.24639ms) ✔ rows come back as ordinary objects (28.98517ms) ✔ a conditional update claims exactly once (16.71316ms) ✔ deleting a job cascades to its tasks (22.78313ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (56.2895ms) ﹣ migrations apply and retention sweeps on postgres (1.31872ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.17151ms) # SKIP ✔ every example pipeline compiles (75.08123ms) ✔ the distribution example fans in per architecture (20.70036ms) ✔ the node example wires services and features (7.67379ms) ✔ git jobs with safe.directory set (9.82881ms) ✔ it appends to configuration already in the environment (1.70063ms) ✔ a count that is not a number does not corrupt the sequence (1.80701ms) ✔ git accepts the environment we build (91.78039ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (129.63229ms) ﹣ the endpoints and key set come from the discovery document (1.55948ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (27.51307ms) ✔ discovery reports an unreachable provider and a bad status (1.15887ms) ﹣ a token carrying the admin role authenticates as an administrator (0.59722ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.18268ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.14962ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (2.42019ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (3.65337ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.34385ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (2.32572ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.15151ms) # the JSON API was removed ﹣ a forged signature is refused (0.29074ms) # the JSON API was removed ﹣ an expired token is refused (0.1855ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.28139ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.36403ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (3.45475ms) # docker is not available ﹣ a callback with a forged state is refused (0.08385ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.06287ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.05815ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.05809ms) # the JSON API was removed ✔ a pattern without a star matches exactly (2.6303ms) ✔ a star matches any job of characters (0.70257ms) ✔ the rest of a pattern is literal, not a regular expression (0.30741ms) ✔ a restricted task is left out of jobs for other refs (24.95059ms) ✔ it is left out rather than recorded as skipped (2.75559ms) ✔ tasks depending on an excluded task are excluded too (3.85686ms) ✔ depth and ordering describe the job that will happen (1.65265ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (2.82586ms) ✔ a restricted task cannot match a job that has no ref (3.78664ms) ✔ a malformed rule is reported rather than ignored (9.03313ms) ✔ the rule is not inherited from defaults (2.46653ms) ✔ a minimal pipeline compiles (31.9002ms) ✔ version is required and pinned (4.02913ms) ✔ empty and malformed documents are rejected clearly (6.11213ms) ✔ image and script are required (1.00872ms) ✔ image may come from defaults (1.70461ms) ✔ unknown keys are rejected, with a suggestion when close (27.26788ms) ✔ all problems are reported at once (10.34103ms) ✔ durations accept seconds, units and composites (16.21429ms) ✔ durations accept day and week units (13.04767ms) ✔ a malformed duration is rejected (13.29894ms) ✔ arch expands into one task per architecture (10.98007ms) ✔ a matrix expands to the cartesian product (13.18363ms) ✔ needs match on shared dimensions rather than fanning out (20.30832ms) ✔ a task without the shared dimension depends on every instance (1.24531ms) ✔ match all opts out of dimension matching (1.72206ms) ✔ needs may name one concrete instance (2.33882ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.65011ms) ✔ needs on an unknown task lists what is defined (0.77674ms) ✔ self dependency is rejected (0.79902ms) ✔ a dependency cycle names the cycle (1.89896ms) ✔ interpolation substitutes arch and matrix values (1.64877ms) ✔ interpolating an undefined dimension is an error (4.06133ms) ✔ referring to arch without declaring one is an error (0.74953ms) ✔ matrix values must be safe for use in a task name (0.75444ms) ✔ arch may not also be a matrix dimension (0.66655ms) ✔ services get a derived alias and reject duplicates (7.51131ms) ✔ artifacts accept a bare list and reject absolute paths (1.35511ms) ✔ artifact when is constrained (1.95406ms) ✔ defaults are inherited and overridden per task (1.31898ms) ✔ env values must be scalars with valid names (0.97282ms) ✔ parsePipeline normalizes without expanding (1.6622ms) ✔ a realistic distribution pipeline produces the expected graph (2.62836ms) ✔ compiles markers to the placeholder each dialect expects (6.91222ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.41034ms) ✔ ignores markers inside string literals and comments (0.5403ms) ✔ a json literal in default text survives untouched (0.32018ms) ✔ doubling a brace escapes it (0.3625ms) ✔ block comments are skipped, and nest only for postgres (0.51109ms) ✔ postgres dollar quoted bodies are skipped (0.41144ms) ✔ mysql backtick identifiers and hash comments are skipped (0.77049ms) ✔ a malformed marker is rejected with a useful message (1.75309ms) ✔ binds by name, resolving dotted paths (1.50975ms) ✔ an exact key beats path traversal (0.44676ms) ✔ reports every missing key at once (0.63472ms) ✔ rejects an array of parameters, which would silently bind by position (0.46598ms) ✔ normalizes booleans, dates and null (0.40729ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.50114ms) ✔ an artifact past its own deadline is deleted (291.57858ms) ✔ an explicit deadline overrides the policy in both directions (272.51615ms) ✔ an explicit deadline also beats the last good job (96.76941ms) ✔ the last few jobs keep their artifacts however old they are (141.04092ms) ✔ recent artifacts are kept however many jobs have followed (163.64242ms) ✔ an artifact outside both rules is deleted (123.86444ms) ✔ the most recent successful job is kept whatever the policy says (131.71449ms) ✔ only the latest success is protected, not every success (162.44093ms) ✔ a project may keep artifacts forever despite a server default (169.94929ms) ✔ a project setting overrides the server default (154.42686ms) ✔ an unfinished job is never swept (104.74004ms) ✔ logs older than the limit are removed but the task remains (149.58173ms) ✔ a swept log is distinguishable from one that never existed (92.01135ms) ✔ a log is swept only once (164.41ms) ✔ zero keeps logs forever (112.66057ms) ✔ a storage failure leaves the row for the next pass (145.90725ms) ✔ a sweep deletes no more than its batch (142.6375ms) ✔ one project policy does not reach into another (117.88225ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (344.97682ms) ﹣ the api reports and accepts project retention (0.31937ms) # the JSON API was removed ✔ seals and opens a value (5.22061ms) ✔ sealing twice produces different ciphertext (0.60427ms) ✔ without a key, values are stored as marked plaintext (0.31766ms) ✔ a keyed box can still read values written before a key existed (4.02985ms) ✔ an unkeyed box refuses encrypted values with an actionable message (1.16666ms) ✔ the wrong key fails to open (0.66646ms) ✔ tampering with the ciphertext is detected (0.46517ms) ✔ associated data binds a secret to its location (6.28664ms) ✔ a key of the wrong size is refused at construction (2.65536ms) ✔ task ids are opaque, and say nothing about their job (2.92804ms) ✔ time ordered ids sort by creation time (0.42251ms) ✔ random ids use the expected alphabet (0.31507ms) ✔ slugify produces readable project ids and falls back when empty (0.62926ms) ✔ token hashing and constant time comparison (18.34871ms) ✔ the pipeline this project jobs on itself compiles (47.15076ms) ✔ its tasks declare the features they actually need (9.51833ms) ✔ publishing is restricted to main and release tags (123.82565ms) ✔ get-vanilla matches the reference signature (4.13251ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.16549ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.43266ms) ✔ amzDate produces both required formats (0.36478ms) ✔ s3 requests carry the content hash header (1.04899ms) ✔ presigned urls carry the signature in the query string (3.40632ms) ✔ an already encoded path is not encoded a second time (0.88948ms) ✔ key validation rejects traversal and absolute paths (16.65346ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (2.37583ms) ✔ key layout is stable (2.39124ms) ✔ local backend round trips a buffer and reports its digest (30.70584ms) ✔ local backend serves ranges (8.23659ms) ✔ local backend accepts a stream (10.70334ms) ✔ local backend reports a missing object and deletes idempotently (9.99223ms) ✔ local backend has no presigned urls (3.08183ms) ✔ a partial write leaves no object behind (6.68933ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.16717ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.49968ms) ✔ inParts handles a chunk far larger than the part size (1.18062ms) ✔ inParts yields nothing for an empty stream (0.61922ms) ﹣ s3 backend round trips awkward keys against a real server (0.10461ms) # docker is not available ﹣ s3 serves byte ranges (0.10141ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.09269ms) # docker is not available ﹣ a presigned url is usable without credentials (0.16867ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.09765ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.09064ms) # docker is not available ﹣ a stream of unknown length is accepted (0.08189ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.08033ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.0786ms) # docker is not available ﹣ a multipart object still serves ranges (0.07883ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.08306ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.07535ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.07483ms) # docker is not available ✔ every javascript file parses (1005.44492ms) ✔ the shell scripts parse (5.61047ms) ✔ interpolated values are escaped by default (2.94514ms) ✔ quotes and ampersands are escaped inside attributes (0.68356ms) ✔ nested templates and arrays are kept, raw is passed through (0.75864ms) ✔ null, undefined and false render as nothing (0.39541ms) ✔ attrs omits absent values and renders bare booleans (0.57326ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (450.67308ms) ✔ an anonymous visitor cannot see a private job (253.79743ms) ✔ management pages redirect an anonymous visitor to sign in (159.54209ms) ✔ signing in through the form sets a session and reveals the nav (297.76808ms) ✔ a user creates a project through the form and is shown the secret once (289.46461ms) ✔ a project page shows variables and never their values (207.19893ms) ✔ setting and removing a variable returns the updated table (224.38854ms) ✔ a user cannot open or delete a project they do not own (350.17866ms) ✔ registering a worker shows the token once and lists it (231.8797ms) ✔ an ordinary user cannot create shared capacity from the form (303.32309ms) ✔ the users page is administrator only and warns about what deletion destroys (376.90007ms) ✔ a running job polls, and a finished one stops (426.62628ms) ✔ a task page streams the log and stops polling once it completes (314.7646ms) ✔ log output is escaped, so a task cannot inject markup into the page (405.13858ms) ✔ a mutation without the htmx header is refused (277.88333ms) ✔ the sign in form is centred rather than stranded at the left edge (209.3343ms) ✔ row actions stay ordinary table cells, so rows keep one height (269.67833ms) ✔ the stylesheet and htmx are served, and nothing else is (237.40514ms) ✔ the project page shows retention, with server defaults as placeholders (271.73375ms) ✔ saving retention through the form stores it, and empty means inherit (327.56594ms) ✔ a negative retention value is refused by the form (248.0592ms) ✔ the project page offers a working directory, defaulting to the server one (255.14762ms) ✔ saving a working directory stores it, and empty clears it (307.95286ms) ✔ an unusable working directory is refused by the form (227.14873ms) ✔ worker config loads from json and reports features (21.1048ms) ✔ worker config reads the token from a file (5.17333ms) ✔ environment overrides the worker config file (12.03548ms) ✔ worker config without a token is rejected (4.77276ms) ✔ a malformed feature is reported with its path (11.07335ms) ✔ shell quoting survives quotes and metacharacters (0.54628ms) ✔ a generated script echoes each command and stops on failure (0.59287ms) ✔ container names are valid for docker and stay unique (1.67902ms) ✔ job arguments carry mounts, env, network and privilege (1.05416ms) ✔ a task container is created without sharing anything with the worker (1.07548ms) ✔ a feature still contributes its bind mounts (0.33214ms) ✔ features resolve into mounts, env and privilege (1.53944ms) ✔ an unknown required feature is reported rather than ignored (0.22641ms) ✔ an artifact pattern reduces to the part that can be copied out (0.81223ms) ✔ overlapping artifact paths are copied out once (0.48254ms) ✔ artifact collection globs, and refuses to leave the workspace (25.75668ms) ✔ artifact when controls collection (0.3896ms) ✔ an idle worker keeps running instead of exiting (4007.74513ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1531.32588ms) ✔ log output is batched and offsets advance (1.15241ms) ✔ a conflicting offset resynchronises instead of duplicating (0.39321ms) ✔ secrets are masked before anything leaves the host (0.681ms) ✔ a secret split across two writes is still masked (0.31932ms) ✔ a failing conductor does not break the task (0.5189ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 21306.8376 [conductor] done