test
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-x86-64
duration24s
log
[conductor] task test 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 (194.655385ms) ✔ no file uses CRLF line endings or trailing whitespace (124.989288ms) ✔ a password round trips and a wrong one is refused (63.22029ms) ✔ the same password hashes differently each time (42.44131ms) ✔ parameters are read back from the stored hash (37.65642ms) ✔ a malformed stored hash is refused rather than throwing (0.81362ms) ✔ password length is bounded (1.297486ms) ✔ a session token round trips its claims (2.924659ms) ✔ a token signed with another secret is refused (0.854517ms) ✔ a tampered payload is refused (0.665414ms) ✔ an expired token is refused (1.412489ms) ✔ a malformed token is refused rather than throwing (0.680035ms) ✔ cookies are parsed and issued (7.314372ms) ✔ the oidc login state round trips with its return path (1.873917ms) ✔ a missing return path means the root (0.585123ms) ✔ the oidc login state is refused when forged, stale or off-site (1.730499ms) ✔ oidc roles are collected from the usual claim shapes (1.669507ms) ✔ mask replaces secrets, longest first (0.778868ms) ✔ mask ignores very short values and leaves clean output alone (0.35243ms) ✔ health reports the selected drivers (395.868473ms) ✔ a signed trigger creates a job and expands the pipeline (217.827375ms) ✔ an unsigned or wrongly signed trigger is refused (118.561466ms) ✔ github and gitlab push payloads are understood (319.522692ms) ✔ a branch deletion is ignored rather than failing (134.207014ms) ✔ a broken pipeline is reported as a client error with detail (198.123552ms) ✔ a missing pipeline file is reported clearly (223.102806ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (239.734312ms) ✔ a project pointed at a specific file gets no fallback (203.847954ms) ✔ a repository carrying both spellings is refused rather than guessed at (250.901245ms) ✔ a pipeline still using the jobs key is told what it was renamed to (219.921864ms) ✔ a job can be created directly, without a push payload to imitate (213.26038ms) ✔ creating a job requires the same signature as a trigger (141.804369ms) ✔ creating a job insists on a real commit rather than inferring one (101.740223ms) ✔ a job can be read back, with the state of every task (202.087453ms) ✔ a public job is readable without any credential at all (228.67376ms) ✔ a private job needs the trigger secret, and is otherwise absent (208.723226ms) ✔ a job of another project cannot be read through this one (210.796492ms) ✔ a task can be read back on its own, and by its full name (277.643137ms) ✔ reading a task back carries its dependencies and matrix (247.422811ms) ✔ reading a task back never exposes its environment, services or script (238.350746ms) ✔ a task lists the artifacts it stored, with a usable download url (247.85711ms) ✔ reading a task back needs no worker token (236.192341ms) ✔ a private task is absent without a credential, and needs its project named (269.048808ms) ✔ a private task is readable by an administrator, by either path (447.890436ms) ✔ a task of another project cannot be read through this one (251.663593ms) ✔ an unknown task is 404 by either path (127.885442ms) ✔ the worker api rejects missing and invalid tokens (124.414926ms) ✔ independent tasks dispatch concurrently (253.507801ms) ✔ a task is only offered to a worker that satisfies its requires (260.72226ms) ✔ a worker is not offered work for an architecture it cannot build (241.239409ms) ✔ a claimed task carries everything the worker needs (248.942912ms) ✔ a task that requires a feature reports it to the worker (298.781575ms) ✔ the standard conductor variables are present in the task environment (207.435351ms) ✔ the source tarball is served from the mirror (208.29672ms) ✔ a worker cannot touch a task it does not hold (220.821995ms) ✔ log appends are resumable and deduplicated by offset (249.017375ms) ✔ an oversized log chunk is refused (258.348603ms) ✔ a finished log moves to storage and is still readable (249.611882ms) ✔ artifacts are stored, hashed, and stripped of traversal (214.923248ms) ✔ an artifact shorter than its content-length is rejected (249.108455ms) ✔ success releases dependents, matched on shared dimensions (247.297707ms) ✔ failure skips transitive dependents, not just direct ones (233.127723ms) ✔ a job settles as failed once every task is terminal (254.670708ms) ✔ a job settles as success when everything passes (259.985231ms) ✔ an allowed failure does not fail the job or block dependents (221.5454ms) ✔ a task with retries left is requeued instead of failing the job (221.509118ms) ✔ heartbeats keep a task alive and report cancellation (231.174956ms) ✔ the reaper fails a task whose worker stopped reporting (250.940691ms) ✔ a second push produces an independent, numbered job (343.046657ms) ﹣ jobs can be listed and filtered by project (0.654309ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.248281ms) # the JSON API was removed ✔ a disabled project refuses triggers (119.534031ms) ✔ a trigger for an unknown project is a 404 (119.381759ms) ✔ a commit that is not in the repository is refused (209.829631ms) ✔ a task is told to fetch an archive, and never the repository itself (228.674359ms) ✔ the source archive is the bare tree, with no wrapping directory (267.850232ms) ✔ the working directory is resolved from the pipeline, then the project (660.828904ms) ✔ an unusable working directory is refused rather than sanitised (954.665677ms) ✔ the trigger secret is not stored in the clear (160.680312ms) ✔ worker tokens are stored only as hashes (128.356407ms) ✔ defaults select sqlite, local storage and local auth (7.441492ms) ✔ configuring an s3 bucket switches the storage driver (1.442287ms) ✔ a partial s3 configuration is rejected rather than half applied (2.014575ms) ✔ configuring an oidc discovery url switches the auth mode (1.432373ms) ✔ an oidc discovery url without a client id is rejected (1.239348ms) ✔ a database url selects its dialect (2.294252ms) ✔ an unsupported database scheme is reported clearly (1.489584ms) ✔ a sqlite url collapses into database.path (1.373857ms) ✔ environment variables override the config file (52.600592ms) ✔ relative paths resolve against the config file directory (8.229715ms) ✔ a missing explicit config file is an error, a missing default is not (2.920411ms) ✔ a heartbeat timeout below the reap interval is rejected (8.700819ms) ✔ a non-integer port is rejected with the variable named (1.194889ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.669898ms) ✔ stateDirs omits the storage directory when s3 is in use (2.400178ms) ✔ the loaded config is frozen (1.081919ms) ✔ topological order places dependencies first (4.834086ms) ✔ topological order is deterministic (6.528095ms) ✔ a cycle is detected and named (2.086362ms) ✔ depth reflects the longest path, not insertion order (0.876926ms) ✔ independent tasks are runnable at the same time (1.064908ms) ✔ a task becomes runnable only once every dependency succeeds (0.778141ms) ✔ a running dependency does not release its dependents (0.60138ms) ✔ failure skips transitive dependents, not just direct ones (0.929797ms) ✔ a skipped dependency never releases a dependent (0.901149ms) ✔ allowed failures can satisfy a dependency when asked to (3.466306ms) ✔ transitive dependents of a leaf is empty (0.811393ms) ✔ graph helpers tolerate dependencies outside the set (0.898648ms) ✔ dialect detection covers every supported scheme (5.274436ms) ✔ statement splitter respects literals and comments (1.547225ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.653087ms) ✔ migrations apply once and are idempotent (156.131134ms) ✔ an edited migration is refused rather than silently diverging (45.008837ms) ✔ a migration removed from disk is reported (41.027792ms) ✔ rows come back as ordinary objects (42.691659ms) ✔ a conditional update claims exactly once (45.351973ms) ✔ deleting a job cascades to its tasks (39.343535ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (40.232205ms) ﹣ migrations apply and retention sweeps on postgres (2.709081ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.385417ms) # SKIP ✔ every example pipeline compiles (84.263595ms) ✔ the distribution example fans in per architecture (19.89665ms) ✔ the node example wires services and features (9.095155ms) ✔ git jobs with safe.directory set (3.696423ms) ✔ it appends to configuration already in the environment (0.58133ms) ✔ a count that is not a number does not corrupt the sequence (0.614917ms) ✔ git accepts the environment we build (61.541957ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (82.68083ms) ﹣ the endpoints and key set come from the discovery document (1.776022ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (38.612746ms) ✔ discovery reports an unreachable provider and a bad status (1.464493ms) ﹣ a token carrying the admin role authenticates as an administrator (0.304122ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.224259ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.22644ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (0.257624ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.427498ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.523568ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.687335ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.279234ms) # the JSON API was removed ﹣ a forged signature is refused (0.484251ms) # the JSON API was removed ﹣ an expired token is refused (0.346562ms) # the JSON API was removed ﹣ a token from a different issuer is refused (3.174345ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.268521ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.655405ms) # docker is not available ﹣ a callback with a forged state is refused (0.236552ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.157424ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.102097ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.13915ms) # the JSON API was removed ✔ a pattern without a star matches exactly (4.931969ms) ✔ a star matches any job of characters (1.139073ms) ✔ the rest of a pattern is literal, not a regular expression (0.578773ms) ✔ a restricted task is left out of jobs for other refs (55.917279ms) ✔ it is left out rather than recorded as skipped (7.890452ms) ✔ tasks depending on an excluded task are excluded too (7.70498ms) ✔ depth and ordering describe the job that will happen (2.744721ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (4.206711ms) ✔ a restricted task cannot match a job that has no ref (6.098592ms) ✔ a malformed rule is reported rather than ignored (11.617374ms) ✔ the rule is not inherited from defaults (3.551582ms) ✔ a minimal pipeline compiles (45.837678ms) ✔ version is required and pinned (6.718578ms) ✔ empty and malformed documents are rejected clearly (5.23499ms) ✔ image and script are required (1.836578ms) ✔ image may come from defaults (4.030799ms) ✔ unknown keys are rejected, with a suggestion when close (7.089118ms) ✔ all problems are reported at once (4.085241ms) ✔ durations accept seconds, units and composites (4.692575ms) ✔ durations accept day and week units (5.040506ms) ✔ a malformed duration is rejected (2.820446ms) ✔ arch expands into one task per architecture (3.702709ms) ✔ a matrix expands to the cartesian product (3.237649ms) ✔ needs match on shared dimensions rather than fanning out (9.810164ms) ✔ a task without the shared dimension depends on every instance (3.253139ms) ✔ match all opts out of dimension matching (4.305414ms) ✔ needs may name one concrete instance (5.887879ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.033445ms) ✔ needs on an unknown task lists what is defined (1.328638ms) ✔ self dependency is rejected (3.544388ms) ✔ a dependency cycle names the cycle (6.233279ms) ✔ interpolation substitutes arch and matrix values (2.692213ms) ✔ interpolating an undefined dimension is an error (2.890778ms) ✔ referring to arch without declaring one is an error (2.316503ms) ✔ matrix values must be safe for use in a task name (1.371083ms) ✔ arch may not also be a matrix dimension (1.61846ms) ✔ services get a derived alias and reject duplicates (9.457577ms) ✔ artifacts accept a bare list and reject absolute paths (2.54206ms) ✔ artifact when is constrained (1.361416ms) ✔ defaults are inherited and overridden per task (2.211903ms) ✔ env values must be scalars with valid names (1.62531ms) ✔ parsePipeline normalizes without expanding (2.086826ms) ✔ a realistic distribution pipeline produces the expected graph (2.977951ms) ✔ compiles markers to the placeholder each dialect expects (11.323122ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.524407ms) ✔ ignores markers inside string literals and comments (0.737046ms) ✔ a json literal in default text survives untouched (0.541814ms) ✔ doubling a brace escapes it (0.552266ms) ✔ block comments are skipped, and nest only for postgres (1.086019ms) ✔ postgres dollar quoted bodies are skipped (0.662387ms) ✔ mysql backtick identifiers and hash comments are skipped (1.308845ms) ✔ a malformed marker is rejected with a useful message (3.28143ms) ✔ binds by name, resolving dotted paths (2.43601ms) ✔ an exact key beats path traversal (0.885955ms) ✔ reports every missing key at once (0.757654ms) ✔ rejects an array of parameters, which would silently bind by position (2.490033ms) ✔ normalizes booleans, dates and null (0.728564ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.597605ms) ✔ an artifact past its own deadline is deleted (340.012012ms) ✔ an explicit deadline overrides the policy in both directions (211.655412ms) ✔ an explicit deadline also beats the last good job (110.565048ms) ✔ the last few jobs keep their artifacts however old they are (119.076518ms) ✔ recent artifacts are kept however many jobs have followed (94.851475ms) ✔ an artifact outside both rules is deleted (99.810508ms) ✔ the most recent successful job is kept whatever the policy says (122.975765ms) ✔ only the latest success is protected, not every success (126.167417ms) ✔ a project may keep artifacts forever despite a server default (102.622161ms) ✔ a project setting overrides the server default (86.066524ms) ✔ an unfinished job is never swept (92.275236ms) ✔ logs older than the limit are removed but the task remains (96.520177ms) ✔ a swept log is distinguishable from one that never existed (90.81173ms) ✔ a log is swept only once (94.452141ms) ✔ zero keeps logs forever (85.990842ms) ✔ a storage failure leaves the row for the next pass (85.348569ms) ✔ a sweep deletes no more than its batch (101.703548ms) ✔ one project policy does not reach into another (91.260363ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (244.90323ms) ﹣ the api reports and accepts project retention (0.245276ms) # the JSON API was removed ✔ seals and opens a value (7.042088ms) ✔ sealing twice produces different ciphertext (1.303196ms) ✔ without a key, values are stored as marked plaintext (0.591069ms) ✔ a keyed box can still read values written before a key existed (0.482737ms) ✔ an unkeyed box refuses encrypted values with an actionable message (1.961191ms) ✔ the wrong key fails to open (4.247963ms) ✔ tampering with the ciphertext is detected (1.27089ms) ✔ associated data binds a secret to its location (1.970004ms) ✔ a key of the wrong size is refused at construction (1.573675ms) ✔ task ids are opaque, and say nothing about their job (15.103574ms) ✔ time ordered ids sort by creation time (0.75974ms) ✔ random ids use the expected alphabet (0.427778ms) ✔ slugify produces readable project ids and falls back when empty (0.676542ms) ✔ token hashing and constant time comparison (2.010288ms) ✔ the pipeline this project jobs on itself compiles (49.395183ms) ✔ its tasks declare the features they actually need (15.448828ms) ✔ publishing is restricted to main and release tags (63.232733ms) ✔ get-vanilla matches the reference signature (6.255282ms) ✔ get-vanilla-query-order-key-case matches the reference signature (2.09273ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.52532ms) ✔ amzDate produces both required formats (0.684641ms) ✔ s3 requests carry the content hash header (1.369973ms) ✔ presigned urls carry the signature in the query string (4.470596ms) ✔ an already encoded path is not encoded a second time (1.609691ms) ✔ key validation rejects traversal and absolute paths (3.789068ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.821406ms) ✔ key layout is stable (0.797962ms) ✔ local backend round trips a buffer and reports its digest (32.722282ms) ✔ local backend serves ranges (5.393842ms) ✔ local backend accepts a stream (10.993651ms) ✔ local backend reports a missing object and deletes idempotently (4.279746ms) ✔ local backend has no presigned urls (4.838478ms) ✔ a partial write leaves no object behind (3.618177ms) ✔ part size grows so that a huge object still fits in 10000 parts (0.995215ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.973471ms) ✔ inParts handles a chunk far larger than the part size (1.073854ms) ✔ inParts yields nothing for an empty stream (0.711693ms) ﹣ s3 backend round trips awkward keys against a real server (0.177607ms) # docker is not available ﹣ s3 serves byte ranges (0.133892ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.12455ms) # docker is not available ﹣ a presigned url is usable without credentials (0.196927ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.084592ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.145094ms) # docker is not available ﹣ a stream of unknown length is accepted (0.078938ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.06597ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.065762ms) # docker is not available ﹣ a multipart object still serves ranges (0.064642ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.063468ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.093214ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.108294ms) # docker is not available ✔ every javascript file parses (935.966007ms) ✔ the shell scripts parse (3.570427ms) ✔ interpolated values are escaped by default (4.159516ms) ✔ quotes and ampersands are escaped inside attributes (0.542319ms) ✔ nested templates and arrays are kept, raw is passed through (0.590486ms) ✔ null, undefined and false render as nothing (0.374168ms) ✔ attrs omits absent values and renders bare booleans (0.621922ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (546.929964ms) ✔ an anonymous visitor cannot see a private job (283.86675ms) ✔ management pages redirect an anonymous visitor to sign in (277.731098ms) ✔ signing in through the form sets a session and reveals the nav (371.749303ms) ✔ a user creates a project through the form and is shown the secret once (289.274136ms) ✔ a project page shows variables and never their values (286.060155ms) ✔ setting and removing a variable returns the updated table (290.001205ms) ✔ a user cannot open or delete a project they do not own (531.138369ms) ✔ registering a worker shows the token once and lists it (392.278903ms) ✔ an ordinary user cannot create shared capacity from the form (489.578543ms) ✔ the users page is administrator only and warns about what deletion destroys (569.119319ms) ✔ a running job polls, and a finished one stops (354.923013ms) ✔ a task page streams the log and stops polling once it completes (383.98771ms) ✔ log output is escaped, so a task cannot inject markup into the page (313.115856ms) ✔ a mutation without the htmx header is refused (289.582477ms) ✔ the sign in form is centred rather than stranded at the left edge (197.251693ms) ✔ row actions stay ordinary table cells, so rows keep one height (352.714043ms) ✔ the stylesheet and htmx are served, and nothing else is (259.739305ms) ✔ the project page shows retention, with server defaults as placeholders (255.806679ms) ✔ saving retention through the form stores it, and empty means inherit (341.271696ms) ✔ a negative retention value is refused by the form (299.381165ms) ✔ the project page offers a working directory, defaulting to the server one (329.55376ms) ✔ saving a working directory stores it, and empty clears it (328.239643ms) ✔ an unusable working directory is refused by the form (377.156311ms) ✔ worker config loads from json and reports features (32.361914ms) ✔ worker config reads the token from a file (6.430246ms) ✔ environment overrides the worker config file (10.305825ms) ✔ worker config without a token is rejected (6.477682ms) ✔ a malformed feature is reported with its path (4.426539ms) ✔ shell quoting survives quotes and metacharacters (0.811567ms) ✔ a generated script echoes each command and stops on failure (0.977853ms) ✔ container names are valid for docker and stay unique (2.575681ms) ✔ job arguments carry mounts, env, network and privilege (1.182345ms) ✔ a task container is created without sharing anything with the worker (1.594644ms) ✔ a feature still contributes its bind mounts (0.468458ms) ✔ features resolve into mounts, env and privilege (0.765048ms) ✔ an unknown required feature is reported rather than ignored (0.304413ms) ✔ an artifact pattern reduces to the part that can be copied out (0.628038ms) ✔ overlapping artifact paths are copied out once (0.694755ms) ✔ artifact collection globs, and refuses to leave the workspace (39.962816ms) ✔ artifact when controls collection (0.351165ms) ✔ an idle worker keeps running instead of exiting (4013.232248ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1521.613455ms) ✔ log output is batched and offsets advance (2.179424ms) ✔ a conflicting offset resynchronises instead of duplicating (0.60637ms) ✔ secrets are masked before anything leaves the host (0.967355ms) ✔ a secret split across two writes is still masked (0.387913ms) ✔ a failing conductor does not break the task (0.692466ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 15210.142807 [conductor] done