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 (205.665305ms) ✔ no file uses CRLF line endings or trailing whitespace (121.156993ms) ✔ a password round trips and a wrong one is refused (51.620641ms) ✔ the same password hashes differently each time (38.447704ms) ✔ parameters are read back from the stored hash (25.113473ms) ✔ a malformed stored hash is refused rather than throwing (1.832324ms) ✔ password length is bounded (1.251134ms) ✔ a session token round trips its claims (3.062595ms) ✔ a token signed with another secret is refused (1.037613ms) ✔ a tampered payload is refused (0.767225ms) ✔ an expired token is refused (1.229332ms) ✔ a malformed token is refused rather than throwing (2.144595ms) ✔ cookies are parsed and issued (9.068772ms) ✔ the oidc login state round trips with its return path (1.857455ms) ✔ a missing return path means the root (0.513938ms) ✔ the oidc login state is refused when forged, stale or off-site (0.710683ms) ✔ oidc roles are collected from the usual claim shapes (1.505118ms) ✔ mask replaces secrets, longest first (0.804209ms) ✔ mask ignores very short values and leaves clean output alone (0.321225ms) ✔ health reports the selected drivers (429.14411ms) ✔ a signed trigger creates a job and expands the pipeline (212.206947ms) ✔ an unsigned or wrongly signed trigger is refused (99.487641ms) ✔ github and gitlab push payloads are understood (300.622739ms) ✔ a branch deletion is ignored rather than failing (88.628303ms) ✔ a broken pipeline is reported as a client error with detail (199.481105ms) ✔ a missing pipeline file is reported clearly (222.970685ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (264.414914ms) ✔ a project pointed at a specific file gets no fallback (216.463204ms) ✔ a repository carrying both spellings is refused rather than guessed at (245.348423ms) ✔ a pipeline still using the jobs key is told what it was renamed to (265.001975ms) ✔ a job can be created directly, without a push payload to imitate (228.342111ms) ✔ creating a job requires the same signature as a trigger (110.24996ms) ✔ creating a job insists on a real commit rather than inferring one (118.804827ms) ✔ a job can be read back, with the state of every task (205.784936ms) ✔ a public job is readable without any credential at all (189.888919ms) ✔ a private job needs the trigger secret, and is otherwise absent (220.094068ms) ✔ a job of another project cannot be read through this one (229.867785ms) ✔ a task can be read back on its own, and by its full name (270.563767ms) ✔ reading a task back carries its dependencies and matrix (237.290414ms) ✔ reading a task back never exposes its environment, services or script (215.154697ms) ✔ a task lists the artifacts it stored, with a usable download url (307.416986ms) ✔ reading a task back needs no worker token (237.615963ms) ✔ a private task is absent without a credential, and needs its project named (211.953558ms) ✔ a private task is readable by an administrator, by either path (375.069614ms) ✔ a task of another project cannot be read through this one (198.303275ms) ✔ an unknown task is 404 by either path (107.61063ms) ✔ the worker api rejects missing and invalid tokens (100.248451ms) ✔ independent tasks dispatch concurrently (223.281929ms) ✔ a task is only offered to a worker that satisfies its requires (229.73798ms) ✔ a worker is not offered work for an architecture it cannot build (215.305231ms) ✔ a claimed task carries everything the worker needs (226.402048ms) ✔ a task that requires a feature reports it to the worker (245.356582ms) ✔ the standard conductor variables are present in the task environment (229.36526ms) ✔ the source tarball is served from the mirror (215.774313ms) ✔ a worker cannot touch a task it does not hold (252.528285ms) ✔ log appends are resumable and deduplicated by offset (234.627474ms) ✔ an oversized log chunk is refused (252.624575ms) ✔ a finished log moves to storage and is still readable (251.929292ms) ✔ artifacts are stored, hashed, and stripped of traversal (241.880038ms) ✔ an artifact shorter than its content-length is rejected (246.931032ms) ✔ success releases dependents, matched on shared dimensions (260.926894ms) ✔ failure skips transitive dependents, not just direct ones (246.102328ms) ✔ a job settles as failed once every task is terminal (243.581263ms) ✔ a job settles as success when everything passes (250.627247ms) ✔ an allowed failure does not fail the job or block dependents (259.115224ms) ✔ a task with retries left is requeued instead of failing the job (251.076601ms) ✔ heartbeats keep a task alive and report cancellation (206.316522ms) ✔ the reaper fails a task whose worker stopped reporting (294.888218ms) ✔ a second push produces an independent, numbered job (397.934804ms) ﹣ jobs can be listed and filtered by project (0.722199ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.255926ms) # the JSON API was removed ✔ a disabled project refuses triggers (142.175988ms) ✔ a trigger for an unknown project is a 404 (87.361877ms) ✔ a commit that is not in the repository is refused (211.989135ms) ✔ a task is told to fetch an archive, and never the repository itself (245.785751ms) ✔ the source archive is the bare tree, with no wrapping directory (268.806484ms) ✔ the working directory is resolved from the pipeline, then the project (703.128443ms) ✔ an unusable working directory is refused rather than sanitised (1002.526903ms) ✔ the trigger secret is not stored in the clear (154.758367ms) ✔ worker tokens are stored only as hashes (119.411413ms) ✔ defaults select sqlite, local storage and local auth (9.016195ms) ✔ configuring an s3 bucket switches the storage driver (1.86233ms) ✔ a partial s3 configuration is rejected rather than half applied (2.428468ms) ✔ configuring an oidc discovery url switches the auth mode (1.722456ms) ✔ an oidc discovery url without a client id is rejected (1.466715ms) ✔ a database url selects its dialect (3.143736ms) ✔ an unsupported database scheme is reported clearly (1.767552ms) ✔ a sqlite url collapses into database.path (4.641386ms) ✔ environment variables override the config file (89.822529ms) ✔ relative paths resolve against the config file directory (11.162618ms) ✔ a missing explicit config file is an error, a missing default is not (3.080833ms) ✔ a heartbeat timeout below the reap interval is rejected (11.897892ms) ✔ a non-integer port is rejected with the variable named (1.320662ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (2.836384ms) ✔ stateDirs omits the storage directory when s3 is in use (2.73848ms) ✔ the loaded config is frozen (1.122095ms) ✔ topological order places dependencies first (4.213206ms) ✔ topological order is deterministic (5.126496ms) ✔ a cycle is detected and named (1.723595ms) ✔ depth reflects the longest path, not insertion order (0.744188ms) ✔ independent tasks are runnable at the same time (0.875335ms) ✔ a task becomes runnable only once every dependency succeeds (0.699005ms) ✔ a running dependency does not release its dependents (0.545044ms) ✔ failure skips transitive dependents, not just direct ones (0.84988ms) ✔ a skipped dependency never releases a dependent (0.77724ms) ✔ allowed failures can satisfy a dependency when asked to (0.85081ms) ✔ transitive dependents of a leaf is empty (0.784326ms) ✔ graph helpers tolerate dependencies outside the set (0.75988ms) ✔ dialect detection covers every supported scheme (3.875262ms) ✔ statement splitter respects literals and comments (1.441301ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.559599ms) ✔ migrations apply once and are idempotent (103.733489ms) ✔ an edited migration is refused rather than silently diverging (58.569362ms) ✔ a migration removed from disk is reported (39.962298ms) ✔ rows come back as ordinary objects (45.165393ms) ✔ a conditional update claims exactly once (32.734922ms) ✔ deleting a job cascades to its tasks (43.826623ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (49.123643ms) ﹣ migrations apply and retention sweeps on postgres (2.701565ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.377175ms) # SKIP ✔ every example pipeline compiles (69.962018ms) ✔ the distribution example fans in per architecture (18.093965ms) ✔ the node example wires services and features (9.605447ms) ✔ git jobs with safe.directory set (3.19263ms) ✔ it appends to configuration already in the environment (0.415414ms) ✔ a count that is not a number does not corrupt the sequence (0.459823ms) ✔ git accepts the environment we build (66.533724ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (92.882974ms) ﹣ the endpoints and key set come from the discovery document (6.21119ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (60.492046ms) ✔ discovery reports an unreachable provider and a bad status (2.009058ms) ﹣ a token carrying the admin role authenticates as an administrator (0.374751ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.359072ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.295426ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (2.344267ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.366073ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.452244ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (2.919939ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.27621ms) # the JSON API was removed ﹣ a forged signature is refused (2.016896ms) # the JSON API was removed ﹣ an expired token is refused (0.215281ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.590099ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.40748ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (5.851532ms) # docker is not available ﹣ a callback with a forged state is refused (0.135875ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.107455ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.112606ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.116438ms) # the JSON API was removed ✔ a pattern without a star matches exactly (5.366776ms) ✔ a star matches any job of characters (4.030626ms) ✔ the rest of a pattern is literal, not a regular expression (0.484892ms) ✔ a restricted task is left out of jobs for other refs (51.099433ms) ✔ it is left out rather than recorded as skipped (7.187744ms) ✔ tasks depending on an excluded task are excluded too (8.160982ms) ✔ depth and ordering describe the job that will happen (3.896269ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (3.466875ms) ✔ a restricted task cannot match a job that has no ref (8.981022ms) ✔ a malformed rule is reported rather than ignored (26.732867ms) ✔ the rule is not inherited from defaults (6.873272ms) ✔ a minimal pipeline compiles (33.517426ms) ✔ version is required and pinned (7.131866ms) ✔ empty and malformed documents are rejected clearly (7.898053ms) ✔ image and script are required (1.809602ms) ✔ image may come from defaults (3.035321ms) ✔ unknown keys are rejected, with a suggestion when close (6.627369ms) ✔ all problems are reported at once (4.138742ms) ✔ durations accept seconds, units and composites (6.148314ms) ✔ durations accept day and week units (4.204673ms) ✔ a malformed duration is rejected (2.96365ms) ✔ arch expands into one task per architecture (3.835257ms) ✔ a matrix expands to the cartesian product (3.505635ms) ✔ needs match on shared dimensions rather than fanning out (12.282474ms) ✔ a task without the shared dimension depends on every instance (3.464108ms) ✔ match all opts out of dimension matching (8.404417ms) ✔ needs may name one concrete instance (4.340616ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.480268ms) ✔ needs on an unknown task lists what is defined (1.373475ms) ✔ self dependency is rejected (3.80671ms) ✔ a dependency cycle names the cycle (7.595376ms) ✔ interpolation substitutes arch and matrix values (3.952029ms) ✔ interpolating an undefined dimension is an error (2.788112ms) ✔ referring to arch without declaring one is an error (2.309807ms) ✔ matrix values must be safe for use in a task name (1.602597ms) ✔ arch may not also be a matrix dimension (1.523319ms) ✔ services get a derived alias and reject duplicates (9.898362ms) ✔ artifacts accept a bare list and reject absolute paths (3.359066ms) ✔ artifact when is constrained (1.285067ms) ✔ defaults are inherited and overridden per task (1.979296ms) ✔ env values must be scalars with valid names (1.813328ms) ✔ parsePipeline normalizes without expanding (2.331555ms) ✔ a realistic distribution pipeline produces the expected graph (4.252356ms) ✔ compiles markers to the placeholder each dialect expects (11.841215ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.548816ms) ✔ ignores markers inside string literals and comments (0.813414ms) ✔ a json literal in default text survives untouched (0.516612ms) ✔ doubling a brace escapes it (0.851193ms) ✔ block comments are skipped, and nest only for postgres (0.561384ms) ✔ postgres dollar quoted bodies are skipped (0.646344ms) ✔ mysql backtick identifiers and hash comments are skipped (1.606237ms) ✔ a malformed marker is rejected with a useful message (3.511176ms) ✔ binds by name, resolving dotted paths (2.865874ms) ✔ an exact key beats path traversal (0.879759ms) ✔ reports every missing key at once (0.757172ms) ✔ rejects an array of parameters, which would silently bind by position (2.517685ms) ✔ normalizes booleans, dates and null (0.481814ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.554005ms) ✔ an artifact past its own deadline is deleted (371.714492ms) ✔ an explicit deadline overrides the policy in both directions (235.597307ms) ✔ an explicit deadline also beats the last good job (97.687807ms) ✔ the last few jobs keep their artifacts however old they are (99.217557ms) ✔ recent artifacts are kept however many jobs have followed (97.775681ms) ✔ an artifact outside both rules is deleted (106.704415ms) ✔ the most recent successful job is kept whatever the policy says (95.146668ms) ✔ only the latest success is protected, not every success (112.570103ms) ✔ a project may keep artifacts forever despite a server default (89.201605ms) ✔ a project setting overrides the server default (93.377887ms) ✔ an unfinished job is never swept (112.749414ms) ✔ logs older than the limit are removed but the task remains (112.586111ms) ✔ a swept log is distinguishable from one that never existed (116.677283ms) ✔ a log is swept only once (134.791775ms) ✔ zero keeps logs forever (119.931051ms) ✔ a storage failure leaves the row for the next pass (100.757969ms) ✔ a sweep deletes no more than its batch (119.525686ms) ✔ one project policy does not reach into another (109.750061ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (288.409406ms) ﹣ the api reports and accepts project retention (0.277148ms) # the JSON API was removed ✔ seals and opens a value (7.677085ms) ✔ sealing twice produces different ciphertext (1.382577ms) ✔ without a key, values are stored as marked plaintext (0.648035ms) ✔ a keyed box can still read values written before a key existed (0.542593ms) ✔ an unkeyed box refuses encrypted values with an actionable message (2.290943ms) ✔ the wrong key fails to open (1.059662ms) ✔ tampering with the ciphertext is detected (1.28925ms) ✔ associated data binds a secret to its location (2.004504ms) ✔ a key of the wrong size is refused at construction (1.551503ms) ✔ task ids are opaque, and say nothing about their job (8.991079ms) ✔ time ordered ids sort by creation time (0.638254ms) ✔ random ids use the expected alphabet (0.451971ms) ✔ slugify produces readable project ids and falls back when empty (0.786844ms) ✔ token hashing and constant time comparison (2.066694ms) ✔ the pipeline this project jobs on itself compiles (73.436914ms) ✔ its tasks declare the features they actually need (16.245206ms) ✔ publishing is restricted to main and release tags (62.837715ms) ✔ get-vanilla matches the reference signature (6.357524ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.847215ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.526666ms) ✔ amzDate produces both required formats (0.734938ms) ✔ s3 requests carry the content hash header (2.199532ms) ✔ presigned urls carry the signature in the query string (5.699909ms) ✔ an already encoded path is not encoded a second time (2.160358ms) ✔ key validation rejects traversal and absolute paths (6.205352ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.942887ms) ✔ key layout is stable (0.961416ms) ✔ local backend round trips a buffer and reports its digest (54.442037ms) ✔ local backend serves ranges (9.164351ms) ✔ local backend accepts a stream (15.470262ms) ✔ local backend reports a missing object and deletes idempotently (10.662842ms) ✔ local backend has no presigned urls (1.920563ms) ✔ a partial write leaves no object behind (4.800893ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.180293ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (3.635986ms) ✔ inParts handles a chunk far larger than the part size (1.187618ms) ✔ inParts yields nothing for an empty stream (0.943664ms) ﹣ s3 backend round trips awkward keys against a real server (0.179055ms) # docker is not available ﹣ s3 serves byte ranges (0.139938ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.133807ms) # docker is not available ﹣ a presigned url is usable without credentials (0.23699ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.123921ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.120255ms) # docker is not available ﹣ a stream of unknown length is accepted (0.117976ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.112802ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.154182ms) # docker is not available ﹣ a multipart object still serves ranges (0.129831ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.137548ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.127507ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.126161ms) # docker is not available ✔ every javascript file parses (935.815704ms) ✔ the shell scripts parse (2.867187ms) ✔ interpolated values are escaped by default (3.577983ms) ✔ quotes and ampersands are escaped inside attributes (0.517321ms) ✔ nested templates and arrays are kept, raw is passed through (0.503589ms) ✔ null, undefined and false render as nothing (0.323179ms) ✔ attrs omits absent values and renders bare booleans (0.477397ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (507.710123ms) ✔ an anonymous visitor cannot see a private job (275.123312ms) ✔ management pages redirect an anonymous visitor to sign in (178.779222ms) ✔ signing in through the form sets a session and reveals the nav (476.360527ms) ✔ a user creates a project through the form and is shown the secret once (378.274331ms) ✔ a project page shows variables and never their values (307.031923ms) ✔ setting and removing a variable returns the updated table (340.568073ms) ✔ a user cannot open or delete a project they do not own (517.553157ms) ✔ registering a worker shows the token once and lists it (350.795047ms) ✔ an ordinary user cannot create shared capacity from the form (556.956506ms) ✔ the users page is administrator only and warns about what deletion destroys (485.556241ms) ✔ a running job polls, and a finished one stops (409.135818ms) ✔ a task page streams the log and stops polling once it completes (361.244667ms) ✔ log output is escaped, so a task cannot inject markup into the page (344.70279ms) ✔ a mutation without the htmx header is refused (273.429519ms) ✔ the sign in form is centred rather than stranded at the left edge (238.72394ms) ✔ row actions stay ordinary table cells, so rows keep one height (385.787237ms) ✔ the stylesheet and htmx are served, and nothing else is (220.894422ms) ✔ the project page shows retention, with server defaults as placeholders (326.240926ms) ✔ saving retention through the form stores it, and empty means inherit (327.923692ms) ✔ a negative retention value is refused by the form (358.073033ms) ✔ the project page offers a working directory, defaulting to the server one (318.92465ms) ✔ saving a working directory stores it, and empty clears it (366.923251ms) ✔ an unusable working directory is refused by the form (331.990329ms) ✔ worker config loads from json and reports features (34.920024ms) ✔ worker config reads the token from a file (4.142981ms) ✔ environment overrides the worker config file (3.527331ms) ✔ worker config without a token is rejected (8.157306ms) ✔ a malformed feature is reported with its path (6.223283ms) ✔ shell quoting survives quotes and metacharacters (1.312402ms) ✔ a generated script echoes each command and stops on failure (0.938224ms) ✔ container names are valid for docker and stay unique (2.715061ms) ✔ job arguments carry mounts, env, network and privilege (1.806469ms) ✔ a task container is created without sharing anything with the worker (1.347014ms) ✔ a feature still contributes its bind mounts (0.469586ms) ✔ features resolve into mounts, env and privilege (0.836996ms) ✔ an unknown required feature is reported rather than ignored (0.337583ms) ✔ an artifact pattern reduces to the part that can be copied out (2.029977ms) ✔ overlapping artifact paths are copied out once (0.739876ms) ✔ artifact collection globs, and refuses to leave the workspace (40.244683ms) ✔ artifact when controls collection (0.415692ms) ✔ an idle worker keeps running instead of exiting (4012.792176ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1521.614956ms) ✔ log output is batched and offsets advance (2.486736ms) ✔ a conflicting offset resynchronises instead of duplicating (0.697467ms) ✔ secrets are masked before anything leaves the host (1.107908ms) ✔ a secret split across two writes is still masked (0.478737ms) ✔ a failing conductor does not break the task (0.869593ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 15116.52203 [conductor] done