integration
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-x86-64
duration24s
log
[conductor] task integration on conductor-worker-x86-64 [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: 23.3 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 (199.161401ms) ✔ no file uses CRLF line endings or trailing whitespace (104.630522ms) ✔ a password round trips and a wrong one is refused (66.551774ms) ✔ the same password hashes differently each time (34.574617ms) ✔ parameters are read back from the stored hash (31.366263ms) ✔ a malformed stored hash is refused rather than throwing (0.925997ms) ✔ password length is bounded (1.378257ms) ✔ a session token round trips its claims (3.265247ms) ✔ a token signed with another secret is refused (0.780271ms) ✔ a tampered payload is refused (0.735175ms) ✔ an expired token is refused (1.08285ms) ✔ a malformed token is refused rather than throwing (1.27247ms) ✔ cookies are parsed and issued (2.976495ms) ✔ the oidc login state round trips with its return path (1.830501ms) ✔ a missing return path means the root (0.724418ms) ✔ the oidc login state is refused when forged, stale or off-site (1.480242ms) ✔ oidc roles are collected from the usual claim shapes (1.730667ms) ✔ mask replaces secrets, longest first (0.773628ms) ✔ mask ignores very short values and leaves clean output alone (0.503231ms) ✔ health reports the selected drivers (397.113342ms) ✔ a signed trigger creates a job and expands the pipeline (234.258287ms) ✔ an unsigned or wrongly signed trigger is refused (113.617865ms) ✔ github and gitlab push payloads are understood (325.446395ms) ✔ a branch deletion is ignored rather than failing (113.840349ms) ✔ a broken pipeline is reported as a client error with detail (207.62417ms) ✔ a missing pipeline file is reported clearly (245.595572ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (200.612976ms) ✔ a project pointed at a specific file gets no fallback (216.650637ms) ✔ a repository carrying both spellings is refused rather than guessed at (262.547615ms) ✔ a pipeline still using the jobs key is told what it was renamed to (254.648286ms) ✔ a job can be created directly, without a push payload to imitate (200.594355ms) ✔ creating a job requires the same signature as a trigger (120.380992ms) ✔ creating a job insists on a real commit rather than inferring one (114.05193ms) ✔ a job can be read back, with the state of every task (198.406395ms) ✔ a public job is readable without any credential at all (193.460645ms) ✔ a private job needs the trigger secret, and is otherwise absent (243.868777ms) ✔ a job of another project cannot be read through this one (192.74781ms) ✔ a task can be read back on its own, and by its full name (268.60431ms) ✔ reading a task back carries its dependencies and matrix (220.096481ms) ✔ reading a task back never exposes its environment, services or script (211.475344ms) ✔ a task lists the artifacts it stored, with a usable download url (267.363439ms) ✔ reading a task back needs no worker token (210.079733ms) ✔ a private task is absent without a credential, and needs its project named (249.723509ms) ✔ a private task is readable by an administrator, by either path (453.320567ms) ✔ a task of another project cannot be read through this one (243.747116ms) ✔ an unknown task is 404 by either path (139.45034ms) ✔ the worker api rejects missing and invalid tokens (123.683843ms) ✔ independent tasks dispatch concurrently (222.990296ms) ✔ a task is only offered to a worker that satisfies its requires (245.623695ms) ✔ a worker is not offered work for an architecture it cannot build (217.612947ms) ✔ a claimed task carries everything the worker needs (218.019964ms) ✔ a task that requires a feature reports it to the worker (234.069622ms) ✔ the standard conductor variables are present in the task environment (230.018621ms) ✔ the source tarball is served from the mirror (224.204067ms) ✔ a worker cannot touch a task it does not hold (221.365683ms) ✔ log appends are resumable and deduplicated by offset (227.032312ms) ✔ an oversized log chunk is refused (247.126737ms) ✔ a finished log moves to storage and is still readable (276.542533ms) ✔ artifacts are stored, hashed, and stripped of traversal (250.143644ms) ✔ an artifact shorter than its content-length is rejected (224.512822ms) ✔ success releases dependents, matched on shared dimensions (216.980354ms) ✔ failure skips transitive dependents, not just direct ones (202.777441ms) ✔ a job settles as failed once every task is terminal (277.091516ms) ✔ a job settles as success when everything passes (227.411516ms) ✔ an allowed failure does not fail the job or block dependents (227.973022ms) ✔ a task with retries left is requeued instead of failing the job (258.812852ms) ✔ heartbeats keep a task alive and report cancellation (260.965794ms) ✔ the reaper fails a task whose worker stopped reporting (226.801024ms) ✔ a second push produces an independent, numbered job (391.948608ms) ﹣ jobs can be listed and filtered by project (1.091261ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.255611ms) # the JSON API was removed ✔ a disabled project refuses triggers (135.357961ms) ✔ a trigger for an unknown project is a 404 (109.565556ms) ✔ a commit that is not in the repository is refused (232.378421ms) ✔ a task is told to fetch an archive, and never the repository itself (249.990537ms) ✔ the source archive is the bare tree, with no wrapping directory (237.27692ms) ✔ the working directory is resolved from the pipeline, then the project (737.071231ms) ✔ an unusable working directory is refused rather than sanitised (990.567336ms) ✔ the trigger secret is not stored in the clear (167.808592ms) ✔ worker tokens are stored only as hashes (96.330954ms) ✔ defaults select sqlite, local storage and local auth (8.388186ms) ✔ configuring an s3 bucket switches the storage driver (1.76359ms) ✔ a partial s3 configuration is rejected rather than half applied (2.376591ms) ✔ configuring an oidc discovery url switches the auth mode (1.613203ms) ✔ an oidc discovery url without a client id is rejected (1.366622ms) ✔ a database url selects its dialect (4.08461ms) ✔ an unsupported database scheme is reported clearly (1.59929ms) ✔ a sqlite url collapses into database.path (3.716506ms) ✔ environment variables override the config file (56.64383ms) ✔ relative paths resolve against the config file directory (8.006444ms) ✔ a missing explicit config file is an error, a missing default is not (2.839217ms) ✔ a heartbeat timeout below the reap interval is rejected (7.892614ms) ✔ a non-integer port is rejected with the variable named (1.32185ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.794664ms) ✔ stateDirs omits the storage directory when s3 is in use (2.602585ms) ✔ the loaded config is frozen (1.415436ms) ✔ topological order places dependencies first (3.491743ms) ✔ topological order is deterministic (3.982613ms) ✔ a cycle is detected and named (1.320438ms) ✔ depth reflects the longest path, not insertion order (0.568797ms) ✔ independent tasks are runnable at the same time (0.837205ms) ✔ a task becomes runnable only once every dependency succeeds (0.615721ms) ✔ a running dependency does not release its dependents (0.522069ms) ✔ failure skips transitive dependents, not just direct ones (0.774517ms) ✔ a skipped dependency never releases a dependent (1.087133ms) ✔ allowed failures can satisfy a dependency when asked to (1.325336ms) ✔ transitive dependents of a leaf is empty (0.564256ms) ✔ graph helpers tolerate dependencies outside the set (0.563456ms) ✔ dialect detection covers every supported scheme (3.524616ms) ✔ statement splitter respects literals and comments (1.216727ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.530632ms) ✔ migrations apply once and are idempotent (86.100145ms) ✔ an edited migration is refused rather than silently diverging (42.160159ms) ✔ a migration removed from disk is reported (36.549445ms) ✔ rows come back as ordinary objects (47.149801ms) ✔ a conditional update claims exactly once (40.868991ms) ✔ deleting a job cascades to its tasks (35.762472ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (38.572791ms) ﹣ migrations apply and retention sweeps on postgres (2.375067ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.405667ms) # SKIP ✔ every example pipeline compiles (82.576761ms) ✔ the distribution example fans in per architecture (26.100224ms) ✔ the node example wires services and features (17.146582ms) ✔ git jobs with safe.directory set (3.750476ms) ✔ it appends to configuration already in the environment (0.605062ms) ✔ a count that is not a number does not corrupt the sequence (0.802619ms) ✔ git accepts the environment we build (54.15864ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (87.954432ms) ﹣ the endpoints and key set come from the discovery document (4.902581ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (55.186669ms) ✔ discovery reports an unreachable provider and a bad status (1.268328ms) ﹣ a token carrying the admin role authenticates as an administrator (0.219964ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.203621ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.188738ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (0.397893ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.770319ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.67822ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.562448ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.282826ms) # the JSON API was removed ﹣ a forged signature is refused (0.330287ms) # the JSON API was removed ﹣ an expired token is refused (0.211295ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.31723ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.484237ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.375953ms) # docker is not available ﹣ a callback with a forged state is refused (0.192057ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.197889ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.239374ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.183688ms) # the JSON API was removed ✔ a pattern without a star matches exactly (3.946797ms) ✔ a star matches any job of characters (0.899178ms) ✔ the rest of a pattern is literal, not a regular expression (0.678061ms) ✔ a restricted task is left out of jobs for other refs (44.978388ms) ✔ it is left out rather than recorded as skipped (6.421982ms) ✔ tasks depending on an excluded task are excluded too (6.83621ms) ✔ depth and ordering describe the job that will happen (3.021931ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (5.406221ms) ✔ a restricted task cannot match a job that has no ref (5.864014ms) ✔ a malformed rule is reported rather than ignored (14.221728ms) ✔ the rule is not inherited from defaults (4.144521ms) ✔ a minimal pipeline compiles (31.492948ms) ✔ version is required and pinned (5.768076ms) ✔ empty and malformed documents are rejected clearly (4.856009ms) ✔ image and script are required (1.515632ms) ✔ image may come from defaults (2.601376ms) ✔ unknown keys are rejected, with a suggestion when close (6.883168ms) ✔ all problems are reported at once (4.345137ms) ✔ durations accept seconds, units and composites (4.389805ms) ✔ durations accept day and week units (4.109423ms) ✔ a malformed duration is rejected (1.996371ms) ✔ arch expands into one task per architecture (6.74341ms) ✔ a matrix expands to the cartesian product (3.968937ms) ✔ needs match on shared dimensions rather than fanning out (7.700528ms) ✔ a task without the shared dimension depends on every instance (2.142347ms) ✔ match all opts out of dimension matching (2.903574ms) ✔ needs may name one concrete instance (4.364045ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (3.950561ms) ✔ needs on an unknown task lists what is defined (1.323631ms) ✔ self dependency is rejected (3.73455ms) ✔ a dependency cycle names the cycle (5.968146ms) ✔ interpolation substitutes arch and matrix values (2.441512ms) ✔ interpolating an undefined dimension is an error (1.995569ms) ✔ referring to arch without declaring one is an error (1.456563ms) ✔ matrix values must be safe for use in a task name (1.107247ms) ✔ arch may not also be a matrix dimension (2.307291ms) ✔ services get a derived alias and reject duplicates (5.709145ms) ✔ artifacts accept a bare list and reject absolute paths (2.437255ms) ✔ artifact when is constrained (1.064759ms) ✔ defaults are inherited and overridden per task (2.188717ms) ✔ env values must be scalars with valid names (1.682817ms) ✔ parsePipeline normalizes without expanding (1.437406ms) ✔ a realistic distribution pipeline produces the expected graph (4.025469ms) ✔ compiles markers to the placeholder each dialect expects (9.491341ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.484167ms) ✔ ignores markers inside string literals and comments (0.638972ms) ✔ a json literal in default text survives untouched (0.433524ms) ✔ doubling a brace escapes it (0.733538ms) ✔ block comments are skipped, and nest only for postgres (0.836698ms) ✔ postgres dollar quoted bodies are skipped (0.685514ms) ✔ mysql backtick identifiers and hash comments are skipped (1.14492ms) ✔ a malformed marker is rejected with a useful message (2.656654ms) ✔ binds by name, resolving dotted paths (2.693231ms) ✔ an exact key beats path traversal (0.825981ms) ✔ reports every missing key at once (0.682378ms) ✔ rejects an array of parameters, which would silently bind by position (0.586329ms) ✔ normalizes booleans, dates and null (0.448784ms) ✔ rejects an object value, which is nearly always a forgotten stringify (2.24133ms) ✔ an artifact past its own deadline is deleted (376.225593ms) ✔ an explicit deadline overrides the policy in both directions (228.871073ms) ✔ an explicit deadline also beats the last good job (117.857468ms) ✔ the last few jobs keep their artifacts however old they are (91.797014ms) ✔ recent artifacts are kept however many jobs have followed (100.130737ms) ✔ an artifact outside both rules is deleted (129.624528ms) ✔ the most recent successful job is kept whatever the policy says (107.778994ms) ✔ only the latest success is protected, not every success (126.026887ms) ✔ a project may keep artifacts forever despite a server default (98.117133ms) ✔ a project setting overrides the server default (84.564563ms) ✔ an unfinished job is never swept (102.051482ms) ✔ logs older than the limit are removed but the task remains (102.248008ms) ✔ a swept log is distinguishable from one that never existed (87.614726ms) ✔ a log is swept only once (106.330336ms) ✔ zero keeps logs forever (100.428723ms) ✔ a storage failure leaves the row for the next pass (92.290411ms) ✔ a sweep deletes no more than its batch (121.172325ms) ✔ one project policy does not reach into another (121.882212ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (300.286904ms) ﹣ the api reports and accepts project retention (0.253685ms) # the JSON API was removed ✔ seals and opens a value (9.854245ms) ✔ sealing twice produces different ciphertext (1.742258ms) ✔ without a key, values are stored as marked plaintext (0.657706ms) ✔ a keyed box can still read values written before a key existed (0.748474ms) ✔ an unkeyed box refuses encrypted values with an actionable message (2.537745ms) ✔ the wrong key fails to open (1.172577ms) ✔ tampering with the ciphertext is detected (1.449329ms) ✔ associated data binds a secret to its location (2.254874ms) ✔ a key of the wrong size is refused at construction (1.490754ms) ✔ task ids are opaque, and say nothing about their job (12.935188ms) ✔ time ordered ids sort by creation time (0.586923ms) ✔ random ids use the expected alphabet (0.466742ms) ✔ slugify produces readable project ids and falls back when empty (2.062748ms) ✔ token hashing and constant time comparison (4.113515ms) ✔ the pipeline this project jobs on itself compiles (56.880644ms) ✔ its tasks declare the features they actually need (15.116877ms) ✔ publishing is restricted to main and release tags (72.713534ms) ✔ get-vanilla matches the reference signature (6.678006ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.850361ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.516465ms) ✔ amzDate produces both required formats (0.698413ms) ✔ s3 requests carry the content hash header (1.706676ms) ✔ presigned urls carry the signature in the query string (4.88574ms) ✔ an already encoded path is not encoded a second time (1.741978ms) ✔ key validation rejects traversal and absolute paths (4.833925ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.785111ms) ✔ key layout is stable (1.007164ms) ✔ local backend round trips a buffer and reports its digest (32.381097ms) ✔ local backend serves ranges (10.544673ms) ✔ local backend accepts a stream (18.592273ms) ✔ local backend reports a missing object and deletes idempotently (9.460842ms) ✔ local backend has no presigned urls (1.544943ms) ✔ a partial write leaves no object behind (7.373872ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.019064ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (3.670617ms) ✔ inParts handles a chunk far larger than the part size (1.111323ms) ✔ inParts yields nothing for an empty stream (0.860043ms) ﹣ s3 backend round trips awkward keys against a real server (0.228004ms) # docker is not available ﹣ s3 serves byte ranges (0.13896ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.130498ms) # docker is not available ﹣ a presigned url is usable without credentials (0.245003ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.250919ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.097942ms) # docker is not available ﹣ a stream of unknown length is accepted (0.071769ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.066685ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.068049ms) # docker is not available ﹣ a multipart object still serves ranges (0.062919ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.065525ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.08296ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.062314ms) # docker is not available ✔ every javascript file parses (890.452365ms) ✔ the shell scripts parse (2.911285ms) ✔ interpolated values are escaped by default (3.203829ms) ✔ quotes and ampersands are escaped inside attributes (0.470248ms) ✔ nested templates and arrays are kept, raw is passed through (0.360292ms) ✔ null, undefined and false render as nothing (0.325937ms) ✔ attrs omits absent values and renders bare booleans (0.414257ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (526.127322ms) ✔ an anonymous visitor cannot see a private job (279.90969ms) ✔ management pages redirect an anonymous visitor to sign in (211.968341ms) ✔ signing in through the form sets a session and reveals the nav (430.718466ms) ✔ a user creates a project through the form and is shown the secret once (299.592255ms) ✔ a project page shows variables and never their values (324.984345ms) ✔ setting and removing a variable returns the updated table (349.058258ms) ✔ a user cannot open or delete a project they do not own (476.77341ms) ✔ registering a worker shows the token once and lists it (397.598842ms) ✔ an ordinary user cannot create shared capacity from the form (500.122931ms) ✔ the users page is administrator only and warns about what deletion destroys (548.240901ms) ✔ a running job polls, and a finished one stops (411.669144ms) ✔ a task page streams the log and stops polling once it completes (396.760386ms) ✔ log output is escaped, so a task cannot inject markup into the page (317.887653ms) ✔ a mutation without the htmx header is refused (331.90714ms) ✔ the sign in form is centred rather than stranded at the left edge (251.291903ms) ✔ row actions stay ordinary table cells, so rows keep one height (378.880571ms) ✔ the stylesheet and htmx are served, and nothing else is (257.273435ms) ✔ the project page shows retention, with server defaults as placeholders (312.979249ms) ✔ saving retention through the form stores it, and empty means inherit (343.359395ms) ✔ a negative retention value is refused by the form (347.142245ms) ✔ the project page offers a working directory, defaulting to the server one (284.495084ms) ✔ saving a working directory stores it, and empty clears it (363.072584ms) ✔ an unusable working directory is refused by the form (384.553325ms) ✔ worker config loads from json and reports features (32.556122ms) ✔ worker config reads the token from a file (4.965138ms) ✔ environment overrides the worker config file (4.601614ms) ✔ worker config without a token is rejected (5.541954ms) ✔ a malformed feature is reported with its path (4.336444ms) ✔ shell quoting survives quotes and metacharacters (0.718649ms) ✔ a generated script echoes each command and stops on failure (0.917044ms) ✔ container names are valid for docker and stay unique (2.619872ms) ✔ job arguments carry mounts, env, network and privilege (1.359121ms) ✔ a task container is created without sharing anything with the worker (1.251404ms) ✔ a feature still contributes its bind mounts (0.472043ms) ✔ features resolve into mounts, env and privilege (0.788019ms) ✔ an unknown required feature is reported rather than ignored (0.29537ms) ✔ an artifact pattern reduces to the part that can be copied out (0.68466ms) ✔ overlapping artifact paths are copied out once (0.859233ms) ✔ artifact collection globs, and refuses to leave the workspace (36.56674ms) ✔ artifact when controls collection (0.491578ms) ✔ an idle worker keeps running instead of exiting (4012.858601ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1519.563916ms) ✔ log output is batched and offsets advance (2.50063ms) ✔ a conflicting offset resynchronises instead of duplicating (0.633314ms) ✔ secrets are masked before anything leaves the host (1.092606ms) ✔ a secret split across two writes is still masked (0.442065ms) ✔ a failing conductor does not break the task (0.900161ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 15089.920614 [conductor] done