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 c8d6358c3d63 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.3 test > node --test "test/**/*.test.js" ✔ every tracked text file is pure ASCII (235.759241ms) ✔ no file uses CRLF line endings or trailing whitespace (94.323254ms) ✔ a password round trips and a wrong one is refused (42.323849ms) ✔ the same password hashes differently each time (31.075933ms) ✔ parameters are read back from the stored hash (29.897458ms) ✔ a malformed stored hash is refused rather than throwing (0.826806ms) ✔ password length is bounded (1.555798ms) ✔ a session token round trips its claims (3.037397ms) ✔ a token signed with another secret is refused (0.743905ms) ✔ a tampered payload is refused (0.755009ms) ✔ an expired token is refused (1.009987ms) ✔ a malformed token is refused rather than throwing (2.502278ms) ✔ cookies are parsed and issued (4.131762ms) ✔ the oidc login state round trips with its return path (1.757126ms) ✔ a missing return path means the root (0.579083ms) ✔ the oidc login state is refused when forged, stale or off-site (0.796168ms) ✔ oidc roles are collected from the usual claim shapes (1.381805ms) ✔ mask replaces secrets, longest first (0.796837ms) ✔ mask ignores very short values and leaves clean output alone (0.366279ms) ✔ health reports the selected drivers (402.653328ms) ✔ a signed trigger creates a job and expands the pipeline (218.435732ms) ✔ an unsigned or wrongly signed trigger is refused (99.779274ms) ✔ github and gitlab push payloads are understood (305.296263ms) ✔ a branch deletion is ignored rather than failing (140.152403ms) ✔ a broken pipeline is reported as a client error with detail (222.75837ms) ✔ a missing pipeline file is reported clearly (220.785499ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (241.775339ms) ✔ a project pointed at a specific file gets no fallback (226.950295ms) ✔ a repository carrying both spellings is refused rather than guessed at (234.444574ms) ✔ a pipeline still using the jobs key is told what it was renamed to (259.16932ms) ✔ a job can be created directly, without a push payload to imitate (235.545607ms) ✔ creating a job requires the same signature as a trigger (141.847602ms) ✔ creating a job insists on a real commit rather than inferring one (134.96598ms) ✔ a job can be read back, with the state of every task (229.089971ms) ✔ a public job is readable without any credential at all (232.660258ms) ✔ a private job needs the trigger secret, and is otherwise absent (201.900321ms) ✔ a job of another project cannot be read through this one (241.172256ms) ✔ a task can be read back on its own, and by its full name (242.846085ms) ✔ reading a task back carries its dependencies and matrix (215.200231ms) ✔ reading a task back never exposes its environment, services or script (229.054638ms) ✔ a task lists the artifacts it stored, with a usable download url (280.376208ms) ✔ reading a task back needs no worker token (211.41975ms) ✔ a private task is absent without a credential, and needs its project named (244.389309ms) ✔ a private task is readable by an administrator, by either path (451.07867ms) ✔ a task of another project cannot be read through this one (242.234408ms) ✔ an unknown task is 404 by either path (125.334125ms) ✔ the worker api rejects missing and invalid tokens (96.268518ms) ✔ independent tasks dispatch concurrently (228.676091ms) ✔ a task is only offered to a worker that satisfies its requires (236.238774ms) ✔ a worker is not offered work for an architecture it cannot build (226.973207ms) ✔ a claimed task carries everything the worker needs (245.865585ms) ✔ a task that requires a feature reports it to the worker (290.947522ms) ✔ the standard conductor variables are present in the task environment (238.405056ms) ✔ the source tarball is served from the mirror (218.466637ms) ✔ a worker cannot touch a task it does not hold (256.217559ms) ✔ log appends are resumable and deduplicated by offset (263.836325ms) ✔ an oversized log chunk is refused (219.738324ms) ✔ a finished log moves to storage and is still readable (258.13277ms) ✔ artifacts are stored, hashed, and stripped of traversal (226.470432ms) ✔ an artifact shorter than its content-length is rejected (216.333396ms) ✔ success releases dependents, matched on shared dimensions (256.119419ms) ✔ failure skips transitive dependents, not just direct ones (253.257939ms) ✔ a job settles as failed once every task is terminal (280.335841ms) ✔ a job settles as success when everything passes (255.596962ms) ✔ an allowed failure does not fail the job or block dependents (258.043294ms) ✔ a task with retries left is requeued instead of failing the job (242.379777ms) ✔ heartbeats keep a task alive and report cancellation (207.962474ms) ✔ the reaper fails a task whose worker stopped reporting (298.094498ms) ✔ a second push produces an independent, numbered job (381.948344ms) ﹣ jobs can be listed and filtered by project (0.624809ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.230932ms) # the JSON API was removed ✔ a disabled project refuses triggers (131.945312ms) ✔ a trigger for an unknown project is a 404 (87.079248ms) ✔ a commit that is not in the repository is refused (210.270397ms) ✔ a task is told to fetch an archive, and never the repository itself (248.948261ms) ✔ the source archive is the bare tree, with no wrapping directory (238.098262ms) ✔ the working directory is resolved from the pipeline, then the project (705.030238ms) ✔ an unusable working directory is refused rather than sanitised (964.536058ms) ✔ the trigger secret is not stored in the clear (153.688058ms) ✔ worker tokens are stored only as hashes (128.096991ms) ✔ defaults select sqlite, local storage and local auth (9.255698ms) ✔ configuring an s3 bucket switches the storage driver (1.929189ms) ✔ a partial s3 configuration is rejected rather than half applied (2.435706ms) ✔ configuring an oidc discovery url switches the auth mode (1.709318ms) ✔ an oidc discovery url without a client id is rejected (1.447171ms) ✔ a database url selects its dialect (2.926558ms) ✔ an unsupported database scheme is reported clearly (1.716474ms) ✔ a sqlite url collapses into database.path (4.567287ms) ✔ environment variables override the config file (79.652523ms) ✔ relative paths resolve against the config file directory (9.363594ms) ✔ a missing explicit config file is an error, a missing default is not (3.870982ms) ✔ a heartbeat timeout below the reap interval is rejected (9.942453ms) ✔ a non-integer port is rejected with the variable named (1.727033ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.951963ms) ✔ stateDirs omits the storage directory when s3 is in use (4.376761ms) ✔ the loaded config is frozen (1.197564ms) ✔ topological order places dependencies first (4.373471ms) ✔ topological order is deterministic (6.031213ms) ✔ a cycle is detected and named (1.992715ms) ✔ depth reflects the longest path, not insertion order (0.891729ms) ✔ independent tasks are runnable at the same time (1.036278ms) ✔ a task becomes runnable only once every dependency succeeds (0.814654ms) ✔ a running dependency does not release its dependents (0.625026ms) ✔ failure skips transitive dependents, not just direct ones (1.442249ms) ✔ a skipped dependency never releases a dependent (1.713973ms) ✔ allowed failures can satisfy a dependency when asked to (1.833502ms) ✔ transitive dependents of a leaf is empty (0.82401ms) ✔ graph helpers tolerate dependencies outside the set (0.735846ms) ✔ dialect detection covers every supported scheme (4.363476ms) ✔ statement splitter respects literals and comments (1.375219ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.565681ms) ✔ migrations apply once and are idempotent (149.656525ms) ✔ an edited migration is refused rather than silently diverging (45.12275ms) ✔ a migration removed from disk is reported (38.744127ms) ✔ rows come back as ordinary objects (45.657011ms) ✔ a conditional update claims exactly once (42.3266ms) ✔ deleting a job cascades to its tasks (50.941778ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (54.084681ms) ﹣ migrations apply and retention sweeps on postgres (2.712226ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.353126ms) # SKIP ✔ every example pipeline compiles (89.481836ms) ✔ the distribution example fans in per architecture (26.334112ms) ✔ the node example wires services and features (19.455809ms) ✔ git jobs with safe.directory set (3.70571ms) ✔ it appends to configuration already in the environment (0.614125ms) ✔ a count that is not a number does not corrupt the sequence (0.650211ms) ✔ git accepts the environment we build (68.616376ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (93.980915ms) ﹣ the endpoints and key set come from the discovery document (2.695234ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (57.229199ms) ✔ discovery reports an unreachable provider and a bad status (3.051784ms) ﹣ a token carrying the admin role authenticates as an administrator (0.376479ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.312818ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.286974ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (1.880637ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.722494ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.415509ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (2.476439ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.299602ms) # the JSON API was removed ﹣ a forged signature is refused (0.53544ms) # the JSON API was removed ﹣ an expired token is refused (0.347692ms) # the JSON API was removed ﹣ a token from a different issuer is refused (9.663693ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.282717ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.181274ms) # docker is not available ﹣ a callback with a forged state is refused (0.127165ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.117023ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.117372ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.123032ms) # the JSON API was removed ✔ a pattern without a star matches exactly (3.536398ms) ✔ a star matches any job of characters (0.923406ms) ✔ the rest of a pattern is literal, not a regular expression (0.463861ms) ✔ a restricted task is left out of jobs for other refs (53.768768ms) ✔ it is left out rather than recorded as skipped (6.817973ms) ✔ tasks depending on an excluded task are excluded too (8.434177ms) ✔ depth and ordering describe the job that will happen (4.350191ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (8.491157ms) ✔ a restricted task cannot match a job that has no ref (7.442402ms) ✔ a malformed rule is reported rather than ignored (18.372909ms) ✔ the rule is not inherited from defaults (2.902772ms) ✔ a minimal pipeline compiles (44.07024ms) ✔ version is required and pinned (7.550689ms) ✔ empty and malformed documents are rejected clearly (6.821419ms) ✔ image and script are required (1.834631ms) ✔ image may come from defaults (4.250611ms) ✔ unknown keys are rejected, with a suggestion when close (7.971609ms) ✔ all problems are reported at once (4.722984ms) ✔ durations accept seconds, units and composites (5.485437ms) ✔ durations accept day and week units (4.961522ms) ✔ a malformed duration is rejected (4.238485ms) ✔ arch expands into one task per architecture (4.012206ms) ✔ a matrix expands to the cartesian product (3.5431ms) ✔ needs match on shared dimensions rather than fanning out (12.076713ms) ✔ a task without the shared dimension depends on every instance (3.28202ms) ✔ match all opts out of dimension matching (4.019633ms) ✔ needs may name one concrete instance (4.163624ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.373292ms) ✔ needs on an unknown task lists what is defined (1.410265ms) ✔ self dependency is rejected (1.735695ms) ✔ a dependency cycle names the cycle (5.093458ms) ✔ interpolation substitutes arch and matrix values (2.790585ms) ✔ interpolating an undefined dimension is an error (2.153043ms) ✔ referring to arch without declaring one is an error (3.913859ms) ✔ matrix values must be safe for use in a task name (1.286749ms) ✔ arch may not also be a matrix dimension (1.549927ms) ✔ services get a derived alias and reject duplicates (4.52302ms) ✔ artifacts accept a bare list and reject absolute paths (1.903953ms) ✔ artifact when is constrained (1.151971ms) ✔ defaults are inherited and overridden per task (2.172171ms) ✔ env values must be scalars with valid names (1.569733ms) ✔ parsePipeline normalizes without expanding (1.236615ms) ✔ a realistic distribution pipeline produces the expected graph (4.521965ms) ✔ compiles markers to the placeholder each dialect expects (13.253817ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.849374ms) ✔ ignores markers inside string literals and comments (0.851589ms) ✔ a json literal in default text survives untouched (0.613716ms) ✔ doubling a brace escapes it (0.801698ms) ✔ block comments are skipped, and nest only for postgres (0.541281ms) ✔ postgres dollar quoted bodies are skipped (0.601028ms) ✔ mysql backtick identifiers and hash comments are skipped (1.445973ms) ✔ a malformed marker is rejected with a useful message (2.609381ms) ✔ binds by name, resolving dotted paths (3.605482ms) ✔ an exact key beats path traversal (0.956612ms) ✔ reports every missing key at once (0.891178ms) ✔ rejects an array of parameters, which would silently bind by position (2.077ms) ✔ normalizes booleans, dates and null (1.568656ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.679411ms) ✔ an artifact past its own deadline is deleted (367.905085ms) ✔ an explicit deadline overrides the policy in both directions (187.393347ms) ✔ an explicit deadline also beats the last good job (113.952927ms) ✔ the last few jobs keep their artifacts however old they are (96.085249ms) ✔ recent artifacts are kept however many jobs have followed (110.705296ms) ✔ an artifact outside both rules is deleted (90.199145ms) ✔ the most recent successful job is kept whatever the policy says (86.570388ms) ✔ only the latest success is protected, not every success (97.848516ms) ✔ a project may keep artifacts forever despite a server default (93.398542ms) ✔ a project setting overrides the server default (87.865069ms) ✔ an unfinished job is never swept (97.595873ms) ✔ logs older than the limit are removed but the task remains (93.195343ms) ✔ a swept log is distinguishable from one that never existed (129.70899ms) ✔ a log is swept only once (92.35726ms) ✔ zero keeps logs forever (89.040003ms) ✔ a storage failure leaves the row for the next pass (111.531637ms) ✔ a sweep deletes no more than its batch (129.383043ms) ✔ one project policy does not reach into another (110.198333ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (292.294052ms) ﹣ the api reports and accepts project retention (0.270262ms) # the JSON API was removed ✔ seals and opens a value (6.815437ms) ✔ sealing twice produces different ciphertext (1.196787ms) ✔ without a key, values are stored as marked plaintext (0.563261ms) ✔ a keyed box can still read values written before a key existed (0.499141ms) ✔ an unkeyed box refuses encrypted values with an actionable message (2.00346ms) ✔ the wrong key fails to open (4.359286ms) ✔ tampering with the ciphertext is detected (1.375153ms) ✔ associated data binds a secret to its location (2.157499ms) ✔ a key of the wrong size is refused at construction (1.584604ms) ✔ task ids are opaque, and say nothing about their job (9.619157ms) ✔ time ordered ids sort by creation time (0.819468ms) ✔ random ids use the expected alphabet (0.682455ms) ✔ slugify produces readable project ids and falls back when empty (0.861585ms) ✔ token hashing and constant time comparison (2.24119ms) ✔ the pipeline this project jobs on itself compiles (54.216158ms) ✔ its tasks declare the features they actually need (14.598428ms) ✔ publishing is restricted to main and release tags (60.32205ms) ✔ get-vanilla matches the reference signature (4.376486ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.549086ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.853307ms) ✔ amzDate produces both required formats (0.395561ms) ✔ s3 requests carry the content hash header (1.284364ms) ✔ presigned urls carry the signature in the query string (4.141566ms) ✔ an already encoded path is not encoded a second time (1.437862ms) ✔ key validation rejects traversal and absolute paths (7.494034ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.915765ms) ✔ key layout is stable (0.910611ms) ✔ local backend round trips a buffer and reports its digest (50.277296ms) ✔ local backend serves ranges (8.590067ms) ✔ local backend accepts a stream (15.256231ms) ✔ local backend reports a missing object and deletes idempotently (7.561784ms) ✔ local backend has no presigned urls (1.738395ms) ✔ a partial write leaves no object behind (6.957294ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.195979ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (4.027952ms) ✔ inParts handles a chunk far larger than the part size (1.346416ms) ✔ inParts yields nothing for an empty stream (1.933802ms) ﹣ s3 backend round trips awkward keys against a real server (0.228847ms) # docker is not available ﹣ s3 serves byte ranges (0.161235ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.131862ms) # docker is not available ﹣ a presigned url is usable without credentials (0.236628ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.124758ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.122094ms) # docker is not available ﹣ a stream of unknown length is accepted (0.118868ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.12095ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.123701ms) # docker is not available ﹣ a multipart object still serves ranges (0.163131ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.146792ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.128895ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.122724ms) # docker is not available ✔ every javascript file parses (975.190258ms) ✔ the shell scripts parse (2.922307ms) ✔ interpolated values are escaped by default (5.122698ms) ✔ quotes and ampersands are escaped inside attributes (0.79216ms) ✔ nested templates and arrays are kept, raw is passed through (0.719515ms) ✔ null, undefined and false render as nothing (0.454799ms) ✔ attrs omits absent values and renders bare booleans (0.748071ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (512.18543ms) ✔ an anonymous visitor cannot see a private job (299.347674ms) ✔ management pages redirect an anonymous visitor to sign in (210.395942ms) ✔ signing in through the form sets a session and reveals the nav (332.692536ms) ✔ a user creates a project through the form and is shown the secret once (319.014953ms) ✔ a project page shows variables and never their values (347.288251ms) ✔ setting and removing a variable returns the updated table (318.635631ms) ✔ a user cannot open or delete a project they do not own (538.375045ms) ✔ registering a worker shows the token once and lists it (375.111882ms) ✔ an ordinary user cannot create shared capacity from the form (555.836648ms) ✔ the users page is administrator only and warns about what deletion destroys (516.66583ms) ✔ a running job polls, and a finished one stops (453.669135ms) ✔ a task page streams the log and stops polling once it completes (409.974346ms) ✔ log output is escaped, so a task cannot inject markup into the page (333.352483ms) ✔ a mutation without the htmx header is refused (338.74311ms) ✔ the sign in form is centred rather than stranded at the left edge (254.525975ms) ✔ row actions stay ordinary table cells, so rows keep one height (323.522125ms) ✔ the stylesheet and htmx are served, and nothing else is (192.586577ms) ✔ the project page shows retention, with server defaults as placeholders (357.627409ms) ✔ saving retention through the form stores it, and empty means inherit (345.718884ms) ✔ a negative retention value is refused by the form (249.862744ms) ✔ the project page offers a working directory, defaulting to the server one (352.931641ms) ✔ saving a working directory stores it, and empty clears it (319.284304ms) ✔ an unusable working directory is refused by the form (328.509952ms) ✔ worker config loads from json and reports features (35.825822ms) ✔ worker config reads the token from a file (4.616726ms) ✔ environment overrides the worker config file (4.359309ms) ✔ worker config without a token is rejected (6.229017ms) ✔ a malformed feature is reported with its path (5.166644ms) ✔ shell quoting survives quotes and metacharacters (0.924117ms) ✔ a generated script echoes each command and stops on failure (1.093302ms) ✔ container names are valid for docker and stay unique (2.67787ms) ✔ job arguments carry mounts, env, network and privilege (2.015513ms) ✔ a task container is created without sharing anything with the worker (1.214364ms) ✔ a feature still contributes its bind mounts (1.840673ms) ✔ features resolve into mounts, env and privilege (1.003975ms) ✔ an unknown required feature is reported rather than ignored (0.318334ms) ✔ an artifact pattern reduces to the part that can be copied out (0.687772ms) ✔ overlapping artifact paths are copied out once (0.860403ms) ✔ artifact collection globs, and refuses to leave the workspace (39.965999ms) ✔ artifact when controls collection (0.66233ms) ✔ an idle worker keeps running instead of exiting (4010.930653ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1521.704801ms) ✔ log output is batched and offsets advance (2.393801ms) ✔ a conflicting offset resynchronises instead of duplicating (0.632358ms) ✔ secrets are masked before anything leaves the host (1.020341ms) ✔ a secret split across two writes is still masked (0.448446ms) ✔ a failing conductor does not break the task (0.741642ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 15305.197409 [conductor] done