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 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 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.2 test > node --test "test/**/*.test.js" ✔ every tracked text file is pure ASCII (243.09573ms) ✔ no file uses CRLF line endings or trailing whitespace (181.56745ms) ✔ a password round trips and a wrong one is refused (36.68828ms) ✔ the same password hashes differently each time (23.80091ms) ✔ parameters are read back from the stored hash (26.66279ms) ✔ a malformed stored hash is refused rather than throwing (0.52277ms) ✔ password length is bounded (0.86212ms) ✔ a session token round trips its claims (1.69385ms) ✔ a token signed with another secret is refused (0.35925ms) ✔ a tampered payload is refused (0.37937ms) ✔ an expired token is refused (0.4796ms) ✔ a malformed token is refused rather than throwing (0.3929ms) ✔ cookies are parsed and issued (3.83068ms) ✔ the oidc login state round trips with its return path (0.97291ms) ✔ a missing return path means the root (0.29712ms) ✔ the oidc login state is refused when forged, stale or off-site (0.35723ms) ✔ oidc roles are collected from the usual claim shapes (0.61508ms) ✔ mask replaces secrets, longest first (0.43694ms) ✔ mask ignores very short values and leaves clean output alone (0.21751ms) ✔ health reports the selected drivers (493.3727ms) ✔ a signed trigger creates a job and expands the pipeline (215.59387ms) ✔ an unsigned or wrongly signed trigger is refused (103.34065ms) ✔ github and gitlab push payloads are understood (330.38282ms) ✔ a branch deletion is ignored rather than failing (160.95323ms) ✔ a broken pipeline is reported as a client error with detail (204.58212ms) ✔ a missing pipeline file is reported clearly (278.08444ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (262.21826ms) ✔ a project pointed at a specific file gets no fallback (178.36567ms) ✔ a repository carrying both spellings is refused rather than guessed at (314.45644ms) ✔ a pipeline still using the jobs key is told what it was renamed to (309.44058ms) ✔ a job can be created directly, without a push payload to imitate (333.49782ms) ✔ creating a job requires the same signature as a trigger (166.07064ms) ✔ creating a job insists on a real commit rather than inferring one (144.92839ms) ✔ a job can be read back, with the state of every task (414.30649ms) ✔ a public job is readable without any credential at all (395.56699ms) ✔ a private job needs the trigger secret, and is otherwise absent (254.11442ms) ✔ a job of another project cannot be read through this one (379.74258ms) ✔ a task can be read back on its own, and by its full name (352.96128ms) ✔ reading a task back carries its dependencies and matrix (279.98439ms) ✔ reading a task back never exposes its environment, services or script (391.98308ms) ✔ a task lists the artifacts it stored, with a usable download url (444.76362ms) ✔ reading a task back needs no worker token (255.01058ms) ✔ a private task is absent without a credential, and needs its project named (386.38317ms) ✔ a private task is readable by an administrator, by either path (391.84716ms) ✔ a task of another project cannot be read through this one (349.64487ms) ✔ an unknown task is 404 by either path (204.59728ms) ✔ the worker api rejects missing and invalid tokens (135.19257ms) ✔ independent tasks dispatch concurrently (321.60581ms) ✔ a task is only offered to a worker that satisfies its requires (260.08911ms) ✔ a worker is not offered work for an architecture it cannot build (297.18983ms) ✔ a claimed task carries everything the worker needs (314.20497ms) ✔ a task that requires a feature reports it to the worker (451.06887ms) ✔ the standard conductor variables are present in the task environment (380.07047ms) ✔ the source tarball is served from the mirror (438.19648ms) ✔ a worker cannot touch a task it does not hold (292.79479ms) ✔ log appends are resumable and deduplicated by offset (297.54501ms) ✔ an oversized log chunk is refused (266.25048ms) ✔ a finished log moves to storage and is still readable (437.57225ms) ✔ artifacts are stored, hashed, and stripped of traversal (433.91038ms) ✔ an artifact shorter than its content-length is rejected (308.36932ms) ✔ success releases dependents, matched on shared dimensions (243.75667ms) ✔ failure skips transitive dependents, not just direct ones (245.86308ms) ✔ a job settles as failed once every task is terminal (279.70953ms) ✔ a job settles as success when everything passes (288.79918ms) ✔ an allowed failure does not fail the job or block dependents (407.65999ms) ✔ a task with retries left is requeued instead of failing the job (307.3572ms) ✔ heartbeats keep a task alive and report cancellation (297.00232ms) ✔ the reaper fails a task whose worker stopped reporting (310.15932ms) ✔ a second push produces an independent, numbered job (589.4593ms) ﹣ jobs can be listed and filtered by project (0.94428ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.32981ms) # the JSON API was removed ✔ a disabled project refuses triggers (183.03377ms) ✔ a trigger for an unknown project is a 404 (169.27405ms) ✔ a commit that is not in the repository is refused (279.51775ms) ✔ a task is told to fetch an archive, and never the repository itself (299.34646ms) ✔ the source archive is the bare tree, with no wrapping directory (437.01854ms) ✔ the working directory is resolved from the pipeline, then the project (1263.04129ms) ✔ an unusable working directory is refused rather than sanitised (1260.23113ms) ✔ the trigger secret is not stored in the clear (174.88464ms) ✔ worker tokens are stored only as hashes (169.33918ms) ✔ defaults select sqlite, local storage and local auth (5.3655ms) ✔ configuring an s3 bucket switches the storage driver (0.94889ms) ✔ a partial s3 configuration is rejected rather than half applied (1.35049ms) ✔ configuring an oidc discovery url switches the auth mode (0.75395ms) ✔ an oidc discovery url without a client id is rejected (0.75598ms) ✔ a database url selects its dialect (1.38785ms) ✔ an unsupported database scheme is reported clearly (1.08431ms) ✔ a sqlite url collapses into database.path (1.93006ms) ✔ environment variables override the config file (35.52626ms) ✔ relative paths resolve against the config file directory (10.41276ms) ✔ a missing explicit config file is an error, a missing default is not (2.80274ms) ✔ a heartbeat timeout below the reap interval is rejected (10.55925ms) ✔ a non-integer port is rejected with the variable named (0.87662ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.50215ms) ✔ stateDirs omits the storage directory when s3 is in use (1.51005ms) ✔ the loaded config is frozen (0.66164ms) ✔ topological order places dependencies first (3.99367ms) ✔ topological order is deterministic (2.93695ms) ✔ a cycle is detected and named (1.40344ms) ✔ depth reflects the longest path, not insertion order (0.54895ms) ✔ independent tasks are runnable at the same time (0.75602ms) ✔ a task becomes runnable only once every dependency succeeds (0.5589ms) ✔ a running dependency does not release its dependents (0.49848ms) ✔ failure skips transitive dependents, not just direct ones (0.61081ms) ✔ a skipped dependency never releases a dependent (0.59026ms) ✔ allowed failures can satisfy a dependency when asked to (0.58812ms) ✔ transitive dependents of a leaf is empty (0.34101ms) ✔ graph helpers tolerate dependencies outside the set (0.45676ms) ✔ dialect detection covers every supported scheme (2.05288ms) ✔ statement splitter respects literals and comments (0.77656ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.30203ms) ✔ migrations apply once and are idempotent (85.08383ms) ✔ an edited migration is refused rather than silently diverging (29.601ms) ✔ a migration removed from disk is reported (15.48608ms) ✔ rows come back as ordinary objects (21.61986ms) ✔ a conditional update claims exactly once (18.08238ms) ✔ deleting a job cascades to its tasks (15.67409ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (30.56654ms) ﹣ migrations apply and retention sweeps on postgres (9.26198ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (1.16812ms) # SKIP ✔ every example pipeline compiles (222.19409ms) ✔ the distribution example fans in per architecture (53.6411ms) ✔ the node example wires services and features (17.85358ms) ✔ git jobs with safe.directory set (3.04524ms) ✔ it appends to configuration already in the environment (0.52747ms) ✔ a count that is not a number does not corrupt the sequence (1.3961ms) ✔ git accepts the environment we build (32.09133ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (62.03586ms) ﹣ the endpoints and key set come from the discovery document (1.65888ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (37.63231ms) ✔ discovery reports an unreachable provider and a bad status (1.50412ms) ﹣ a token carrying the admin role authenticates as an administrator (0.55235ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.23496ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.18873ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (1.72906ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.48568ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.27063ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.28516ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.19137ms) # the JSON API was removed ﹣ a forged signature is refused (1.98705ms) # the JSON API was removed ﹣ an expired token is refused (0.7611ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.22746ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.1498ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.42898ms) # docker is not available ﹣ a callback with a forged state is refused (0.13333ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.06627ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.06022ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.05639ms) # the JSON API was removed ✔ a pattern without a star matches exactly (2.30518ms) ✔ a star matches any job of characters (0.71687ms) ✔ the rest of a pattern is literal, not a regular expression (0.52755ms) ✔ a restricted task is left out of jobs for other refs (30.16602ms) ✔ it is left out rather than recorded as skipped (3.21612ms) ✔ tasks depending on an excluded task are excluded too (3.9682ms) ✔ depth and ordering describe the job that will happen (2.17236ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (4.43672ms) ✔ a restricted task cannot match a job that has no ref (1.49544ms) ✔ a malformed rule is reported rather than ignored (8.18203ms) ✔ the rule is not inherited from defaults (6.13182ms) ✔ a minimal pipeline compiles (19.23723ms) ✔ version is required and pinned (4.53262ms) ✔ empty and malformed documents are rejected clearly (4.16019ms) ✔ image and script are required (1.10532ms) ✔ image may come from defaults (2.20268ms) ✔ unknown keys are rejected, with a suggestion when close (4.35885ms) ✔ all problems are reported at once (1.20735ms) ✔ durations accept seconds, units and composites (3.3556ms) ✔ durations accept day and week units (1.81037ms) ✔ a malformed duration is rejected (1.46065ms) ✔ arch expands into one task per architecture (1.36516ms) ✔ a matrix expands to the cartesian product (1.8785ms) ✔ needs match on shared dimensions rather than fanning out (3.60971ms) ✔ a task without the shared dimension depends on every instance (1.14517ms) ✔ match all opts out of dimension matching (1.89366ms) ✔ needs may name one concrete instance (1.58932ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (1.16644ms) ✔ needs on an unknown task lists what is defined (2.91224ms) ✔ self dependency is rejected (0.78708ms) ✔ a dependency cycle names the cycle (3.34986ms) ✔ interpolation substitutes arch and matrix values (4.91678ms) ✔ interpolating an undefined dimension is an error (0.89387ms) ✔ referring to arch without declaring one is an error (1.23733ms) ✔ matrix values must be safe for use in a task name (0.68156ms) ✔ arch may not also be a matrix dimension (0.78606ms) ✔ services get a derived alias and reject duplicates (6.23ms) ✔ artifacts accept a bare list and reject absolute paths (1.19935ms) ✔ artifact when is constrained (0.56972ms) ✔ defaults are inherited and overridden per task (1.11105ms) ✔ env values must be scalars with valid names (0.80138ms) ✔ parsePipeline normalizes without expanding (0.62216ms) ✔ a realistic distribution pipeline produces the expected graph (2.0428ms) ✔ compiles markers to the placeholder each dialect expects (9.56944ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.4861ms) ✔ ignores markers inside string literals and comments (0.5728ms) ✔ a json literal in default text survives untouched (0.33724ms) ✔ doubling a brace escapes it (0.40334ms) ✔ block comments are skipped, and nest only for postgres (0.3553ms) ✔ postgres dollar quoted bodies are skipped (0.40953ms) ✔ mysql backtick identifiers and hash comments are skipped (3.94173ms) ✔ a malformed marker is rejected with a useful message (1.27001ms) ✔ binds by name, resolving dotted paths (1.0878ms) ✔ an exact key beats path traversal (0.36561ms) ✔ reports every missing key at once (0.5764ms) ✔ rejects an array of parameters, which would silently bind by position (0.47199ms) ✔ normalizes booleans, dates and null (0.35868ms) ✔ rejects an object value, which is nearly always a forgotten stringify (5.62912ms) ✔ an artifact past its own deadline is deleted (289.63458ms) ✔ an explicit deadline overrides the policy in both directions (233.00652ms) ✔ an explicit deadline also beats the last good job (105.89812ms) ✔ the last few jobs keep their artifacts however old they are (108.41528ms) ✔ recent artifacts are kept however many jobs have followed (106.35164ms) ✔ an artifact outside both rules is deleted (119.15541ms) ✔ the most recent successful job is kept whatever the policy says (94.01181ms) ✔ only the latest success is protected, not every success (101.46574ms) ✔ a project may keep artifacts forever despite a server default (97.5566ms) ✔ a project setting overrides the server default (83.04462ms) ✔ an unfinished job is never swept (104.67857ms) ✔ logs older than the limit are removed but the task remains (98.4631ms) ✔ a swept log is distinguishable from one that never existed (90.87029ms) ✔ a log is swept only once (134.48291ms) ✔ zero keeps logs forever (128.11336ms) ✔ a storage failure leaves the row for the next pass (64.76807ms) ✔ a sweep deletes no more than its batch (121.12762ms) ✔ one project policy does not reach into another (173.28597ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (270.90226ms) ﹣ the api reports and accepts project retention (0.39716ms) # the JSON API was removed ✔ seals and opens a value (6.3205ms) ✔ sealing twice produces different ciphertext (0.96174ms) ✔ without a key, values are stored as marked plaintext (0.35521ms) ✔ a keyed box can still read values written before a key existed (0.25086ms) ✔ an unkeyed box refuses encrypted values with an actionable message (2.3834ms) ✔ the wrong key fails to open (0.62979ms) ✔ tampering with the ciphertext is detected (0.59634ms) ✔ associated data binds a secret to its location (0.96368ms) ✔ a key of the wrong size is refused at construction (0.53873ms) ✔ task ids are opaque, and say nothing about their job (4.81376ms) ✔ time ordered ids sort by creation time (0.47484ms) ✔ random ids use the expected alphabet (0.34701ms) ✔ slugify produces readable project ids and falls back when empty (0.49483ms) ✔ token hashing and constant time comparison (1.32414ms) ✔ the pipeline this project jobs on itself compiles (87.85942ms) ✔ its tasks declare the features they actually need (9.64705ms) ✔ publishing is restricted to main and release tags (275.12597ms) ✔ get-vanilla matches the reference signature (5.12451ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.22683ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.35422ms) ✔ amzDate produces both required formats (0.40176ms) ✔ s3 requests carry the content hash header (0.95967ms) ✔ presigned urls carry the signature in the query string (3.39733ms) ✔ an already encoded path is not encoded a second time (1.14923ms) ✔ key validation rejects traversal and absolute paths (3.3741ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.64921ms) ✔ key layout is stable (0.61382ms) ✔ local backend round trips a buffer and reports its digest (40.32222ms) ✔ local backend serves ranges (6.64943ms) ✔ local backend accepts a stream (12.70137ms) ✔ local backend reports a missing object and deletes idempotently (3.52801ms) ✔ local backend has no presigned urls (4.08941ms) ✔ a partial write leaves no object behind (3.73741ms) ✔ part size grows so that a huge object still fits in 10000 parts (0.67147ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.49792ms) ✔ inParts handles a chunk far larger than the part size (0.8532ms) ✔ inParts yields nothing for an empty stream (0.64892ms) ﹣ s3 backend round trips awkward keys against a real server (0.10198ms) # docker is not available ﹣ s3 serves byte ranges (0.0866ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.08046ms) # docker is not available ﹣ a presigned url is usable without credentials (0.1508ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.14911ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.12177ms) # docker is not available ﹣ a stream of unknown length is accepted (0.06554ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.05716ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.07591ms) # docker is not available ﹣ a multipart object still serves ranges (0.06509ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.05751ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.06953ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.08064ms) # docker is not available ✔ every javascript file parses (917.72258ms) ✔ the shell scripts parse (4.13675ms) ✔ interpolated values are escaped by default (15.74315ms) ✔ quotes and ampersands are escaped inside attributes (2.00111ms) ✔ nested templates and arrays are kept, raw is passed through (2.25167ms) ✔ null, undefined and false render as nothing (1.39504ms) ✔ attrs omits absent values and renders bare booleans (2.39474ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (465.66958ms) ✔ an anonymous visitor cannot see a private job (263.71635ms) ✔ management pages redirect an anonymous visitor to sign in (245.77181ms) ✔ signing in through the form sets a session and reveals the nav (331.07834ms) ✔ a user creates a project through the form and is shown the secret once (247.93655ms) ✔ a project page shows variables and never their values (319.52753ms) ✔ setting and removing a variable returns the updated table (200.62145ms) ✔ a user cannot open or delete a project they do not own (368.04632ms) ✔ registering a worker shows the token once and lists it (293.75225ms) ✔ an ordinary user cannot create shared capacity from the form (314.79411ms) ✔ the users page is administrator only and warns about what deletion destroys (319.11707ms) ✔ a running job polls, and a finished one stops (447.53731ms) ✔ a task page streams the log and stops polling once it completes (431.39978ms) ✔ log output is escaped, so a task cannot inject markup into the page (551.95785ms) ✔ a mutation without the htmx header is refused (258.36866ms) ✔ the sign in form is centred rather than stranded at the left edge (289.57512ms) ✔ row actions stay ordinary table cells, so rows keep one height (226.72428ms) ✔ the stylesheet and htmx are served, and nothing else is (252.24275ms) ✔ the project page shows retention, with server defaults as placeholders (297.74877ms) ✔ saving retention through the form stores it, and empty means inherit (248.17045ms) ✔ a negative retention value is refused by the form (213.47211ms) ✔ the project page offers a working directory, defaulting to the server one (285.68ms) ✔ saving a working directory stores it, and empty clears it (328.58108ms) ✔ an unusable working directory is refused by the form (251.07634ms) ✔ worker config loads from json and reports features (28.48939ms) ✔ worker config reads the token from a file (5.36992ms) ✔ environment overrides the worker config file (15.80735ms) ✔ worker config without a token is rejected (3.9604ms) ✔ a malformed feature is reported with its path (7.27501ms) ✔ shell quoting survives quotes and metacharacters (0.49202ms) ✔ a generated script echoes each command and stops on failure (0.47678ms) ✔ container names are valid for docker and stay unique (3.77097ms) ✔ job arguments carry mounts, env, network and privilege (1.0965ms) ✔ a task container is created without sharing anything with the worker (0.92609ms) ✔ a feature still contributes its bind mounts (0.44739ms) ✔ features resolve into mounts, env and privilege (0.79716ms) ✔ an unknown required feature is reported rather than ignored (0.52082ms) ✔ an artifact pattern reduces to the part that can be copied out (0.62149ms) ✔ overlapping artifact paths are copied out once (0.64362ms) ✔ artifact collection globs, and refuses to leave the workspace (29.42128ms) ✔ artifact when controls collection (0.34783ms) ✔ an idle worker keeps running instead of exiting (4010.0025ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1519.40312ms) ✔ log output is batched and offsets advance (1.7489ms) ✔ a conflicting offset resynchronises instead of duplicating (0.63549ms) ✔ secrets are masked before anything leaves the host (0.79026ms) ✔ a secret split across two writes is still masked (0.45994ms) ✔ a failing conductor does not break the task (0.69596ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 20249.52439 [conductor] done