integration
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-aarch64
duration29s
log
[conductor] task integration on conductor-worker-aarch64 [conductor] commit 1d5ad8757706 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 (148.25473ms) ✔ no file uses CRLF line endings or trailing whitespace (85.56809ms) ✔ a password round trips and a wrong one is refused (33.61432ms) ✔ the same password hashes differently each time (11.41847ms) ✔ parameters are read back from the stored hash (11.64576ms) ✔ a malformed stored hash is refused rather than throwing (0.62249ms) ✔ password length is bounded (0.80778ms) ✔ a session token round trips its claims (1.41751ms) ✔ a token signed with another secret is refused (0.43013ms) ✔ a tampered payload is refused (0.43898ms) ✔ an expired token is refused (0.52693ms) ✔ a malformed token is refused rather than throwing (0.46593ms) ✔ cookies are parsed and issued (1.74111ms) ✔ the oidc login state round trips with its return path (0.94784ms) ✔ a missing return path means the root (0.28132ms) ✔ the oidc login state is refused when forged, stale or off-site (0.36845ms) ✔ oidc roles are collected from the usual claim shapes (0.53802ms) ✔ mask replaces secrets, longest first (0.41379ms) ✔ mask ignores very short values and leaves clean output alone (0.22122ms) ✔ health reports the selected drivers (356.24651ms) ✔ a signed trigger creates a job and expands the pipeline (203.369ms) ✔ an unsigned or wrongly signed trigger is refused (124.02174ms) ✔ github and gitlab push payloads are understood (308.95211ms) ✔ a branch deletion is ignored rather than failing (124.79669ms) ✔ a broken pipeline is reported as a client error with detail (237.08053ms) ✔ a missing pipeline file is reported clearly (266.97057ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (248.29864ms) ✔ a project pointed at a specific file gets no fallback (266.64918ms) ✔ a repository carrying both spellings is refused rather than guessed at (230.91147ms) ✔ a pipeline still using the jobs key is told what it was renamed to (354.44526ms) ✔ a job can be created directly, without a push payload to imitate (266.90432ms) ✔ creating a job requires the same signature as a trigger (133.43076ms) ✔ creating a job insists on a real commit rather than inferring one (139.13264ms) ✔ a job can be read back, with the state of every task (242.02601ms) ✔ a public job is readable without any credential at all (346.00304ms) ✔ a private job needs the trigger secret, and is otherwise absent (407.31377ms) ✔ a job of another project cannot be read through this one (285.35907ms) ✔ a task can be read back on its own, and by its full name (410.25429ms) ✔ reading a task back carries its dependencies and matrix (408.9762ms) ✔ reading a task back never exposes its environment, services or script (234.98674ms) ✔ a task lists the artifacts it stored, with a usable download url (430.49882ms) ✔ reading a task back needs no worker token (276.72497ms) ✔ a private task is absent without a credential, and needs its project named (254.83397ms) ✔ a private task is readable by an administrator, by either path (390.06529ms) ✔ a task of another project cannot be read through this one (290.34288ms) ✔ an unknown task is 404 by either path (162.40469ms) ✔ the worker api rejects missing and invalid tokens (133.25811ms) ✔ independent tasks dispatch concurrently (285.47564ms) ✔ a task is only offered to a worker that satisfies its requires (428.43632ms) ✔ a worker is not offered work for an architecture it cannot build (282.46465ms) ✔ a claimed task carries everything the worker needs (385.13469ms) ✔ a task that requires a feature reports it to the worker (312.99504ms) ✔ the standard conductor variables are present in the task environment (305.3014ms) ✔ the source tarball is served from the mirror (382.44462ms) ✔ a worker cannot touch a task it does not hold (408.70165ms) ✔ log appends are resumable and deduplicated by offset (302.89738ms) ✔ an oversized log chunk is refused (416.09969ms) ✔ a finished log moves to storage and is still readable (439.091ms) ✔ artifacts are stored, hashed, and stripped of traversal (258.98257ms) ✔ an artifact shorter than its content-length is rejected (408.16352ms) ✔ success releases dependents, matched on shared dimensions (410.76075ms) ✔ failure skips transitive dependents, not just direct ones (323.02936ms) ✔ a job settles as failed once every task is terminal (427.20753ms) ✔ a job settles as success when everything passes (397.71807ms) ✔ an allowed failure does not fail the job or block dependents (407.01278ms) ✔ a task with retries left is requeued instead of failing the job (318.12854ms) ✔ heartbeats keep a task alive and report cancellation (295.62345ms) ✔ the reaper fails a task whose worker stopped reporting (423.62798ms) ✔ a second push produces an independent, numbered job (680.531ms) ﹣ jobs can be listed and filtered by project (1.22988ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.39466ms) # the JSON API was removed ✔ a disabled project refuses triggers (190.67155ms) ✔ a trigger for an unknown project is a 404 (113.45259ms) ✔ a commit that is not in the repository is refused (251.69869ms) ✔ a task is told to fetch an archive, and never the repository itself (285.50695ms) ✔ the source archive is the bare tree, with no wrapping directory (430.60115ms) ✔ the working directory is resolved from the pipeline, then the project (971.97066ms) ✔ an unusable working directory is refused rather than sanitised (1134.56661ms) ✔ the trigger secret is not stored in the clear (187.68806ms) ✔ worker tokens are stored only as hashes (166.90278ms) ✔ defaults select sqlite, local storage and local auth (4.66434ms) ✔ configuring an s3 bucket switches the storage driver (0.86151ms) ✔ a partial s3 configuration is rejected rather than half applied (1.46001ms) ✔ configuring an oidc discovery url switches the auth mode (0.83602ms) ✔ an oidc discovery url without a client id is rejected (0.6412ms) ✔ a database url selects its dialect (1.13883ms) ✔ an unsupported database scheme is reported clearly (0.78279ms) ✔ a sqlite url collapses into database.path (0.80829ms) ✔ environment variables override the config file (30.859ms) ✔ relative paths resolve against the config file directory (4.62766ms) ✔ a missing explicit config file is an error, a missing default is not (1.9839ms) ✔ a heartbeat timeout below the reap interval is rejected (8.29469ms) ✔ a non-integer port is rejected with the variable named (0.76058ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.47275ms) ✔ stateDirs omits the storage directory when s3 is in use (1.20313ms) ✔ the loaded config is frozen (0.55681ms) ✔ topological order places dependencies first (2.47844ms) ✔ topological order is deterministic (2.47783ms) ✔ a cycle is detected and named (1.10487ms) ✔ depth reflects the longest path, not insertion order (0.44758ms) ✔ independent tasks are runnable at the same time (0.51587ms) ✔ a task becomes runnable only once every dependency succeeds (0.41617ms) ✔ a running dependency does not release its dependents (0.31242ms) ✔ failure skips transitive dependents, not just direct ones (0.46781ms) ✔ a skipped dependency never releases a dependent (0.90738ms) ✔ allowed failures can satisfy a dependency when asked to (0.53043ms) ✔ transitive dependents of a leaf is empty (0.29899ms) ✔ graph helpers tolerate dependencies outside the set (0.45478ms) ✔ dialect detection covers every supported scheme (2.19442ms) ✔ statement splitter respects literals and comments (0.64346ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.31729ms) ✔ migrations apply once and are idempotent (54.47768ms) ✔ an edited migration is refused rather than silently diverging (36.70878ms) ✔ a migration removed from disk is reported (27.08349ms) ✔ rows come back as ordinary objects (20.23954ms) ✔ a conditional update claims exactly once (27.78154ms) ✔ deleting a job cascades to its tasks (19.68904ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (23.39441ms) ﹣ migrations apply and retention sweeps on postgres (1.62686ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.164ms) # SKIP ✔ every example pipeline compiles (58.23481ms) ✔ the distribution example fans in per architecture (12.09076ms) ✔ the node example wires services and features (8.41125ms) ✔ git jobs with safe.directory set (2.49518ms) ✔ it appends to configuration already in the environment (0.29747ms) ✔ a count that is not a number does not corrupt the sequence (0.30114ms) ✔ git accepts the environment we build (43.45906ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (85.74128ms) ﹣ the endpoints and key set come from the discovery document (1.49667ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (35.96719ms) ✔ discovery reports an unreachable provider and a bad status (1.67332ms) ﹣ a token carrying the admin role authenticates as an administrator (0.54334ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.23977ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.1897ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (0.24176ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (1.87339ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.37264ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (2.11952ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.17909ms) # the JSON API was removed ﹣ a forged signature is refused (0.97337ms) # the JSON API was removed ﹣ an expired token is refused (2.29238ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.23696ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.20504ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.09884ms) # docker is not available ﹣ a callback with a forged state is refused (0.20258ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.10728ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.09779ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.09101ms) # the JSON API was removed ✔ a pattern without a star matches exactly (3.01144ms) ✔ a star matches any job of characters (0.59718ms) ✔ the rest of a pattern is literal, not a regular expression (0.49306ms) ✔ a restricted task is left out of jobs for other refs (51.2902ms) ✔ it is left out rather than recorded as skipped (9.31813ms) ✔ tasks depending on an excluded task are excluded too (8.13955ms) ✔ depth and ordering describe the job that will happen (1.92111ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (1.56277ms) ✔ a restricted task cannot match a job that has no ref (1.64022ms) ✔ a malformed rule is reported rather than ignored (7.48059ms) ✔ the rule is not inherited from defaults (2.706ms) ✔ a minimal pipeline compiles (110.02923ms) ✔ version is required and pinned (28.76679ms) ✔ empty and malformed documents are rejected clearly (16.19922ms) ✔ image and script are required (5.32853ms) ✔ image may come from defaults (8.06363ms) ✔ unknown keys are rejected, with a suggestion when close (17.14603ms) ✔ all problems are reported at once (8.52949ms) ✔ durations accept seconds, units and composites (21.77592ms) ✔ durations accept day and week units (24.09305ms) ✔ a malformed duration is rejected (13.68643ms) ✔ arch expands into one task per architecture (8.90362ms) ✔ a matrix expands to the cartesian product (13.66168ms) ✔ needs match on shared dimensions rather than fanning out (25.45788ms) ✔ a task without the shared dimension depends on every instance (11.97596ms) ✔ match all opts out of dimension matching (11.41747ms) ✔ needs may name one concrete instance (11.74708ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (8.68699ms) ✔ needs on an unknown task lists what is defined (4.92392ms) ✔ self dependency is rejected (4.67892ms) ✔ a dependency cycle names the cycle (20.17765ms) ✔ interpolation substitutes arch and matrix values (1.91607ms) ✔ interpolating an undefined dimension is an error (3.22848ms) ✔ referring to arch without declaring one is an error (3.95794ms) ✔ matrix values must be safe for use in a task name (0.83644ms) ✔ arch may not also be a matrix dimension (0.59221ms) ✔ services get a derived alias and reject duplicates (9.241ms) ✔ artifacts accept a bare list and reject absolute paths (13.11426ms) ✔ artifact when is constrained (5.23719ms) ✔ defaults are inherited and overridden per task (8.82853ms) ✔ env values must be scalars with valid names (7.40877ms) ✔ parsePipeline normalizes without expanding (6.53123ms) ✔ a realistic distribution pipeline produces the expected graph (13.39869ms) ✔ compiles markers to the placeholder each dialect expects (6.21971ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.38099ms) ✔ ignores markers inside string literals and comments (0.49026ms) ✔ a json literal in default text survives untouched (0.31415ms) ✔ doubling a brace escapes it (0.35061ms) ✔ block comments are skipped, and nest only for postgres (0.40653ms) ✔ postgres dollar quoted bodies are skipped (0.36315ms) ✔ mysql backtick identifiers and hash comments are skipped (0.75604ms) ✔ a malformed marker is rejected with a useful message (1.57085ms) ✔ binds by name, resolving dotted paths (1.13649ms) ✔ an exact key beats path traversal (0.35402ms) ✔ reports every missing key at once (2.02291ms) ✔ rejects an array of parameters, which would silently bind by position (0.45766ms) ✔ normalizes booleans, dates and null (0.40637ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.48381ms) ✔ an artifact past its own deadline is deleted (445.50501ms) ✔ an explicit deadline overrides the policy in both directions (246.34743ms) ✔ an explicit deadline also beats the last good job (113.18382ms) ✔ the last few jobs keep their artifacts however old they are (118.68665ms) ✔ recent artifacts are kept however many jobs have followed (128.62386ms) ✔ an artifact outside both rules is deleted (126.2832ms) ✔ the most recent successful job is kept whatever the policy says (135.5887ms) ✔ only the latest success is protected, not every success (113.07122ms) ✔ a project may keep artifacts forever despite a server default (134.64617ms) ✔ a project setting overrides the server default (117.95915ms) ✔ an unfinished job is never swept (169.8796ms) ✔ logs older than the limit are removed but the task remains (102.36883ms) ✔ a swept log is distinguishable from one that never existed (127.52099ms) ✔ a log is swept only once (94.67736ms) ✔ zero keeps logs forever (141.24998ms) ✔ a storage failure leaves the row for the next pass (69.34603ms) ✔ a sweep deletes no more than its batch (112.03452ms) ✔ one project policy does not reach into another (129.72521ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (350.63834ms) ﹣ the api reports and accepts project retention (0.27883ms) # the JSON API was removed ✔ seals and opens a value (27.98223ms) ✔ sealing twice produces different ciphertext (3.1678ms) ✔ without a key, values are stored as marked plaintext (1.94872ms) ✔ a keyed box can still read values written before a key existed (1.82535ms) ✔ an unkeyed box refuses encrypted values with an actionable message (5.65409ms) ✔ the wrong key fails to open (3.32537ms) ✔ tampering with the ciphertext is detected (3.10225ms) ✔ associated data binds a secret to its location (3.34114ms) ✔ a key of the wrong size is refused at construction (1.11587ms) ✔ task ids are opaque, and say nothing about their job (5.17893ms) ✔ time ordered ids sort by creation time (3.23932ms) ✔ random ids use the expected alphabet (0.37207ms) ✔ slugify produces readable project ids and falls back when empty (0.58893ms) ✔ token hashing and constant time comparison (1.31112ms) ✔ the pipeline this project jobs on itself compiles (63.37375ms) ✔ its tasks declare the features they actually need (11.94826ms) ✔ publishing is restricted to main and release tags (68.92097ms) ✔ get-vanilla matches the reference signature (5.17513ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.33514ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.45987ms) ✔ amzDate produces both required formats (0.36857ms) ✔ s3 requests carry the content hash header (1.23437ms) ✔ presigned urls carry the signature in the query string (3.38979ms) ✔ an already encoded path is not encoded a second time (1.04346ms) ✔ key validation rejects traversal and absolute paths (3.81179ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.61102ms) ✔ key layout is stable (0.88658ms) ✔ local backend round trips a buffer and reports its digest (27.95909ms) ✔ local backend serves ranges (14.06492ms) ✔ local backend accepts a stream (18.05648ms) ✔ local backend reports a missing object and deletes idempotently (11.4915ms) ✔ local backend has no presigned urls (2.15288ms) ✔ a partial write leaves no object behind (4.02472ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.04802ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.9456ms) ✔ inParts handles a chunk far larger than the part size (1.03861ms) ✔ inParts yields nothing for an empty stream (0.79712ms) ﹣ s3 backend round trips awkward keys against a real server (0.1076ms) # docker is not available ﹣ s3 serves byte ranges (0.09506ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.08821ms) # docker is not available ﹣ a presigned url is usable without credentials (0.20787ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.1285ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.09363ms) # docker is not available ﹣ a stream of unknown length is accepted (0.07924ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.07814ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.07812ms) # docker is not available ﹣ a multipart object still serves ranges (0.08155ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.08052ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.07943ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.07841ms) # docker is not available ✔ every javascript file parses (954.5806ms) ✔ the shell scripts parse (3.86391ms) ✔ interpolated values are escaped by default (14.86466ms) ✔ quotes and ampersands are escaped inside attributes (1.76898ms) ✔ nested templates and arrays are kept, raw is passed through (1.96238ms) ✔ null, undefined and false render as nothing (1.31418ms) ✔ attrs omits absent values and renders bare booleans (2.92952ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (527.61914ms) ✔ an anonymous visitor cannot see a private job (262.17402ms) ✔ management pages redirect an anonymous visitor to sign in (222.82402ms) ✔ signing in through the form sets a session and reveals the nav (262.29647ms) ✔ a user creates a project through the form and is shown the secret once (195.96134ms) ✔ a project page shows variables and never their values (224.39645ms) ✔ setting and removing a variable returns the updated table (276.32631ms) ✔ a user cannot open or delete a project they do not own (318.0886ms) ✔ registering a worker shows the token once and lists it (312.84434ms) ✔ an ordinary user cannot create shared capacity from the form (301.17439ms) ✔ the users page is administrator only and warns about what deletion destroys (373.87047ms) ✔ a running job polls, and a finished one stops (528.3458ms) ✔ a task page streams the log and stops polling once it completes (324.2777ms) ✔ log output is escaped, so a task cannot inject markup into the page (437.63858ms) ✔ a mutation without the htmx header is refused (248.39187ms) ✔ the sign in form is centred rather than stranded at the left edge (183.92438ms) ✔ row actions stay ordinary table cells, so rows keep one height (310.09159ms) ✔ the stylesheet and htmx are served, and nothing else is (224.21331ms) ✔ the project page shows retention, with server defaults as placeholders (229.56363ms) ✔ saving retention through the form stores it, and empty means inherit (327.32062ms) ✔ a negative retention value is refused by the form (208.24944ms) ✔ the project page offers a working directory, defaulting to the server one (226.3746ms) ✔ saving a working directory stores it, and empty clears it (230.65277ms) ✔ an unusable working directory is refused by the form (258.29549ms) ✔ worker config loads from json and reports features (38.58238ms) ✔ worker config reads the token from a file (3.45582ms) ✔ environment overrides the worker config file (3.37953ms) ✔ worker config without a token is rejected (4.52239ms) ✔ a malformed feature is reported with its path (2.53147ms) ✔ shell quoting survives quotes and metacharacters (0.38294ms) ✔ a generated script echoes each command and stops on failure (0.48563ms) ✔ container names are valid for docker and stay unique (1.32174ms) ✔ job arguments carry mounts, env, network and privilege (1.10098ms) ✔ a task container is created without sharing anything with the worker (0.8628ms) ✔ a feature still contributes its bind mounts (0.35192ms) ✔ features resolve into mounts, env and privilege (0.63947ms) ✔ an unknown required feature is reported rather than ignored (0.20885ms) ✔ an artifact pattern reduces to the part that can be copied out (0.42731ms) ✔ overlapping artifact paths are copied out once (0.45557ms) ✔ artifact collection globs, and refuses to leave the workspace (34.94376ms) ✔ artifact when controls collection (0.40201ms) ✔ an idle worker keeps running instead of exiting (4018.23026ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1517.59534ms) ✔ log output is batched and offsets advance (2.18179ms) ✔ a conflicting offset resynchronises instead of duplicating (0.65269ms) ✔ secrets are masked before anything leaves the host (0.99415ms) ✔ a secret split across two writes is still masked (0.40393ms) ✔ a failing conductor does not break the task (0.71426ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 20094.40871 [conductor] done