test
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-aarch64
duration28s
log
[conductor] task test on conductor-worker-aarch64 [conductor] commit e4cf66a60aae 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 (209.45812ms) ✔ no file uses CRLF line endings or trailing whitespace (94.95283ms) ✔ a password round trips and a wrong one is refused (70.87521ms) ✔ the same password hashes differently each time (27.52557ms) ✔ parameters are read back from the stored hash (36.55258ms) ✔ a malformed stored hash is refused rather than throwing (2.25893ms) ✔ password length is bounded (2.57137ms) ✔ a session token round trips its claims (6.74772ms) ✔ a token signed with another secret is refused (1.90024ms) ✔ a tampered payload is refused (3.51202ms) ✔ an expired token is refused (2.42821ms) ✔ a malformed token is refused rather than throwing (7.90372ms) ✔ cookies are parsed and issued (14.12953ms) ✔ the oidc login state round trips with its return path (3.97346ms) ✔ a missing return path means the root (1.47084ms) ✔ the oidc login state is refused when forged, stale or off-site (10.77026ms) ✔ oidc roles are collected from the usual claim shapes (6.81687ms) ✔ mask replaces secrets, longest first (1.88268ms) ✔ mask ignores very short values and leaves clean output alone (5.38252ms) ✔ health reports the selected drivers (312.4746ms) ✔ a signed trigger creates a job and expands the pipeline (226.09073ms) ✔ an unsigned or wrongly signed trigger is refused (106.49046ms) ✔ github and gitlab push payloads are understood (320.78693ms) ✔ a branch deletion is ignored rather than failing (103.21394ms) ✔ a broken pipeline is reported as a client error with detail (177.69248ms) ✔ a missing pipeline file is reported clearly (218.05234ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (193.89036ms) ✔ a project pointed at a specific file gets no fallback (283.56242ms) ✔ a repository carrying both spellings is refused rather than guessed at (280.08817ms) ✔ a pipeline still using the jobs key is told what it was renamed to (370.82088ms) ✔ a job can be created directly, without a push payload to imitate (298.91867ms) ✔ creating a job requires the same signature as a trigger (188.2076ms) ✔ creating a job insists on a real commit rather than inferring one (124.02858ms) ✔ a job can be read back, with the state of every task (213.5511ms) ✔ a public job is readable without any credential at all (357.97795ms) ✔ a private job needs the trigger secret, and is otherwise absent (332.89217ms) ✔ a job of another project cannot be read through this one (237.50092ms) ✔ a task can be read back on its own, and by its full name (212.57031ms) ✔ reading a task back carries its dependencies and matrix (424.26646ms) ✔ reading a task back never exposes its environment, services or script (291.72095ms) ✔ a task lists the artifacts it stored, with a usable download url (424.17696ms) ✔ reading a task back needs no worker token (370.31246ms) ✔ a private task is absent without a credential, and needs its project named (259.71968ms) ✔ a private task is readable by an administrator, by either path (429.38643ms) ✔ a task of another project cannot be read through this one (343.50094ms) ✔ an unknown task is 404 by either path (165.10979ms) ✔ the worker api rejects missing and invalid tokens (173.1939ms) ✔ independent tasks dispatch concurrently (372.20487ms) ✔ a task is only offered to a worker that satisfies its requires (288.51033ms) ✔ a worker is not offered work for an architecture it cannot build (309.33006ms) ✔ a claimed task carries everything the worker needs (418.16796ms) ✔ a task that requires a feature reports it to the worker (476.44413ms) ✔ the standard conductor variables are present in the task environment (370.94059ms) ✔ the source tarball is served from the mirror (349.14517ms) ✔ a worker cannot touch a task it does not hold (305.82462ms) ✔ log appends are resumable and deduplicated by offset (319.7411ms) ✔ an oversized log chunk is refused (404.10112ms) ✔ a finished log moves to storage and is still readable (447.85809ms) ✔ artifacts are stored, hashed, and stripped of traversal (378.15285ms) ✔ an artifact shorter than its content-length is rejected (326.11338ms) ✔ success releases dependents, matched on shared dimensions (269.62712ms) ✔ failure skips transitive dependents, not just direct ones (425.9159ms) ✔ a job settles as failed once every task is terminal (324.99362ms) ✔ a job settles as success when everything passes (312.03797ms) ✔ an allowed failure does not fail the job or block dependents (315.51309ms) ✔ a task with retries left is requeued instead of failing the job (291.64989ms) ✔ heartbeats keep a task alive and report cancellation (403.66471ms) ✔ the reaper fails a task whose worker stopped reporting (430.24547ms) ✔ a second push produces an independent, numbered job (668.21813ms) ﹣ jobs can be listed and filtered by project (1.19477ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.39961ms) # the JSON API was removed ✔ a disabled project refuses triggers (172.20647ms) ✔ a trigger for an unknown project is a 404 (162.16064ms) ✔ a commit that is not in the repository is refused (239.7653ms) ✔ a task is told to fetch an archive, and never the repository itself (423.92085ms) ✔ the source archive is the bare tree, with no wrapping directory (455.89168ms) ✔ the working directory is resolved from the pipeline, then the project (1057.64568ms) ✔ an unusable working directory is refused rather than sanitised (1178.92419ms) ✔ the trigger secret is not stored in the clear (139.2768ms) ✔ worker tokens are stored only as hashes (131.39288ms) ✔ defaults select sqlite, local storage and local auth (5.43462ms) ✔ configuring an s3 bucket switches the storage driver (0.97399ms) ✔ a partial s3 configuration is rejected rather than half applied (1.37481ms) ✔ configuring an oidc discovery url switches the auth mode (0.98063ms) ✔ an oidc discovery url without a client id is rejected (0.73662ms) ✔ a database url selects its dialect (1.64182ms) ✔ an unsupported database scheme is reported clearly (0.91249ms) ✔ a sqlite url collapses into database.path (0.82776ms) ✔ environment variables override the config file (39.85309ms) ✔ relative paths resolve against the config file directory (8.17637ms) ✔ a missing explicit config file is an error, a missing default is not (1.73803ms) ✔ a heartbeat timeout below the reap interval is rejected (8.55016ms) ✔ a non-integer port is rejected with the variable named (0.95208ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.49694ms) ✔ stateDirs omits the storage directory when s3 is in use (1.57695ms) ✔ the loaded config is frozen (0.72445ms) ✔ topological order places dependencies first (3.10207ms) ✔ topological order is deterministic (3.38778ms) ✔ a cycle is detected and named (1.39309ms) ✔ depth reflects the longest path, not insertion order (0.68223ms) ✔ independent tasks are runnable at the same time (0.70287ms) ✔ a task becomes runnable only once every dependency succeeds (0.57939ms) ✔ a running dependency does not release its dependents (0.41289ms) ✔ failure skips transitive dependents, not just direct ones (0.58048ms) ✔ a skipped dependency never releases a dependent (0.80562ms) ✔ allowed failures can satisfy a dependency when asked to (0.5773ms) ✔ transitive dependents of a leaf is empty (0.32319ms) ✔ graph helpers tolerate dependencies outside the set (0.45429ms) ✔ dialect detection covers every supported scheme (10.63521ms) ✔ statement splitter respects literals and comments (2.8448ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (1.8227ms) ✔ migrations apply once and are idempotent (66.4454ms) ✔ an edited migration is refused rather than silently diverging (25.92993ms) ✔ a migration removed from disk is reported (16.44362ms) ✔ rows come back as ordinary objects (26.41956ms) ✔ a conditional update claims exactly once (23.96954ms) ✔ deleting a job cascades to its tasks (18.47357ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (18.68026ms) ﹣ migrations apply and retention sweeps on postgres (1.28957ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.1774ms) # SKIP ✔ every example pipeline compiles (43.6012ms) ✔ the distribution example fans in per architecture (13.24497ms) ✔ the node example wires services and features (10.24332ms) ✔ git jobs with safe.directory set (1.92489ms) ✔ it appends to configuration already in the environment (0.31779ms) ✔ a count that is not a number does not corrupt the sequence (0.31361ms) ✔ git accepts the environment we build (36.67706ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (57.10227ms) ﹣ the endpoints and key set come from the discovery document (11.63385ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (160.05138ms) ✔ discovery reports an unreachable provider and a bad status (5.54963ms) ﹣ a token carrying the admin role authenticates as an administrator (2.40801ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (1.24984ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (1.21988ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (6.60743ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (3.26822ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (1.84627ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (10.18359ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.99347ms) # the JSON API was removed ﹣ a forged signature is refused (1.09028ms) # the JSON API was removed ﹣ an expired token is refused (0.18278ms) # the JSON API was removed ﹣ a token from a different issuer is refused (1.16386ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (5.32743ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.54776ms) # docker is not available ﹣ a callback with a forged state is refused (0.56837ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.66035ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.5047ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.4879ms) # the JSON API was removed ✔ a pattern without a star matches exactly (2.95487ms) ✔ a star matches any job of characters (0.75683ms) ✔ the rest of a pattern is literal, not a regular expression (0.36949ms) ✔ a restricted task is left out of jobs for other refs (27.64107ms) ✔ it is left out rather than recorded as skipped (2.90211ms) ✔ tasks depending on an excluded task are excluded too (3.6141ms) ✔ depth and ordering describe the job that will happen (1.32061ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (1.37265ms) ✔ a restricted task cannot match a job that has no ref (1.204ms) ✔ a malformed rule is reported rather than ignored (11.9684ms) ✔ the rule is not inherited from defaults (2.72443ms) ✔ a minimal pipeline compiles (19.75493ms) ✔ version is required and pinned (4.48122ms) ✔ empty and malformed documents are rejected clearly (2.77303ms) ✔ image and script are required (0.70547ms) ✔ image may come from defaults (1.12258ms) ✔ unknown keys are rejected, with a suggestion when close (5.8337ms) ✔ all problems are reported at once (2.72868ms) ✔ durations accept seconds, units and composites (2.45237ms) ✔ durations accept day and week units (1.573ms) ✔ a malformed duration is rejected (3.2685ms) ✔ arch expands into one task per architecture (2.43871ms) ✔ a matrix expands to the cartesian product (1.51861ms) ✔ needs match on shared dimensions rather than fanning out (7.379ms) ✔ a task without the shared dimension depends on every instance (1.04838ms) ✔ match all opts out of dimension matching (1.34977ms) ✔ needs may name one concrete instance (5.90737ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (1.04613ms) ✔ needs on an unknown task lists what is defined (1.87788ms) ✔ self dependency is rejected (0.63855ms) ✔ a dependency cycle names the cycle (1.21881ms) ✔ interpolation substitutes arch and matrix values (5.4338ms) ✔ interpolating an undefined dimension is an error (1.45224ms) ✔ referring to arch without declaring one is an error (1.17009ms) ✔ matrix values must be safe for use in a task name (0.76924ms) ✔ arch may not also be a matrix dimension (0.80411ms) ✔ services get a derived alias and reject duplicates (3.24483ms) ✔ artifacts accept a bare list and reject absolute paths (1.1526ms) ✔ artifact when is constrained (0.65784ms) ✔ defaults are inherited and overridden per task (2.41327ms) ✔ env values must be scalars with valid names (0.79869ms) ✔ parsePipeline normalizes without expanding (1.08534ms) ✔ a realistic distribution pipeline produces the expected graph (1.9764ms) ✔ compiles markers to the placeholder each dialect expects (5.34524ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.2987ms) ✔ ignores markers inside string literals and comments (0.42179ms) ✔ a json literal in default text survives untouched (0.25257ms) ✔ doubling a brace escapes it (0.55496ms) ✔ block comments are skipped, and nest only for postgres (0.27123ms) ✔ postgres dollar quoted bodies are skipped (0.46226ms) ✔ mysql backtick identifiers and hash comments are skipped (0.31847ms) ✔ a malformed marker is rejected with a useful message (1.36804ms) ✔ binds by name, resolving dotted paths (1.55705ms) ✔ an exact key beats path traversal (0.38264ms) ✔ reports every missing key at once (0.42397ms) ✔ rejects an array of parameters, which would silently bind by position (0.36878ms) ✔ normalizes booleans, dates and null (0.27557ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.34131ms) ✔ an artifact past its own deadline is deleted (297.68121ms) ✔ an explicit deadline overrides the policy in both directions (294.74139ms) ✔ an explicit deadline also beats the last good job (132.00923ms) ✔ the last few jobs keep their artifacts however old they are (135.80384ms) ✔ recent artifacts are kept however many jobs have followed (155.77462ms) ✔ an artifact outside both rules is deleted (112.52893ms) ✔ the most recent successful job is kept whatever the policy says (178.58694ms) ✔ only the latest success is protected, not every success (106.80267ms) ✔ a project may keep artifacts forever despite a server default (115.77838ms) ✔ a project setting overrides the server default (85.14355ms) ✔ an unfinished job is never swept (123.61186ms) ✔ logs older than the limit are removed but the task remains (91.92395ms) ✔ a swept log is distinguishable from one that never existed (133.98891ms) ✔ a log is swept only once (138.28578ms) ✔ zero keeps logs forever (106.21824ms) ✔ a storage failure leaves the row for the next pass (100.64801ms) ✔ a sweep deletes no more than its batch (129.08508ms) ✔ one project policy does not reach into another (119.76535ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (282.193ms) ﹣ the api reports and accepts project retention (0.3053ms) # the JSON API was removed ✔ seals and opens a value (5.08618ms) ✔ sealing twice produces different ciphertext (0.80501ms) ✔ without a key, values are stored as marked plaintext (0.55124ms) ✔ a keyed box can still read values written before a key existed (0.33028ms) ✔ an unkeyed box refuses encrypted values with an actionable message (3.48223ms) ✔ the wrong key fails to open (0.85576ms) ✔ tampering with the ciphertext is detected (0.69494ms) ✔ associated data binds a secret to its location (1.92024ms) ✔ a key of the wrong size is refused at construction (0.58215ms) ✔ task ids are opaque, and say nothing about their job (7.4381ms) ✔ time ordered ids sort by creation time (0.45546ms) ✔ random ids use the expected alphabet (0.34098ms) ✔ slugify produces readable project ids and falls back when empty (0.50716ms) ✔ token hashing and constant time comparison (1.43436ms) ✔ the pipeline this project jobs on itself compiles (46.28941ms) ✔ its tasks declare the features they actually need (17.258ms) ✔ publishing is restricted to main and release tags (54.4743ms) ✔ get-vanilla matches the reference signature (3.86453ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.19798ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.35269ms) ✔ amzDate produces both required formats (0.32507ms) ✔ s3 requests carry the content hash header (1.57025ms) ✔ presigned urls carry the signature in the query string (3.30531ms) ✔ an already encoded path is not encoded a second time (0.84473ms) ✔ key validation rejects traversal and absolute paths (2.6698ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.41968ms) ✔ key layout is stable (0.43173ms) ✔ local backend round trips a buffer and reports its digest (28.47289ms) ✔ local backend serves ranges (5.62301ms) ✔ local backend accepts a stream (9.44424ms) ✔ local backend reports a missing object and deletes idempotently (8.58973ms) ✔ local backend has no presigned urls (11.71849ms) ✔ a partial write leaves no object behind (9.94438ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.55407ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.11551ms) ✔ inParts handles a chunk far larger than the part size (0.65843ms) ✔ inParts yields nothing for an empty stream (5.54908ms) ﹣ s3 backend round trips awkward keys against a real server (0.10829ms) # docker is not available ﹣ s3 serves byte ranges (0.07395ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.06421ms) # docker is not available ﹣ a presigned url is usable without credentials (0.13776ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.06702ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.05996ms) # docker is not available ﹣ a stream of unknown length is accepted (0.0523ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.05113ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.05302ms) # docker is not available ﹣ a multipart object still serves ranges (0.04979ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.04694ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.04669ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.04825ms) # docker is not available ✔ every javascript file parses (1053.24727ms) ✔ the shell scripts parse (5.53213ms) ✔ interpolated values are escaped by default (3.29426ms) ✔ quotes and ampersands are escaped inside attributes (0.68566ms) ✔ nested templates and arrays are kept, raw is passed through (0.42244ms) ✔ null, undefined and false render as nothing (0.32812ms) ✔ attrs omits absent values and renders bare booleans (1.08897ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (436.99664ms) ✔ an anonymous visitor cannot see a private job (271.0765ms) ✔ management pages redirect an anonymous visitor to sign in (143.96185ms) ✔ signing in through the form sets a session and reveals the nav (332.89546ms) ✔ a user creates a project through the form and is shown the secret once (230.87655ms) ✔ a project page shows variables and never their values (203.14594ms) ✔ setting and removing a variable returns the updated table (213.09409ms) ✔ a user cannot open or delete a project they do not own (303.29519ms) ✔ registering a worker shows the token once and lists it (197.555ms) ✔ an ordinary user cannot create shared capacity from the form (316.08262ms) ✔ the users page is administrator only and warns about what deletion destroys (274.12684ms) ✔ a running job polls, and a finished one stops (420.12019ms) ✔ a task page streams the log and stops polling once it completes (449.29319ms) ✔ log output is escaped, so a task cannot inject markup into the page (326.97696ms) ✔ a mutation without the htmx header is refused (189.38617ms) ✔ the sign in form is centred rather than stranded at the left edge (166.2637ms) ✔ row actions stay ordinary table cells, so rows keep one height (231.9962ms) ✔ the stylesheet and htmx are served, and nothing else is (155.92193ms) ✔ the project page shows retention, with server defaults as placeholders (218.69078ms) ✔ saving retention through the form stores it, and empty means inherit (258.01661ms) ✔ a negative retention value is refused by the form (209.51005ms) ✔ the project page offers a working directory, defaulting to the server one (269.15607ms) ✔ saving a working directory stores it, and empty clears it (310.9981ms) ✔ an unusable working directory is refused by the form (232.88464ms) ✔ worker config loads from json and reports features (20.45732ms) ✔ worker config reads the token from a file (3.98535ms) ✔ environment overrides the worker config file (2.36756ms) ✔ worker config without a token is rejected (4.13701ms) ✔ a malformed feature is reported with its path (3.29949ms) ✔ shell quoting survives quotes and metacharacters (0.42978ms) ✔ a generated script echoes each command and stops on failure (0.70662ms) ✔ container names are valid for docker and stay unique (1.60787ms) ✔ job arguments carry mounts, env, network and privilege (1.29216ms) ✔ a task container is created without sharing anything with the worker (0.96971ms) ✔ a feature still contributes its bind mounts (0.32506ms) ✔ features resolve into mounts, env and privilege (0.78939ms) ✔ an unknown required feature is reported rather than ignored (0.25354ms) ✔ an artifact pattern reduces to the part that can be copied out (0.53819ms) ✔ overlapping artifact paths are copied out once (0.48966ms) ✔ artifact collection globs, and refuses to leave the workspace (24.85673ms) ✔ artifact when controls collection (0.45661ms) ✔ an idle worker keeps running instead of exiting (4017.48957ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1520.05611ms) ✔ log output is batched and offsets advance (1.93882ms) ✔ a conflicting offset resynchronises instead of duplicating (0.59722ms) ✔ secrets are masked before anything leaves the host (0.85711ms) ✔ a secret split across two writes is still masked (0.34824ms) ✔ a failing conductor does not break the task (0.64114ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 20019.15917 [conductor] done