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 8069c51effa2 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.321888ms) ✔ no file uses CRLF line endings or trailing whitespace (92.37942ms) ✔ a password round trips and a wrong one is refused (36.766572ms) ✔ the same password hashes differently each time (23.044929ms) ✔ parameters are read back from the stored hash (26.151344ms) ✔ a malformed stored hash is refused rather than throwing (0.902589ms) ✔ password length is bounded (1.430137ms) ✔ a session token round trips its claims (2.913241ms) ✔ a token signed with another secret is refused (0.826894ms) ✔ a tampered payload is refused (0.880953ms) ✔ an expired token is refused (1.174214ms) ✔ a malformed token is refused rather than throwing (0.851248ms) ✔ cookies are parsed and issued (3.461297ms) ✔ the oidc login state round trips with its return path (1.336485ms) ✔ a missing return path means the root (0.474911ms) ✔ the oidc login state is refused when forged, stale or off-site (0.732059ms) ✔ oidc roles are collected from the usual claim shapes (0.778901ms) ✔ mask replaces secrets, longest first (0.510336ms) ✔ mask ignores very short values and leaves clean output alone (0.382042ms) ✔ health reports the selected drivers (390.333358ms) ✔ a signed trigger creates a job and expands the pipeline (218.955835ms) ✔ an unsigned or wrongly signed trigger is refused (115.606638ms) ✔ github and gitlab push payloads are understood (310.130038ms) ✔ a branch deletion is ignored rather than failing (109.326129ms) ✔ a broken pipeline is reported as a client error with detail (230.446551ms) ✔ a missing pipeline file is reported clearly (219.931678ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (219.501161ms) ✔ a project pointed at a specific file gets no fallback (214.654577ms) ✔ a repository carrying both spellings is refused rather than guessed at (275.287489ms) ✔ a pipeline still using the jobs key is told what it was renamed to (255.356601ms) ✔ a job can be created directly, without a push payload to imitate (186.844635ms) ✔ creating a job requires the same signature as a trigger (81.029389ms) ✔ creating a job insists on a real commit rather than inferring one (106.157401ms) ✔ a job can be read back, with the state of every task (203.359729ms) ✔ a public job is readable without any credential at all (218.113059ms) ✔ a private job needs the trigger secret, and is otherwise absent (236.176256ms) ✔ a job of another project cannot be read through this one (235.470883ms) ✔ a task can be read back on its own, and by its full name (223.681615ms) ✔ reading a task back carries its dependencies and matrix (239.922174ms) ✔ reading a task back never exposes its environment, services or script (244.619199ms) ✔ a task lists the artifacts it stored, with a usable download url (305.090027ms) ✔ reading a task back needs no worker token (209.5939ms) ✔ a private task is absent without a credential, and needs its project named (253.337458ms) ✔ a private task is readable by an administrator, by either path (471.117324ms) ✔ a task of another project cannot be read through this one (217.536101ms) ✔ an unknown task is 404 by either path (90.925378ms) ✔ the worker api rejects missing and invalid tokens (83.447872ms) ✔ independent tasks dispatch concurrently (238.57941ms) ✔ a task is only offered to a worker that satisfies its requires (215.884401ms) ✔ a worker is not offered work for an architecture it cannot build (246.453815ms) ✔ a claimed task carries everything the worker needs (245.416508ms) ✔ a task that requires a feature reports it to the worker (247.612548ms) ✔ the standard conductor variables are present in the task environment (256.386244ms) ✔ the source tarball is served from the mirror (254.353238ms) ✔ a worker cannot touch a task it does not hold (238.08921ms) ✔ log appends are resumable and deduplicated by offset (213.352719ms) ✔ an oversized log chunk is refused (248.00331ms) ✔ a finished log moves to storage and is still readable (273.579502ms) ✔ artifacts are stored, hashed, and stripped of traversal (227.65696ms) ✔ an artifact shorter than its content-length is rejected (226.990964ms) ✔ success releases dependents, matched on shared dimensions (261.314039ms) ✔ failure skips transitive dependents, not just direct ones (254.220173ms) ✔ a job settles as failed once every task is terminal (280.850933ms) ✔ a job settles as success when everything passes (231.991964ms) ✔ an allowed failure does not fail the job or block dependents (259.107413ms) ✔ a task with retries left is requeued instead of failing the job (246.728579ms) ✔ heartbeats keep a task alive and report cancellation (251.248985ms) ✔ the reaper fails a task whose worker stopped reporting (206.579771ms) ✔ a second push produces an independent, numbered job (358.363906ms) ﹣ jobs can be listed and filtered by project (0.738419ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.259046ms) # the JSON API was removed ✔ a disabled project refuses triggers (131.603584ms) ✔ a trigger for an unknown project is a 404 (131.000416ms) ✔ a commit that is not in the repository is refused (243.015171ms) ✔ a task is told to fetch an archive, and never the repository itself (240.485326ms) ✔ the source archive is the bare tree, with no wrapping directory (216.270779ms) ✔ the working directory is resolved from the pipeline, then the project (676.91753ms) ✔ an unusable working directory is refused rather than sanitised (998.393986ms) ✔ the trigger secret is not stored in the clear (163.966316ms) ✔ worker tokens are stored only as hashes (95.372445ms) ✔ defaults select sqlite, local storage and local auth (7.12769ms) ✔ configuring an s3 bucket switches the storage driver (1.299338ms) ✔ a partial s3 configuration is rejected rather than half applied (2.412681ms) ✔ configuring an oidc discovery url switches the auth mode (1.165143ms) ✔ an oidc discovery url without a client id is rejected (1.421925ms) ✔ a database url selects its dialect (2.832605ms) ✔ an unsupported database scheme is reported clearly (1.208568ms) ✔ a sqlite url collapses into database.path (1.524926ms) ✔ environment variables override the config file (65.368096ms) ✔ relative paths resolve against the config file directory (8.772357ms) ✔ a missing explicit config file is an error, a missing default is not (3.182814ms) ✔ a heartbeat timeout below the reap interval is rejected (8.70997ms) ✔ a non-integer port is rejected with the variable named (1.263981ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.844619ms) ✔ stateDirs omits the storage directory when s3 is in use (2.803133ms) ✔ the loaded config is frozen (1.166032ms) ✔ topological order places dependencies first (4.886522ms) ✔ topological order is deterministic (6.060568ms) ✔ a cycle is detected and named (1.914831ms) ✔ depth reflects the longest path, not insertion order (0.901091ms) ✔ independent tasks are runnable at the same time (1.078477ms) ✔ a task becomes runnable only once every dependency succeeds (0.81925ms) ✔ a running dependency does not release its dependents (0.848204ms) ✔ failure skips transitive dependents, not just direct ones (1.11252ms) ✔ a skipped dependency never releases a dependent (1.628809ms) ✔ allowed failures can satisfy a dependency when asked to (1.033215ms) ✔ transitive dependents of a leaf is empty (0.653855ms) ✔ graph helpers tolerate dependencies outside the set (0.833478ms) ✔ dialect detection covers every supported scheme (4.122672ms) ✔ statement splitter respects literals and comments (1.366649ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.600516ms) ✔ migrations apply once and are idempotent (120.71719ms) ✔ an edited migration is refused rather than silently diverging (54.605452ms) ✔ a migration removed from disk is reported (34.407092ms) ✔ rows come back as ordinary objects (47.935827ms) ✔ a conditional update claims exactly once (35.29763ms) ✔ deleting a job cascades to its tasks (48.40758ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (38.235527ms) ﹣ migrations apply and retention sweeps on postgres (2.803508ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.369362ms) # SKIP ✔ every example pipeline compiles (83.46249ms) ✔ the distribution example fans in per architecture (26.36847ms) ✔ the node example wires services and features (19.720043ms) ✔ git jobs with safe.directory set (3.563638ms) ✔ it appends to configuration already in the environment (0.567919ms) ✔ a count that is not a number does not corrupt the sequence (0.622238ms) ✔ git accepts the environment we build (63.625522ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (95.229775ms) ﹣ the endpoints and key set come from the discovery document (2.764051ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (59.266015ms) ✔ discovery reports an unreachable provider and a bad status (2.034566ms) ﹣ a token carrying the admin role authenticates as an administrator (0.354182ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.765728ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.299091ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (1.802381ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.404746ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.404772ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.525706ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.414094ms) # the JSON API was removed ﹣ a forged signature is refused (0.57248ms) # the JSON API was removed ﹣ an expired token is refused (3.211202ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.457044ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.221729ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.146412ms) # docker is not available ﹣ a callback with a forged state is refused (0.122248ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.115922ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.11645ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.118396ms) # the JSON API was removed ✔ a pattern without a star matches exactly (3.810412ms) ✔ a star matches any job of characters (0.915674ms) ✔ the rest of a pattern is literal, not a regular expression (0.679878ms) ✔ a restricted task is left out of jobs for other refs (47.551513ms) ✔ it is left out rather than recorded as skipped (3.942218ms) ✔ tasks depending on an excluded task are excluded too (5.137702ms) ✔ depth and ordering describe the job that will happen (3.700025ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (3.529658ms) ✔ a restricted task cannot match a job that has no ref (3.704491ms) ✔ a malformed rule is reported rather than ignored (15.971752ms) ✔ the rule is not inherited from defaults (3.798551ms) ✔ a minimal pipeline compiles (42.475757ms) ✔ version is required and pinned (9.187634ms) ✔ empty and malformed documents are rejected clearly (6.346859ms) ✔ image and script are required (2.120005ms) ✔ image may come from defaults (4.70811ms) ✔ unknown keys are rejected, with a suggestion when close (8.346961ms) ✔ all problems are reported at once (2.696797ms) ✔ durations accept seconds, units and composites (7.961032ms) ✔ durations accept day and week units (4.130828ms) ✔ a malformed duration is rejected (2.864287ms) ✔ arch expands into one task per architecture (3.830298ms) ✔ a matrix expands to the cartesian product (3.739446ms) ✔ needs match on shared dimensions rather than fanning out (12.219558ms) ✔ a task without the shared dimension depends on every instance (3.395963ms) ✔ match all opts out of dimension matching (5.898157ms) ✔ needs may name one concrete instance (6.895567ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.767029ms) ✔ needs on an unknown task lists what is defined (1.320113ms) ✔ self dependency is rejected (2.829574ms) ✔ a dependency cycle names the cycle (3.823913ms) ✔ interpolation substitutes arch and matrix values (3.30497ms) ✔ interpolating an undefined dimension is an error (2.109293ms) ✔ referring to arch without declaring one is an error (2.104762ms) ✔ matrix values must be safe for use in a task name (2.263139ms) ✔ arch may not also be a matrix dimension (1.413796ms) ✔ services get a derived alias and reject duplicates (4.492626ms) ✔ artifacts accept a bare list and reject absolute paths (3.419938ms) ✔ artifact when is constrained (1.319431ms) ✔ defaults are inherited and overridden per task (1.670467ms) ✔ env values must be scalars with valid names (1.835805ms) ✔ parsePipeline normalizes without expanding (1.951477ms) ✔ a realistic distribution pipeline produces the expected graph (3.196939ms) ✔ compiles markers to the placeholder each dialect expects (12.353598ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.542366ms) ✔ ignores markers inside string literals and comments (0.789052ms) ✔ a json literal in default text survives untouched (0.511919ms) ✔ doubling a brace escapes it (0.557505ms) ✔ block comments are skipped, and nest only for postgres (0.995883ms) ✔ postgres dollar quoted bodies are skipped (0.585725ms) ✔ mysql backtick identifiers and hash comments are skipped (1.128548ms) ✔ a malformed marker is rejected with a useful message (2.491007ms) ✔ binds by name, resolving dotted paths (1.975406ms) ✔ an exact key beats path traversal (2.077434ms) ✔ reports every missing key at once (0.789147ms) ✔ rejects an array of parameters, which would silently bind by position (0.622582ms) ✔ normalizes booleans, dates and null (0.554529ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.850288ms) ✔ an artifact past its own deadline is deleted (384.566006ms) ✔ an explicit deadline overrides the policy in both directions (211.430053ms) ✔ an explicit deadline also beats the last good job (106.655461ms) ✔ the last few jobs keep their artifacts however old they are (106.96531ms) ✔ recent artifacts are kept however many jobs have followed (96.562391ms) ✔ an artifact outside both rules is deleted (101.683262ms) ✔ the most recent successful job is kept whatever the policy says (92.531115ms) ✔ only the latest success is protected, not every success (113.505523ms) ✔ a project may keep artifacts forever despite a server default (95.769914ms) ✔ a project setting overrides the server default (96.731208ms) ✔ an unfinished job is never swept (109.749016ms) ✔ logs older than the limit are removed but the task remains (105.180805ms) ✔ a swept log is distinguishable from one that never existed (100.31097ms) ✔ a log is swept only once (90.149277ms) ✔ zero keeps logs forever (86.00142ms) ✔ a storage failure leaves the row for the next pass (88.452433ms) ✔ a sweep deletes no more than its batch (109.575406ms) ✔ one project policy does not reach into another (111.717769ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (280.264007ms) ﹣ the api reports and accepts project retention (0.26639ms) # the JSON API was removed ✔ seals and opens a value (7.791048ms) ✔ sealing twice produces different ciphertext (1.267822ms) ✔ without a key, values are stored as marked plaintext (0.675146ms) ✔ a keyed box can still read values written before a key existed (0.489515ms) ✔ an unkeyed box refuses encrypted values with an actionable message (5.274985ms) ✔ the wrong key fails to open (4.048354ms) ✔ tampering with the ciphertext is detected (1.429249ms) ✔ associated data binds a secret to its location (2.121129ms) ✔ a key of the wrong size is refused at construction (0.723341ms) ✔ task ids are opaque, and say nothing about their job (10.729349ms) ✔ time ordered ids sort by creation time (0.744252ms) ✔ random ids use the expected alphabet (0.544972ms) ✔ slugify produces readable project ids and falls back when empty (0.873471ms) ✔ token hashing and constant time comparison (1.673194ms) ✔ the pipeline this project jobs on itself compiles (63.134368ms) ✔ its tasks declare the features they actually need (11.351823ms) ✔ publishing is restricted to main and release tags (64.075315ms) ✔ get-vanilla matches the reference signature (5.128248ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.414044ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.406465ms) ✔ amzDate produces both required formats (0.333905ms) ✔ s3 requests carry the content hash header (1.085716ms) ✔ presigned urls carry the signature in the query string (3.616717ms) ✔ an already encoded path is not encoded a second time (1.300005ms) ✔ key validation rejects traversal and absolute paths (5.109886ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.829488ms) ✔ key layout is stable (1.254561ms) ✔ local backend round trips a buffer and reports its digest (51.460975ms) ✔ local backend serves ranges (14.199835ms) ✔ local backend accepts a stream (11.102967ms) ✔ local backend reports a missing object and deletes idempotently (5.131681ms) ✔ local backend has no presigned urls (1.475126ms) ✔ a partial write leaves no object behind (4.069876ms) ✔ part size grows so that a huge object still fits in 10000 parts (0.983976ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.893202ms) ✔ inParts handles a chunk far larger than the part size (0.925185ms) ✔ inParts yields nothing for an empty stream (0.742029ms) ﹣ s3 backend round trips awkward keys against a real server (0.140144ms) # docker is not available ﹣ s3 serves byte ranges (0.125113ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.113272ms) # docker is not available ﹣ a presigned url is usable without credentials (0.231201ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.184779ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.109734ms) # docker is not available ﹣ a stream of unknown length is accepted (0.095132ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.093293ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.090783ms) # docker is not available ﹣ a multipart object still serves ranges (0.088689ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.08851ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.090656ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.087384ms) # docker is not available ✔ every javascript file parses (950.654427ms) ✔ the shell scripts parse (3.58468ms) ✔ interpolated values are escaped by default (2.833664ms) ✔ quotes and ampersands are escaped inside attributes (0.425956ms) ✔ nested templates and arrays are kept, raw is passed through (0.451722ms) ✔ null, undefined and false render as nothing (0.299217ms) ✔ attrs omits absent values and renders bare booleans (0.530017ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (502.561129ms) ✔ an anonymous visitor cannot see a private job (279.513706ms) ✔ management pages redirect an anonymous visitor to sign in (263.912431ms) ✔ signing in through the form sets a session and reveals the nav (450.292771ms) ✔ a user creates a project through the form and is shown the secret once (257.476691ms) ✔ a project page shows variables and never their values (289.708154ms) ✔ setting and removing a variable returns the updated table (294.066932ms) ✔ a user cannot open or delete a project they do not own (491.590827ms) ✔ registering a worker shows the token once and lists it (388.962722ms) ✔ an ordinary user cannot create shared capacity from the form (539.049191ms) ✔ the users page is administrator only and warns about what deletion destroys (556.62848ms) ✔ a running job polls, and a finished one stops (400.420883ms) ✔ a task page streams the log and stops polling once it completes (397.919701ms) ✔ log output is escaped, so a task cannot inject markup into the page (315.995378ms) ✔ a mutation without the htmx header is refused (350.308591ms) ✔ the sign in form is centred rather than stranded at the left edge (239.2772ms) ✔ row actions stay ordinary table cells, so rows keep one height (354.325606ms) ✔ the stylesheet and htmx are served, and nothing else is (242.598433ms) ✔ the project page shows retention, with server defaults as placeholders (337.477522ms) ✔ saving retention through the form stores it, and empty means inherit (357.486889ms) ✔ a negative retention value is refused by the form (371.085441ms) ✔ the project page offers a working directory, defaulting to the server one (315.965724ms) ✔ saving a working directory stores it, and empty clears it (351.453492ms) ✔ an unusable working directory is refused by the form (331.000913ms) ✔ worker config loads from json and reports features (29.845851ms) ✔ worker config reads the token from a file (4.292062ms) ✔ environment overrides the worker config file (3.388943ms) ✔ worker config without a token is rejected (15.21017ms) ✔ a malformed feature is reported with its path (6.459503ms) ✔ shell quoting survives quotes and metacharacters (0.731865ms) ✔ a generated script echoes each command and stops on failure (3.089204ms) ✔ container names are valid for docker and stay unique (2.292671ms) ✔ job arguments carry mounts, env, network and privilege (1.751481ms) ✔ a task container is created without sharing anything with the worker (1.264868ms) ✔ a feature still contributes its bind mounts (1.222897ms) ✔ features resolve into mounts, env and privilege (3.981311ms) ✔ an unknown required feature is reported rather than ignored (0.369999ms) ✔ an artifact pattern reduces to the part that can be copied out (0.713222ms) ✔ overlapping artifact paths are copied out once (0.90069ms) ✔ artifact collection globs, and refuses to leave the workspace (42.117327ms) ✔ artifact when controls collection (0.5538ms) ✔ an idle worker keeps running instead of exiting (4008.680012ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1521.701348ms) ✔ log output is batched and offsets advance (5.215886ms) ✔ a conflicting offset resynchronises instead of duplicating (1.529318ms) ✔ secrets are masked before anything leaves the host (2.503238ms) ✔ a secret split across two writes is still masked (1.039155ms) ✔ a failing conductor does not break the task (1.977035ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 15165.7872 [conductor] done