test
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-aarch64
duration34s
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 (213.77242ms) ✔ no file uses CRLF line endings or trailing whitespace (134.84656ms) ✔ a password round trips and a wrong one is refused (27.78119ms) ✔ the same password hashes differently each time (19.87358ms) ✔ parameters are read back from the stored hash (13.8525ms) ✔ a malformed stored hash is refused rather than throwing (1.42919ms) ✔ password length is bounded (2.8789ms) ✔ a session token round trips its claims (1.9403ms) ✔ a token signed with another secret is refused (0.68693ms) ✔ a tampered payload is refused (0.77485ms) ✔ an expired token is refused (2.90924ms) ✔ a malformed token is refused rather than throwing (0.78823ms) ✔ cookies are parsed and issued (6.75591ms) ✔ the oidc login state round trips with its return path (1.97383ms) ✔ a missing return path means the root (0.61831ms) ✔ the oidc login state is refused when forged, stale or off-site (0.86972ms) ✔ oidc roles are collected from the usual claim shapes (1.17109ms) ✔ mask replaces secrets, longest first (0.88677ms) ✔ mask ignores very short values and leaves clean output alone (0.47205ms) ✔ health reports the selected drivers (411.94145ms) ✔ a signed trigger creates a job and expands the pipeline (253.4497ms) ✔ an unsigned or wrongly signed trigger is refused (185.89402ms) ✔ github and gitlab push payloads are understood (505.20859ms) ✔ a branch deletion is ignored rather than failing (109.10244ms) ✔ a broken pipeline is reported as a client error with detail (245.88699ms) ✔ a missing pipeline file is reported clearly (210.90035ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (284.03518ms) ✔ a project pointed at a specific file gets no fallback (292.52356ms) ✔ a repository carrying both spellings is refused rather than guessed at (416.53932ms) ✔ a pipeline still using the jobs key is told what it was renamed to (464.64466ms) ✔ a job can be created directly, without a push payload to imitate (427.13838ms) ✔ creating a job requires the same signature as a trigger (208.66543ms) ✔ creating a job insists on a real commit rather than inferring one (215.67367ms) ✔ a job can be read back, with the state of every task (365.95244ms) ✔ a public job is readable without any credential at all (435.95065ms) ✔ a private job needs the trigger secret, and is otherwise absent (467.13045ms) ✔ a job of another project cannot be read through this one (410.10402ms) ✔ a task can be read back on its own, and by its full name (452.84316ms) ✔ reading a task back carries its dependencies and matrix (410.66628ms) ✔ reading a task back never exposes its environment, services or script (418.52477ms) ✔ a task lists the artifacts it stored, with a usable download url (473.32619ms) ✔ reading a task back needs no worker token (449.96794ms) ✔ a private task is absent without a credential, and needs its project named (432.30259ms) ✔ a private task is readable by an administrator, by either path (598.97447ms) ✔ a task of another project cannot be read through this one (424.08221ms) ✔ an unknown task is 404 by either path (184.92533ms) ✔ the worker api rejects missing and invalid tokens (181.67088ms) ✔ independent tasks dispatch concurrently (359.52165ms) ✔ a task is only offered to a worker that satisfies its requires (477.43338ms) ✔ a worker is not offered work for an architecture it cannot build (421.01891ms) ✔ a claimed task carries everything the worker needs (421.77162ms) ✔ a task that requires a feature reports it to the worker (429.49325ms) ✔ the standard conductor variables are present in the task environment (316.99077ms) ✔ the source tarball is served from the mirror (441.90217ms) ✔ a worker cannot touch a task it does not hold (443.41465ms) ✔ log appends are resumable and deduplicated by offset (400.25823ms) ✔ an oversized log chunk is refused (397.63842ms) ✔ a finished log moves to storage and is still readable (434.24785ms) ✔ artifacts are stored, hashed, and stripped of traversal (453.10058ms) ✔ an artifact shorter than its content-length is rejected (445.10233ms) ✔ success releases dependents, matched on shared dimensions (403.8135ms) ✔ failure skips transitive dependents, not just direct ones (466.22196ms) ✔ a job settles as failed once every task is terminal (311.38779ms) ✔ a job settles as success when everything passes (494.55115ms) ✔ an allowed failure does not fail the job or block dependents (453.61557ms) ✔ a task with retries left is requeued instead of failing the job (335.30544ms) ✔ heartbeats keep a task alive and report cancellation (446.78304ms) ✔ the reaper fails a task whose worker stopped reporting (411.2014ms) ✔ a second push produces an independent, numbered job (747.73425ms) ﹣ jobs can be listed and filtered by project (0.39155ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.13818ms) # the JSON API was removed ✔ a disabled project refuses triggers (168.04289ms) ✔ a trigger for an unknown project is a 404 (174.84651ms) ✔ a commit that is not in the repository is refused (340.29846ms) ✔ a task is told to fetch an archive, and never the repository itself (427.23739ms) ✔ the source archive is the bare tree, with no wrapping directory (477.93811ms) ✔ the working directory is resolved from the pipeline, then the project (1045.57331ms) ✔ an unusable working directory is refused rather than sanitised (1468.53674ms) ✔ the trigger secret is not stored in the clear (188.08881ms) ✔ worker tokens are stored only as hashes (159.49486ms) ✔ defaults select sqlite, local storage and local auth (6.25096ms) ✔ configuring an s3 bucket switches the storage driver (1.35133ms) ✔ a partial s3 configuration is rejected rather than half applied (1.69892ms) ✔ configuring an oidc discovery url switches the auth mode (0.65639ms) ✔ an oidc discovery url without a client id is rejected (0.97225ms) ✔ a database url selects its dialect (1.90341ms) ✔ an unsupported database scheme is reported clearly (0.66402ms) ✔ a sqlite url collapses into database.path (2.21508ms) ✔ environment variables override the config file (31.98813ms) ✔ relative paths resolve against the config file directory (5.72897ms) ✔ a missing explicit config file is an error, a missing default is not (2.45398ms) ✔ a heartbeat timeout below the reap interval is rejected (15.98875ms) ✔ a non-integer port is rejected with the variable named (0.77835ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.46508ms) ✔ stateDirs omits the storage directory when s3 is in use (1.24124ms) ✔ the loaded config is frozen (0.62358ms) ✔ topological order places dependencies first (2.86204ms) ✔ topological order is deterministic (3.63808ms) ✔ a cycle is detected and named (1.35027ms) ✔ depth reflects the longest path, not insertion order (0.7218ms) ✔ independent tasks are runnable at the same time (0.70407ms) ✔ a task becomes runnable only once every dependency succeeds (0.66023ms) ✔ a running dependency does not release its dependents (0.45798ms) ✔ failure skips transitive dependents, not just direct ones (0.63702ms) ✔ a skipped dependency never releases a dependent (0.99824ms) ✔ allowed failures can satisfy a dependency when asked to (0.74018ms) ✔ transitive dependents of a leaf is empty (0.3164ms) ✔ graph helpers tolerate dependencies outside the set (0.44903ms) ✔ dialect detection covers every supported scheme (2.55278ms) ✔ statement splitter respects literals and comments (0.79657ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.31356ms) ✔ migrations apply once and are idempotent (62.36993ms) ✔ an edited migration is refused rather than silently diverging (27.16448ms) ✔ a migration removed from disk is reported (23.30959ms) ✔ rows come back as ordinary objects (17.80658ms) ✔ a conditional update claims exactly once (28.30589ms) ✔ deleting a job cascades to its tasks (26.80871ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (23.14327ms) ﹣ migrations apply and retention sweeps on postgres (1.72612ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.1976ms) # SKIP ✔ every example pipeline compiles (50.22851ms) ✔ the distribution example fans in per architecture (17.17898ms) ✔ the node example wires services and features (6.07551ms) ✔ git jobs with safe.directory set (2.50447ms) ✔ it appends to configuration already in the environment (0.32831ms) ✔ a count that is not a number does not corrupt the sequence (0.50217ms) ✔ git accepts the environment we build (44.33097ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (80.87251ms) ﹣ the endpoints and key set come from the discovery document (1.44099ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (39.04397ms) ✔ discovery reports an unreachable provider and a bad status (1.63047ms) ﹣ a token carrying the admin role authenticates as an administrator (0.2747ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.32797ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.26676ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (0.41345ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.36476ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.82668ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.97344ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.16969ms) # the JSON API was removed ﹣ a forged signature is refused (0.35602ms) # the JSON API was removed ﹣ an expired token is refused (0.95824ms) # the JSON API was removed ﹣ a token from a different issuer is refused (1.02635ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.69429ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.70475ms) # docker is not available ﹣ a callback with a forged state is refused (5.08622ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.58542ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.53568ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.53152ms) # the JSON API was removed ✔ a pattern without a star matches exactly (3.22318ms) ✔ a star matches any job of characters (0.73125ms) ✔ the rest of a pattern is literal, not a regular expression (0.36851ms) ✔ a restricted task is left out of jobs for other refs (31.37499ms) ✔ it is left out rather than recorded as skipped (2.88436ms) ✔ tasks depending on an excluded task are excluded too (2.93071ms) ✔ depth and ordering describe the job that will happen (2.41733ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (2.56097ms) ✔ a restricted task cannot match a job that has no ref (6.73712ms) ✔ a malformed rule is reported rather than ignored (8.14449ms) ✔ the rule is not inherited from defaults (4.84027ms) ✔ a minimal pipeline compiles (28.03528ms) ✔ version is required and pinned (4.43594ms) ✔ empty and malformed documents are rejected clearly (4.39624ms) ✔ image and script are required (1.00593ms) ✔ image may come from defaults (2.6949ms) ✔ unknown keys are rejected, with a suggestion when close (3.85598ms) ✔ all problems are reported at once (1.33057ms) ✔ durations accept seconds, units and composites (3.08499ms) ✔ durations accept day and week units (2.03749ms) ✔ a malformed duration is rejected (1.52599ms) ✔ arch expands into one task per architecture (2.32483ms) ✔ a matrix expands to the cartesian product (2.215ms) ✔ needs match on shared dimensions rather than fanning out (4.66033ms) ✔ a task without the shared dimension depends on every instance (1.42881ms) ✔ match all opts out of dimension matching (2.12351ms) ✔ needs may name one concrete instance (2.60628ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (1.07038ms) ✔ needs on an unknown task lists what is defined (1.24096ms) ✔ self dependency is rejected (0.93029ms) ✔ a dependency cycle names the cycle (1.7289ms) ✔ interpolation substitutes arch and matrix values (1.68228ms) ✔ interpolating an undefined dimension is an error (1.22643ms) ✔ referring to arch without declaring one is an error (1.77314ms) ✔ matrix values must be safe for use in a task name (0.83793ms) ✔ arch may not also be a matrix dimension (0.63277ms) ✔ services get a derived alias and reject duplicates (4.57679ms) ✔ artifacts accept a bare list and reject absolute paths (1.77646ms) ✔ artifact when is constrained (0.98506ms) ✔ defaults are inherited and overridden per task (1.24811ms) ✔ env values must be scalars with valid names (0.97884ms) ✔ parsePipeline normalizes without expanding (1.03941ms) ✔ a realistic distribution pipeline produces the expected graph (2.71269ms) ✔ compiles markers to the placeholder each dialect expects (7.29994ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.28947ms) ✔ ignores markers inside string literals and comments (0.39687ms) ✔ a json literal in default text survives untouched (0.25051ms) ✔ doubling a brace escapes it (0.30064ms) ✔ block comments are skipped, and nest only for postgres (0.26743ms) ✔ postgres dollar quoted bodies are skipped (0.31266ms) ✔ mysql backtick identifiers and hash comments are skipped (0.31671ms) ✔ a malformed marker is rejected with a useful message (1.3519ms) ✔ binds by name, resolving dotted paths (1.11074ms) ✔ an exact key beats path traversal (0.38629ms) ✔ reports every missing key at once (0.53711ms) ✔ rejects an array of parameters, which would silently bind by position (0.41412ms) ✔ normalizes booleans, dates and null (0.30277ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.4082ms) ✔ an artifact past its own deadline is deleted (410.80164ms) ✔ an explicit deadline overrides the policy in both directions (283.48845ms) ✔ an explicit deadline also beats the last good job (163.99476ms) ✔ the last few jobs keep their artifacts however old they are (132.61189ms) ✔ recent artifacts are kept however many jobs have followed (146.43287ms) ✔ an artifact outside both rules is deleted (157.90302ms) ✔ the most recent successful job is kept whatever the policy says (167.84954ms) ✔ only the latest success is protected, not every success (98.1839ms) ✔ a project may keep artifacts forever despite a server default (123.58771ms) ✔ a project setting overrides the server default (156.18048ms) ✔ an unfinished job is never swept (82.74141ms) ✔ logs older than the limit are removed but the task remains (93.32765ms) ✔ a swept log is distinguishable from one that never existed (161.61303ms) ✔ a log is swept only once (148.86785ms) ✔ zero keeps logs forever (123.43161ms) ✔ a storage failure leaves the row for the next pass (144.35979ms) ✔ a sweep deletes no more than its batch (119.49979ms) ✔ one project policy does not reach into another (96.30389ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (224.4272ms) ﹣ the api reports and accepts project retention (0.31149ms) # the JSON API was removed ✔ seals and opens a value (5.38994ms) ✔ sealing twice produces different ciphertext (0.85928ms) ✔ without a key, values are stored as marked plaintext (0.441ms) ✔ a keyed box can still read values written before a key existed (0.33634ms) ✔ an unkeyed box refuses encrypted values with an actionable message (1.16355ms) ✔ the wrong key fails to open (0.68084ms) ✔ tampering with the ciphertext is detected (0.62181ms) ✔ associated data binds a secret to its location (0.9284ms) ✔ a key of the wrong size is refused at construction (0.43958ms) ✔ task ids are opaque, and say nothing about their job (4.14754ms) ✔ time ordered ids sort by creation time (0.40318ms) ✔ random ids use the expected alphabet (1.24845ms) ✔ slugify produces readable project ids and falls back when empty (0.53841ms) ✔ token hashing and constant time comparison (1.4326ms) ✔ the pipeline this project jobs on itself compiles (48.5128ms) ✔ its tasks declare the features they actually need (9.61966ms) ✔ publishing is restricted to main and release tags (83.24443ms) ✔ get-vanilla matches the reference signature (6.10477ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.57331ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.70781ms) ✔ amzDate produces both required formats (0.35649ms) ✔ s3 requests carry the content hash header (0.95787ms) ✔ presigned urls carry the signature in the query string (3.38267ms) ✔ an already encoded path is not encoded a second time (1.09355ms) ✔ key validation rejects traversal and absolute paths (3.10646ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.43945ms) ✔ key layout is stable (0.81825ms) ✔ local backend round trips a buffer and reports its digest (34.98041ms) ✔ local backend serves ranges (12.19845ms) ✔ local backend accepts a stream (13.75618ms) ✔ local backend reports a missing object and deletes idempotently (4.10814ms) ✔ local backend has no presigned urls (19.54436ms) ✔ a partial write leaves no object behind (13.73843ms) ✔ part size grows so that a huge object still fits in 10000 parts (0.86262ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (6.25769ms) ✔ inParts handles a chunk far larger than the part size (0.75377ms) ✔ inParts yields nothing for an empty stream (0.95325ms) ﹣ s3 backend round trips awkward keys against a real server (0.08636ms) # docker is not available ﹣ s3 serves byte ranges (0.0803ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.06611ms) # docker is not available ﹣ a presigned url is usable without credentials (1.31197ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.0899ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.06349ms) # docker is not available ﹣ a stream of unknown length is accepted (0.06048ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.05466ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.05165ms) # docker is not available ﹣ a multipart object still serves ranges (0.05094ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.05028ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.04758ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.04581ms) # docker is not available ✔ every javascript file parses (988.38225ms) ✔ the shell scripts parse (4.08721ms) ✔ interpolated values are escaped by default (2.67262ms) ✔ quotes and ampersands are escaped inside attributes (0.65572ms) ✔ nested templates and arrays are kept, raw is passed through (0.663ms) ✔ null, undefined and false render as nothing (0.46723ms) ✔ attrs omits absent values and renders bare booleans (0.82105ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (559.5579ms) ✔ an anonymous visitor cannot see a private job (281.77622ms) ✔ management pages redirect an anonymous visitor to sign in (237.33908ms) ✔ signing in through the form sets a session and reveals the nav (306.87631ms) ✔ a user creates a project through the form and is shown the secret once (250.61528ms) ✔ a project page shows variables and never their values (230.17112ms) ✔ setting and removing a variable returns the updated table (266.5316ms) ✔ a user cannot open or delete a project they do not own (340.44902ms) ✔ registering a worker shows the token once and lists it (313.32285ms) ✔ an ordinary user cannot create shared capacity from the form (380.30021ms) ✔ the users page is administrator only and warns about what deletion destroys (453.64907ms) ✔ a running job polls, and a finished one stops (386.47263ms) ✔ a task page streams the log and stops polling once it completes (275.35712ms) ✔ log output is escaped, so a task cannot inject markup into the page (349.80009ms) ✔ a mutation without the htmx header is refused (232.37267ms) ✔ the sign in form is centred rather than stranded at the left edge (238.9698ms) ✔ row actions stay ordinary table cells, so rows keep one height (257.91346ms) ✔ the stylesheet and htmx are served, and nothing else is (297.82675ms) ✔ the project page shows retention, with server defaults as placeholders (245.73795ms) ✔ saving retention through the form stores it, and empty means inherit (246.62968ms) ✔ a negative retention value is refused by the form (289.2792ms) ✔ the project page offers a working directory, defaulting to the server one (261.48616ms) ✔ saving a working directory stores it, and empty clears it (253.65137ms) ✔ an unusable working directory is refused by the form (335.12091ms) ✔ worker config loads from json and reports features (31.89828ms) ✔ worker config reads the token from a file (4.56366ms) ✔ environment overrides the worker config file (3.8984ms) ✔ worker config without a token is rejected (9.96756ms) ✔ a malformed feature is reported with its path (3.03586ms) ✔ shell quoting survives quotes and metacharacters (0.54477ms) ✔ a generated script echoes each command and stops on failure (0.51204ms) ✔ container names are valid for docker and stay unique (1.32973ms) ✔ job arguments carry mounts, env, network and privilege (0.90292ms) ✔ a task container is created without sharing anything with the worker (0.80646ms) ✔ a feature still contributes its bind mounts (0.28263ms) ✔ features resolve into mounts, env and privilege (0.47435ms) ✔ an unknown required feature is reported rather than ignored (0.19658ms) ✔ an artifact pattern reduces to the part that can be copied out (0.41035ms) ✔ overlapping artifact paths are copied out once (0.44496ms) ✔ artifact collection globs, and refuses to leave the workspace (24.46971ms) ✔ artifact when controls collection (0.31274ms) ✔ an idle worker keeps running instead of exiting (4008.76312ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1521.01336ms) ✔ log output is batched and offsets advance (1.99289ms) ✔ a conflicting offset resynchronises instead of duplicating (0.95072ms) ✔ secrets are masked before anything leaves the host (1.43469ms) ✔ a secret split across two writes is still masked (0.74971ms) ✔ a failing conductor does not break the task (1.21444ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 24893.85581 [conductor] done