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 49200bfa627c attempt 1 [conductor] image node:24-alpine $ apk add --no-cache git ( 1/12) Installing brotli-libs (1.2.0-r1) ( 2/12) Installing c-ares (1.34.8-r0) ( 3/12) Installing libunistring (1.4.2-r0) ( 4/12) Installing libidn2 (2.3.8-r0) ( 5/12) Installing nghttp2-libs (1.69.0-r0) ( 6/12) Installing libpsl (0.21.5-r3) ( 7/12) Installing zstd-libs (1.5.7-r2) ( 8/12) Installing libcurl (8.22.0-r0) ( 9/12) Installing libexpat (2.8.4-r0) (10/12) Installing pcre2 (10.48-r0) (11/12) Installing git (2.54.0-r0) (12/12) Installing git-init-template (2.54.0-r0) Executing busybox-1.37.0-r31.trigger OK: 24.0 MiB in 30 packages $ npm install --no-audit --no-fund added 78 packages in 3s npm notice npm notice New major version of npm available! 11.19.0 -> 12.0.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2 npm notice To update run: npm install -g npm@12.0.2 npm notice $ npm test > conductor@0.4.4 test > node --test "test/**/*.test.js" ✔ every tracked text file is pure ASCII (152.87668ms) ✔ no file uses CRLF line endings or trailing whitespace (153.35336ms) ✔ a password round trips and a wrong one is refused (29.70852ms) ✔ the same password hashes differently each time (35.14955ms) ✔ parameters are read back from the stored hash (14.83672ms) ✔ a malformed stored hash is refused rather than throwing (0.63644ms) ✔ password length is bounded (0.78617ms) ✔ a session token round trips its claims (1.95019ms) ✔ a token signed with another secret is refused (0.84029ms) ✔ a tampered payload is refused (0.42936ms) ✔ an expired token is refused (0.7342ms) ✔ a malformed token is refused rather than throwing (0.49221ms) ✔ cookies are parsed and issued (2.3309ms) ✔ the oidc login state round trips with its return path (1.32827ms) ✔ a missing return path means the root (0.39763ms) ✔ the oidc login state is refused when forged, stale or off-site (0.6102ms) ✔ oidc roles are collected from the usual claim shapes (0.76404ms) ✔ mask replaces secrets, longest first (0.49759ms) ✔ mask ignores very short values and leaves clean output alone (0.22821ms) ✔ health reports the selected drivers (392.72124ms) ✔ a signed trigger creates a job and expands the pipeline (239.96021ms) ✔ an unsigned or wrongly signed trigger is refused (101.0429ms) ✔ github and gitlab push payloads are understood (324.77455ms) ✔ a branch deletion is ignored rather than failing (114.49629ms) ✔ a broken pipeline is reported as a client error with detail (225.2853ms) ✔ a missing pipeline file is reported clearly (280.3274ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (274.49085ms) ✔ a project pointed at a specific file gets no fallback (211.57894ms) ✔ a repository carrying both spellings is refused rather than guessed at (292.16496ms) ✔ a pipeline still using the jobs key is told what it was renamed to (346.80296ms) ✔ a job can be created directly, without a push payload to imitate (229.50741ms) ✔ creating a job requires the same signature as a trigger (195.67277ms) ✔ creating a job insists on a real commit rather than inferring one (164.63446ms) ✔ a job can be read back, with the state of every task (301.82454ms) ✔ a public job is readable without any credential at all (295.44878ms) ✔ a private job needs the trigger secret, and is otherwise absent (363.51238ms) ✔ a job of another project cannot be read through this one (256.89744ms) ✔ a task can be read back on its own, and by its full name (272.28705ms) ✔ reading a task back carries its dependencies and matrix (420.75002ms) ✔ reading a task back never exposes its environment, services or script (285.96008ms) ✔ a task lists the artifacts it stored, with a usable download url (299.04627ms) ✔ reading a task back needs no worker token (381.00848ms) ✔ a private task is absent without a credential, and needs its project named (344.13694ms) ✔ a private task is readable by an administrator, by either path (529.50552ms) ✔ a task of another project cannot be read through this one (221.39696ms) ✔ an unknown task is 404 by either path (163.28268ms) ✔ the worker api rejects missing and invalid tokens (145.03919ms) ✔ independent tasks dispatch concurrently (396.52313ms) ✔ a task is only offered to a worker that satisfies its requires (447.60029ms) ✔ a worker is not offered work for an architecture it cannot build (427.36334ms) ✔ a claimed task carries everything the worker needs (421.99774ms) ✔ a task that requires a feature reports it to the worker (320.72062ms) ✔ the standard conductor variables are present in the task environment (396.82217ms) ✔ the source tarball is served from the mirror (446.73758ms) ✔ a worker cannot touch a task it does not hold (422.85752ms) ✔ log appends are resumable and deduplicated by offset (384.33071ms) ✔ an oversized log chunk is refused (410.44443ms) ✔ a finished log moves to storage and is still readable (305.47049ms) ✔ artifacts are stored, hashed, and stripped of traversal (320.96186ms) ✔ an artifact shorter than its content-length is rejected (295.39285ms) ✔ success releases dependents, matched on shared dimensions (288.39366ms) ✔ failure skips transitive dependents, not just direct ones (281.97378ms) ✔ a job settles as failed once every task is terminal (402.65156ms) ✔ a job settles as success when everything passes (381.50814ms) ✔ an allowed failure does not fail the job or block dependents (297.78096ms) ✔ a task with retries left is requeued instead of failing the job (312.12662ms) ✔ heartbeats keep a task alive and report cancellation (369.19348ms) ✔ the reaper fails a task whose worker stopped reporting (340.66119ms) ✔ a second push produces an independent, numbered job (656.33272ms) ﹣ jobs can be listed and filtered by project (1.03332ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.45804ms) # the JSON API was removed ✔ a disabled project refuses triggers (182.4181ms) ✔ a trigger for an unknown project is a 404 (123.12613ms) ✔ a commit that is not in the repository is refused (264.00363ms) ✔ a task is told to fetch an archive, and never the repository itself (296.5745ms) ✔ the source archive is the bare tree, with no wrapping directory (327.10896ms) ✔ the working directory is resolved from the pipeline, then the project (1156.864ms) ✔ an unusable working directory is refused rather than sanitised (1266.83502ms) ✔ the trigger secret is not stored in the clear (201.89466ms) ✔ worker tokens are stored only as hashes (162.19992ms) ✔ defaults select sqlite, local storage and local auth (4.0364ms) ✔ configuring an s3 bucket switches the storage driver (1.49165ms) ✔ a partial s3 configuration is rejected rather than half applied (1.11325ms) ✔ configuring an oidc discovery url switches the auth mode (0.6342ms) ✔ an oidc discovery url without a client id is rejected (0.62921ms) ✔ a database url selects its dialect (1.58321ms) ✔ an unsupported database scheme is reported clearly (0.8285ms) ✔ a sqlite url collapses into database.path (0.85697ms) ✔ environment variables override the config file (47.23412ms) ✔ relative paths resolve against the config file directory (7.50366ms) ✔ a missing explicit config file is an error, a missing default is not (14.65391ms) ✔ a heartbeat timeout below the reap interval is rejected (22.21537ms) ✔ a non-integer port is rejected with the variable named (1.02916ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.58295ms) ✔ stateDirs omits the storage directory when s3 is in use (1.78295ms) ✔ the loaded config is frozen (0.70443ms) ✔ topological order places dependencies first (2.99072ms) ✔ topological order is deterministic (3.25426ms) ✔ a cycle is detected and named (0.93963ms) ✔ depth reflects the longest path, not insertion order (0.49615ms) ✔ independent tasks are runnable at the same time (0.52057ms) ✔ a task becomes runnable only once every dependency succeeds (0.44507ms) ✔ a running dependency does not release its dependents (0.42669ms) ✔ failure skips transitive dependents, not just direct ones (0.46822ms) ✔ a skipped dependency never releases a dependent (0.78017ms) ✔ allowed failures can satisfy a dependency when asked to (0.68206ms) ✔ transitive dependents of a leaf is empty (0.37601ms) ✔ graph helpers tolerate dependencies outside the set (0.56089ms) ✔ dialect detection covers every supported scheme (9.55997ms) ✔ statement splitter respects literals and comments (3.75026ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (1.59611ms) ✔ migrations apply once and are idempotent (136.49393ms) ✔ an edited migration is refused rather than silently diverging (20.43542ms) ✔ a migration removed from disk is reported (52.14517ms) ✔ rows come back as ordinary objects (36.79376ms) ✔ a conditional update claims exactly once (26.85592ms) ✔ deleting a job cascades to its tasks (37.49368ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (24.87173ms) ﹣ migrations apply and retention sweeps on postgres (7.36757ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.25968ms) # SKIP ✔ every example pipeline compiles (57.69475ms) ✔ the distribution example fans in per architecture (14.23259ms) ✔ the node example wires services and features (10.99429ms) ✔ git jobs with safe.directory set (2.39661ms) ✔ it appends to configuration already in the environment (0.38192ms) ✔ a count that is not a number does not corrupt the sequence (0.38843ms) ✔ git accepts the environment we build (48.48924ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (62.04903ms) ﹣ the endpoints and key set come from the discovery document (9.3428ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (58.07613ms) ✔ discovery reports an unreachable provider and a bad status (1.66312ms) ﹣ a token carrying the admin role authenticates as an administrator (0.26777ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.2297ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.20551ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (1.67694ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.35639ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.33673ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.39213ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.18766ms) # the JSON API was removed ﹣ a forged signature is refused (4.34525ms) # the JSON API was removed ﹣ an expired token is refused (0.43253ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.28207ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.2112ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.10805ms) # docker is not available ﹣ a callback with a forged state is refused (0.09638ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.09271ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.08957ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.09131ms) # the JSON API was removed ✔ a pattern without a star matches exactly (2.77909ms) ✔ a star matches any job of characters (0.70476ms) ✔ the rest of a pattern is literal, not a regular expression (0.32131ms) ✔ a restricted task is left out of jobs for other refs (31.28947ms) ✔ it is left out rather than recorded as skipped (5.4ms) ✔ tasks depending on an excluded task are excluded too (3.39254ms) ✔ depth and ordering describe the job that will happen (2.6086ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (1.72201ms) ✔ a restricted task cannot match a job that has no ref (4.03567ms) ✔ a malformed rule is reported rather than ignored (13.65726ms) ✔ the rule is not inherited from defaults (1.82169ms) ✔ a page number is read from the query, and nonsense reads as the first (2.36873ms) ✔ an absurd page number cannot produce an unusable offset (0.46972ms) ✔ a window describes the slice it holds (0.48069ms) ✔ an empty table is one page, and counts from zero (0.25089ms) ✔ windowOfAll slices a list that is already in memory (0.48539ms) ✔ a page link keeps the other query parameters (0.41127ms) ✔ a pager is not rendered when everything fits on one page (0.75207ms) ✔ a pager offers only the steps that exist (1.21372ms) ✔ paginate counts under the same conditions as it selects (404.11705ms) ✔ successive pages do not repeat or skip a row (135.43025ms) ✔ the job list is capped at a page and offers the next one (187.14915ms) ✔ paging past the end is an empty table rather than an error (148.25593ms) ✔ a page link keeps the project filter, and so does the live fragment (155.45529ms) ✔ the polling fragment asks for the page being viewed, not the first (174.25644ms) ✔ the count behind the pager respects who is asking (209.86819ms) ✔ the users and workers tables keep their swap target on the wrapper (185.22203ms) ✔ a minimal pipeline compiles (113.51396ms) ✔ version is required and pinned (41.11572ms) ✔ empty and malformed documents are rejected clearly (15.44011ms) ✔ image and script are required (5.03649ms) ✔ image may come from defaults (4.51541ms) ✔ unknown keys are rejected, with a suggestion when close (11.72621ms) ✔ all problems are reported at once (1.25427ms) ✔ durations accept seconds, units and composites (5.1869ms) ✔ durations accept day and week units (1.73052ms) ✔ a malformed duration is rejected (1.05667ms) ✔ arch expands into one task per architecture (1.52101ms) ✔ a matrix expands to the cartesian product (1.60989ms) ✔ needs match on shared dimensions rather than fanning out (6.42784ms) ✔ a task without the shared dimension depends on every instance (1.33595ms) ✔ match all opts out of dimension matching (4.84253ms) ✔ needs may name one concrete instance (1.65862ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (1.18003ms) ✔ needs on an unknown task lists what is defined (0.81171ms) ✔ self dependency is rejected (1.10898ms) ✔ a dependency cycle names the cycle (2.3257ms) ✔ interpolation substitutes arch and matrix values (1.89928ms) ✔ interpolating an undefined dimension is an error (1.84463ms) ✔ referring to arch without declaring one is an error (0.79552ms) ✔ matrix values must be safe for use in a task name (1.09685ms) ✔ arch may not also be a matrix dimension (1.30038ms) ✔ services get a derived alias and reject duplicates (1.8873ms) ✔ artifacts accept a bare list and reject absolute paths (1.03037ms) ✔ artifact when is constrained (0.63086ms) ✔ defaults are inherited and overridden per task (1.2062ms) ✔ env values must be scalars with valid names (1.19467ms) ✔ parsePipeline normalizes without expanding (0.82118ms) ✔ a realistic distribution pipeline produces the expected graph (2.22569ms) ✔ compiles markers to the placeholder each dialect expects (6.52406ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.41835ms) ✔ ignores markers inside string literals and comments (0.58552ms) ✔ a json literal in default text survives untouched (0.41218ms) ✔ doubling a brace escapes it (0.41643ms) ✔ block comments are skipped, and nest only for postgres (0.45167ms) ✔ postgres dollar quoted bodies are skipped (0.45515ms) ✔ mysql backtick identifiers and hash comments are skipped (0.59856ms) ✔ a malformed marker is rejected with a useful message (1.26431ms) ✔ binds by name, resolving dotted paths (2.51958ms) ✔ an exact key beats path traversal (0.47999ms) ✔ reports every missing key at once (0.52071ms) ✔ rejects an array of parameters, which would silently bind by position (0.43973ms) ✔ normalizes booleans, dates and null (0.39008ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.51544ms) ✔ an artifact past its own deadline is deleted (366.22ms) ✔ an explicit deadline overrides the policy in both directions (228.58574ms) ✔ an explicit deadline also beats the last good job (113.13536ms) ✔ the last few jobs keep their artifacts however old they are (154.49384ms) ✔ recent artifacts are kept however many jobs have followed (141.89298ms) ✔ an artifact outside both rules is deleted (117.52077ms) ✔ the most recent successful job is kept whatever the policy says (135.46619ms) ✔ only the latest success is protected, not every success (105.05129ms) ✔ a project may keep artifacts forever despite a server default (123.57373ms) ✔ a project setting overrides the server default (99.12372ms) ✔ an unfinished job is never swept (101.99976ms) ✔ logs older than the limit are removed but the task remains (120.17505ms) ✔ a swept log is distinguishable from one that never existed (99.97803ms) ✔ a log is swept only once (131.25568ms) ✔ zero keeps logs forever (149.95573ms) ✔ a storage failure leaves the row for the next pass (120.35351ms) ✔ a sweep deletes no more than its batch (88.32331ms) ✔ one project policy does not reach into another (86.59414ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (247.16525ms) ﹣ the api reports and accepts project retention (0.28917ms) # the JSON API was removed ✔ seals and opens a value (8.62555ms) ✔ sealing twice produces different ciphertext (1.01095ms) ✔ without a key, values are stored as marked plaintext (0.41771ms) ✔ a keyed box can still read values written before a key existed (0.29808ms) ✔ an unkeyed box refuses encrypted values with an actionable message (3.25775ms) ✔ the wrong key fails to open (0.78567ms) ✔ tampering with the ciphertext is detected (0.71064ms) ✔ associated data binds a secret to its location (3.25026ms) ✔ a key of the wrong size is refused at construction (0.65878ms) ✔ task ids are opaque, and say nothing about their job (5.59792ms) ✔ time ordered ids sort by creation time (0.36066ms) ✔ random ids use the expected alphabet (0.4088ms) ✔ slugify produces readable project ids and falls back when empty (0.70302ms) ✔ token hashing and constant time comparison (1.38022ms) ✔ the pipeline this project jobs on itself compiles (147.2699ms) ✔ its tasks declare the features they actually need (59.42627ms) ✔ publishing is restricted to main and release tags (98.7885ms) ✔ get-vanilla matches the reference signature (5.38074ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.5289ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.43909ms) ✔ amzDate produces both required formats (0.40858ms) ✔ s3 requests carry the content hash header (1.32987ms) ✔ presigned urls carry the signature in the query string (5.30758ms) ✔ an already encoded path is not encoded a second time (0.93907ms) ✔ key validation rejects traversal and absolute paths (5.92619ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.49949ms) ✔ key layout is stable (5.15556ms) ✔ local backend round trips a buffer and reports its digest (28.3142ms) ✔ local backend serves ranges (5.21437ms) ✔ local backend accepts a stream (10.94793ms) ✔ local backend reports a missing object and deletes idempotently (3.26786ms) ✔ local backend has no presigned urls (3.31438ms) ✔ a partial write leaves no object behind (8.48309ms) ✔ part size grows so that a huge object still fits in 10000 parts (0.88214ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (1.81629ms) ✔ inParts handles a chunk far larger than the part size (0.67018ms) ✔ inParts yields nothing for an empty stream (0.46874ms) ﹣ s3 backend round trips awkward keys against a real server (0.09068ms) # docker is not available ﹣ s3 serves byte ranges (0.07904ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.06755ms) # docker is not available ﹣ a presigned url is usable without credentials (0.13329ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.07396ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.06954ms) # docker is not available ﹣ a stream of unknown length is accepted (0.15303ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.08929ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.07432ms) # docker is not available ﹣ a multipart object still serves ranges (0.06627ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.06472ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.0595ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.06104ms) # docker is not available ✔ every javascript file parses (1100.70627ms) ✔ the shell scripts parse (3.39663ms) ✔ interpolated values are escaped by default (2.89757ms) ✔ quotes and ampersands are escaped inside attributes (0.43421ms) ✔ nested templates and arrays are kept, raw is passed through (0.41661ms) ✔ null, undefined and false render as nothing (0.37507ms) ✔ attrs omits absent values and renders bare booleans (0.68752ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (477.34309ms) ✔ an anonymous visitor cannot see a private job (298.15237ms) ✔ management pages redirect an anonymous visitor to sign in (150.25731ms) ✔ signing in through the form sets a session and reveals the nav (259.8307ms) ✔ a user creates a project through the form and is shown the secret once (274.69233ms) ✔ a project page shows variables and never their values (263.30024ms) ✔ setting and removing a variable returns the updated table (197.01088ms) ✔ a user cannot open or delete a project they do not own (391.00249ms) ✔ registering a worker shows the token once and lists it (285.42012ms) ✔ an ordinary user cannot create shared capacity from the form (316.17005ms) ✔ the users page is administrator only and warns about what deletion destroys (332.58077ms) ✔ a running job polls, and a finished one stops (432.61913ms) ✔ a task page streams the log and stops polling once it completes (529.78474ms) ✔ log output is escaped, so a task cannot inject markup into the page (389.45949ms) ✔ a mutation without the htmx header is refused (288.58331ms) ✔ the task graph is one table, so columns line up across stages (1.17066ms) ✔ the sign in form is centred rather than stranded at the left edge (151.26935ms) ✔ row actions stay ordinary table cells, so rows keep one height (244.79374ms) ✔ the stylesheet and htmx are served, and nothing else is (174.62265ms) ✔ the project page shows retention, with server defaults as placeholders (294.85484ms) ✔ saving retention through the form stores it, and empty means inherit (351.07117ms) ✔ a negative retention value is refused by the form (264.01815ms) ✔ the project page offers a working directory, defaulting to the server one (220.32629ms) ✔ saving a working directory stores it, and empty clears it (288.55875ms) ✔ an unusable working directory is refused by the form (276.18803ms) ✔ worker config loads from json and reports features (23.80808ms) ✔ worker config reads the token from a file (4.70147ms) ✔ environment overrides the worker config file (2.72667ms) ✔ worker config without a token is rejected (4.36904ms) ✔ a malformed feature is reported with its path (3.08512ms) ✔ shell quoting survives quotes and metacharacters (0.45053ms) ✔ a generated script echoes each command and stops on failure (0.49482ms) ✔ container names are valid for docker and stay unique (1.42961ms) ✔ job arguments carry mounts, env, network and privilege (0.71919ms) ✔ a task container is created without sharing anything with the worker (0.64964ms) ✔ a feature still contributes its bind mounts (1.75229ms) ✔ features resolve into mounts, env and privilege (0.49708ms) ✔ an unknown required feature is reported rather than ignored (0.23208ms) ✔ an artifact pattern reduces to the part that can be copied out (0.4516ms) ✔ overlapping artifact paths are copied out once (0.41857ms) ✔ artifact collection globs, and refuses to leave the workspace (32.2901ms) ✔ artifact when controls collection (0.37576ms) ✔ an idle worker keeps running instead of exiting (4009.2828ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1518.44133ms) ✔ log output is batched and offsets advance (2.06746ms) ✔ a conflicting offset resynchronises instead of duplicating (0.70345ms) ✔ secrets are masked before anything leaves the host (1.05413ms) ✔ a secret split across two writes is still masked (0.54652ms) ✔ a failing conductor does not break the task (0.79043ms) ℹ tests 348 ℹ suites 0 ℹ pass 312 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 20376.17983 [conductor] done