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 5s 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 (217.559868ms) ✔ no file uses CRLF line endings or trailing whitespace (86.422605ms) ✔ a password round trips and a wrong one is refused (67.012095ms) ✔ the same password hashes differently each time (40.526856ms) ✔ parameters are read back from the stored hash (33.173172ms) ✔ a malformed stored hash is refused rather than throwing (0.837693ms) ✔ password length is bounded (1.217417ms) ✔ a session token round trips its claims (2.336443ms) ✔ a token signed with another secret is refused (0.693183ms) ✔ a tampered payload is refused (0.520665ms) ✔ an expired token is refused (1.351941ms) ✔ a malformed token is refused rather than throwing (0.924134ms) ✔ cookies are parsed and issued (2.55782ms) ✔ the oidc login state round trips with its return path (3.005545ms) ✔ a missing return path means the root (0.460226ms) ✔ the oidc login state is refused when forged, stale or off-site (0.654649ms) ✔ oidc roles are collected from the usual claim shapes (5.805475ms) ✔ mask replaces secrets, longest first (2.625463ms) ✔ mask ignores very short values and leaves clean output alone (0.464585ms) ✔ health reports the selected drivers (423.471916ms) ✔ a signed trigger creates a job and expands the pipeline (214.902042ms) ✔ an unsigned or wrongly signed trigger is refused (98.105535ms) ✔ github and gitlab push payloads are understood (310.567848ms) ✔ a branch deletion is ignored rather than failing (103.391307ms) ✔ a broken pipeline is reported as a client error with detail (211.32156ms) ✔ a missing pipeline file is reported clearly (242.786633ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (209.818991ms) ✔ a project pointed at a specific file gets no fallback (200.262988ms) ✔ a repository carrying both spellings is refused rather than guessed at (249.592827ms) ✔ a pipeline still using the jobs key is told what it was renamed to (243.502414ms) ✔ a job can be created directly, without a push payload to imitate (189.937274ms) ✔ creating a job requires the same signature as a trigger (112.604139ms) ✔ creating a job insists on a real commit rather than inferring one (97.401313ms) ✔ a job can be read back, with the state of every task (209.667234ms) ✔ a public job is readable without any credential at all (239.56803ms) ✔ a private job needs the trigger secret, and is otherwise absent (250.097014ms) ✔ a job of another project cannot be read through this one (237.143857ms) ✔ a task can be read back on its own, and by its full name (223.252396ms) ✔ reading a task back carries its dependencies and matrix (220.179265ms) ✔ reading a task back never exposes its environment, services or script (214.29286ms) ✔ a task lists the artifacts it stored, with a usable download url (299.143413ms) ✔ reading a task back needs no worker token (209.751416ms) ✔ a private task is absent without a credential, and needs its project named (219.620273ms) ✔ a private task is readable by an administrator, by either path (398.825442ms) ✔ a task of another project cannot be read through this one (251.781062ms) ✔ an unknown task is 404 by either path (120.523983ms) ✔ the worker api rejects missing and invalid tokens (85.849259ms) ✔ independent tasks dispatch concurrently (204.433002ms) ✔ a task is only offered to a worker that satisfies its requires (247.548725ms) ✔ a worker is not offered work for an architecture it cannot build (241.213575ms) ✔ a claimed task carries everything the worker needs (225.078333ms) ✔ a task that requires a feature reports it to the worker (254.865175ms) ✔ the standard conductor variables are present in the task environment (208.195639ms) ✔ the source tarball is served from the mirror (243.329777ms) ✔ a worker cannot touch a task it does not hold (231.360777ms) ✔ log appends are resumable and deduplicated by offset (248.398862ms) ✔ an oversized log chunk is refused (190.322768ms) ✔ a finished log moves to storage and is still readable (219.77586ms) ✔ artifacts are stored, hashed, and stripped of traversal (227.693439ms) ✔ an artifact shorter than its content-length is rejected (246.729251ms) ✔ success releases dependents, matched on shared dimensions (245.639072ms) ✔ failure skips transitive dependents, not just direct ones (253.851557ms) ✔ a job settles as failed once every task is terminal (280.938771ms) ✔ a job settles as success when everything passes (221.261751ms) ✔ an allowed failure does not fail the job or block dependents (249.136437ms) ✔ a task with retries left is requeued instead of failing the job (247.84687ms) ✔ heartbeats keep a task alive and report cancellation (252.53827ms) ✔ the reaper fails a task whose worker stopped reporting (260.068509ms) ✔ a second push produces an independent, numbered job (377.038207ms) ﹣ jobs can be listed and filtered by project (0.726513ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.237092ms) # the JSON API was removed ✔ a disabled project refuses triggers (136.770534ms) ✔ a trigger for an unknown project is a 404 (125.578167ms) ✔ a commit that is not in the repository is refused (236.493234ms) ✔ a task is told to fetch an archive, and never the repository itself (251.812827ms) ✔ the source archive is the bare tree, with no wrapping directory (243.285468ms) ✔ the working directory is resolved from the pipeline, then the project (681.946566ms) ✔ an unusable working directory is refused rather than sanitised (1000.342381ms) ✔ the trigger secret is not stored in the clear (135.165007ms) ✔ worker tokens are stored only as hashes (88.343942ms) ✔ defaults select sqlite, local storage and local auth (7.938982ms) ✔ configuring an s3 bucket switches the storage driver (3.538735ms) ✔ a partial s3 configuration is rejected rather than half applied (2.075974ms) ✔ configuring an oidc discovery url switches the auth mode (1.220773ms) ✔ an oidc discovery url without a client id is rejected (1.245527ms) ✔ a database url selects its dialect (2.548073ms) ✔ an unsupported database scheme is reported clearly (1.291908ms) ✔ a sqlite url collapses into database.path (1.618902ms) ✔ environment variables override the config file (58.226039ms) ✔ relative paths resolve against the config file directory (8.28706ms) ✔ a missing explicit config file is an error, a missing default is not (2.931005ms) ✔ a heartbeat timeout below the reap interval is rejected (8.737273ms) ✔ a non-integer port is rejected with the variable named (1.123287ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.676601ms) ✔ stateDirs omits the storage directory when s3 is in use (2.386759ms) ✔ the loaded config is frozen (1.030594ms) ✔ topological order places dependencies first (3.878576ms) ✔ topological order is deterministic (3.817048ms) ✔ a cycle is detected and named (2.011184ms) ✔ depth reflects the longest path, not insertion order (1.192355ms) ✔ independent tasks are runnable at the same time (1.092211ms) ✔ a task becomes runnable only once every dependency succeeds (0.830745ms) ✔ a running dependency does not release its dependents (0.819205ms) ✔ failure skips transitive dependents, not just direct ones (1.110755ms) ✔ a skipped dependency never releases a dependent (0.982137ms) ✔ allowed failures can satisfy a dependency when asked to (2.612752ms) ✔ transitive dependents of a leaf is empty (0.849134ms) ✔ graph helpers tolerate dependencies outside the set (0.663017ms) ✔ dialect detection covers every supported scheme (9.966111ms) ✔ statement splitter respects literals and comments (1.113158ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.488905ms) ✔ migrations apply once and are idempotent (109.639688ms) ✔ an edited migration is refused rather than silently diverging (64.091624ms) ✔ a migration removed from disk is reported (37.364595ms) ✔ rows come back as ordinary objects (42.49179ms) ✔ a conditional update claims exactly once (36.537366ms) ✔ deleting a job cascades to its tasks (53.659958ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (52.572597ms) ﹣ migrations apply and retention sweeps on postgres (2.807165ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.391587ms) # SKIP ✔ every example pipeline compiles (88.077059ms) ✔ the distribution example fans in per architecture (19.503081ms) ✔ the node example wires services and features (11.929358ms) ✔ git jobs with safe.directory set (6.330457ms) ✔ it appends to configuration already in the environment (0.576696ms) ✔ a count that is not a number does not corrupt the sequence (0.608163ms) ✔ git accepts the environment we build (69.661185ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (115.886999ms) ﹣ the endpoints and key set come from the discovery document (2.971051ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (68.267476ms) ✔ discovery reports an unreachable provider and a bad status (1.890121ms) ﹣ a token carrying the admin role authenticates as an administrator (0.32732ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.216098ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.179082ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (0.325417ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.441359ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.66876ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.410489ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.249701ms) # the JSON API was removed ﹣ a forged signature is refused (2.411628ms) # the JSON API was removed ﹣ an expired token is refused (0.108485ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.229876ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.241985ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.142518ms) # docker is not available ﹣ a callback with a forged state is refused (0.090304ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.075592ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.073905ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.077618ms) # the JSON API was removed ✔ a pattern without a star matches exactly (4.35622ms) ✔ a star matches any job of characters (1.209898ms) ✔ the rest of a pattern is literal, not a regular expression (1.02158ms) ✔ a restricted task is left out of jobs for other refs (69.433486ms) ✔ it is left out rather than recorded as skipped (7.699322ms) ✔ tasks depending on an excluded task are excluded too (7.08107ms) ✔ depth and ordering describe the job that will happen (3.511398ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (4.504787ms) ✔ a restricted task cannot match a job that has no ref (4.223168ms) ✔ a malformed rule is reported rather than ignored (21.928984ms) ✔ the rule is not inherited from defaults (2.970366ms) ✔ a minimal pipeline compiles (42.029295ms) ✔ version is required and pinned (8.765123ms) ✔ empty and malformed documents are rejected clearly (5.446165ms) ✔ image and script are required (2.115852ms) ✔ image may come from defaults (3.954139ms) ✔ unknown keys are rejected, with a suggestion when close (5.967065ms) ✔ all problems are reported at once (5.590222ms) ✔ durations accept seconds, units and composites (5.274024ms) ✔ durations accept day and week units (3.765822ms) ✔ a malformed duration is rejected (3.143291ms) ✔ arch expands into one task per architecture (3.227721ms) ✔ a matrix expands to the cartesian product (3.034786ms) ✔ needs match on shared dimensions rather than fanning out (9.644622ms) ✔ a task without the shared dimension depends on every instance (5.93753ms) ✔ match all opts out of dimension matching (7.75692ms) ✔ needs may name one concrete instance (5.951067ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.420358ms) ✔ needs on an unknown task lists what is defined (1.271521ms) ✔ self dependency is rejected (3.516834ms) ✔ a dependency cycle names the cycle (3.88346ms) ✔ interpolation substitutes arch and matrix values (3.425857ms) ✔ interpolating an undefined dimension is an error (1.473892ms) ✔ referring to arch without declaring one is an error (1.61453ms) ✔ matrix values must be safe for use in a task name (1.047066ms) ✔ arch may not also be a matrix dimension (0.764244ms) ✔ services get a derived alias and reject duplicates (6.57683ms) ✔ artifacts accept a bare list and reject absolute paths (2.425718ms) ✔ artifact when is constrained (1.339921ms) ✔ defaults are inherited and overridden per task (2.401967ms) ✔ env values must be scalars with valid names (1.550405ms) ✔ parsePipeline normalizes without expanding (2.551098ms) ✔ a realistic distribution pipeline produces the expected graph (5.627634ms) ✔ compiles markers to the placeholder each dialect expects (10.855671ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.532529ms) ✔ ignores markers inside string literals and comments (0.706355ms) ✔ a json literal in default text survives untouched (0.451341ms) ✔ doubling a brace escapes it (0.509433ms) ✔ block comments are skipped, and nest only for postgres (0.50473ms) ✔ postgres dollar quoted bodies are skipped (0.556946ms) ✔ mysql backtick identifiers and hash comments are skipped (1.256116ms) ✔ a malformed marker is rejected with a useful message (2.807553ms) ✔ binds by name, resolving dotted paths (2.193285ms) ✔ an exact key beats path traversal (0.785597ms) ✔ reports every missing key at once (0.595237ms) ✔ rejects an array of parameters, which would silently bind by position (2.217411ms) ✔ normalizes booleans, dates and null (0.487245ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.59846ms) ✔ an artifact past its own deadline is deleted (410.04136ms) ✔ an explicit deadline overrides the policy in both directions (207.281898ms) ✔ an explicit deadline also beats the last good job (115.489823ms) ✔ the last few jobs keep their artifacts however old they are (107.488542ms) ✔ recent artifacts are kept however many jobs have followed (104.84494ms) ✔ an artifact outside both rules is deleted (95.34566ms) ✔ the most recent successful job is kept whatever the policy says (132.384887ms) ✔ only the latest success is protected, not every success (115.689411ms) ✔ a project may keep artifacts forever despite a server default (109.232987ms) ✔ a project setting overrides the server default (120.276518ms) ✔ an unfinished job is never swept (101.22577ms) ✔ logs older than the limit are removed but the task remains (105.883246ms) ✔ a swept log is distinguishable from one that never existed (95.841176ms) ✔ a log is swept only once (100.897489ms) ✔ zero keeps logs forever (95.006436ms) ✔ a storage failure leaves the row for the next pass (121.258533ms) ✔ a sweep deletes no more than its batch (147.41338ms) ✔ one project policy does not reach into another (94.098374ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (260.414236ms) ﹣ the api reports and accepts project retention (0.266931ms) # the JSON API was removed ✔ seals and opens a value (8.111817ms) ✔ sealing twice produces different ciphertext (1.157884ms) ✔ without a key, values are stored as marked plaintext (0.758059ms) ✔ a keyed box can still read values written before a key existed (0.583399ms) ✔ an unkeyed box refuses encrypted values with an actionable message (2.458447ms) ✔ the wrong key fails to open (1.166402ms) ✔ tampering with the ciphertext is detected (1.519609ms) ✔ associated data binds a secret to its location (2.292313ms) ✔ a key of the wrong size is refused at construction (1.725554ms) ✔ task ids are opaque, and say nothing about their job (11.926225ms) ✔ time ordered ids sort by creation time (0.573414ms) ✔ random ids use the expected alphabet (1.472401ms) ✔ slugify produces readable project ids and falls back when empty (0.791208ms) ✔ token hashing and constant time comparison (2.510264ms) ✔ the pipeline this project jobs on itself compiles (51.125145ms) ✔ its tasks declare the features they actually need (15.797643ms) ✔ publishing is restricted to main and release tags (65.294715ms) ✔ get-vanilla matches the reference signature (6.923647ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.828225ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.483548ms) ✔ amzDate produces both required formats (0.723159ms) ✔ s3 requests carry the content hash header (1.735695ms) ✔ presigned urls carry the signature in the query string (5.157436ms) ✔ an already encoded path is not encoded a second time (1.652551ms) ✔ key validation rejects traversal and absolute paths (4.410582ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.705584ms) ✔ key layout is stable (0.915485ms) ✔ local backend round trips a buffer and reports its digest (33.392472ms) ✔ local backend serves ranges (8.208832ms) ✔ local backend accepts a stream (18.299607ms) ✔ local backend reports a missing object and deletes idempotently (9.288299ms) ✔ local backend has no presigned urls (2.537387ms) ✔ a partial write leaves no object behind (6.73257ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.190714ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (4.244812ms) ✔ inParts handles a chunk far larger than the part size (1.145525ms) ✔ inParts yields nothing for an empty stream (0.841977ms) ﹣ s3 backend round trips awkward keys against a real server (0.402502ms) # docker is not available ﹣ s3 serves byte ranges (0.139339ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.12232ms) # docker is not available ﹣ a presigned url is usable without credentials (0.640255ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.130801ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.128748ms) # docker is not available ﹣ a stream of unknown length is accepted (0.115422ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.105755ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.106595ms) # docker is not available ﹣ a multipart object still serves ranges (0.104098ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.106312ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.114836ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.102869ms) # docker is not available ✔ every javascript file parses (955.980494ms) ✔ the shell scripts parse (2.755807ms) ✔ interpolated values are escaped by default (2.772428ms) ✔ quotes and ampersands are escaped inside attributes (0.42648ms) ✔ nested templates and arrays are kept, raw is passed through (0.508289ms) ✔ null, undefined and false render as nothing (0.336216ms) ✔ attrs omits absent values and renders bare booleans (0.439116ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (517.615647ms) ✔ an anonymous visitor cannot see a private job (289.090019ms) ✔ management pages redirect an anonymous visitor to sign in (237.816413ms) ✔ signing in through the form sets a session and reveals the nav (466.921757ms) ✔ a user creates a project through the form and is shown the secret once (333.043923ms) ✔ a project page shows variables and never their values (334.253564ms) ✔ setting and removing a variable returns the updated table (335.17277ms) ✔ a user cannot open or delete a project they do not own (534.065337ms) ✔ registering a worker shows the token once and lists it (383.155333ms) ✔ an ordinary user cannot create shared capacity from the form (515.6308ms) ✔ the users page is administrator only and warns about what deletion destroys (545.274365ms) ✔ a running job polls, and a finished one stops (314.148807ms) ✔ a task page streams the log and stops polling once it completes (383.004873ms) ✔ log output is escaped, so a task cannot inject markup into the page (365.39742ms) ✔ a mutation without the htmx header is refused (313.262151ms) ✔ the sign in form is centred rather than stranded at the left edge (214.481021ms) ✔ row actions stay ordinary table cells, so rows keep one height (364.392277ms) ✔ the stylesheet and htmx are served, and nothing else is (247.078548ms) ✔ the project page shows retention, with server defaults as placeholders (357.337866ms) ✔ saving retention through the form stores it, and empty means inherit (366.331287ms) ✔ a negative retention value is refused by the form (371.535569ms) ✔ the project page offers a working directory, defaulting to the server one (320.323723ms) ✔ saving a working directory stores it, and empty clears it (291.524605ms) ✔ an unusable working directory is refused by the form (385.360524ms) ✔ worker config loads from json and reports features (38.652586ms) ✔ worker config reads the token from a file (9.720195ms) ✔ environment overrides the worker config file (4.511622ms) ✔ worker config without a token is rejected (5.492531ms) ✔ a malformed feature is reported with its path (4.494559ms) ✔ shell quoting survives quotes and metacharacters (0.771102ms) ✔ a generated script echoes each command and stops on failure (1.029785ms) ✔ container names are valid for docker and stay unique (2.758942ms) ✔ job arguments carry mounts, env, network and privilege (2.018626ms) ✔ a task container is created without sharing anything with the worker (1.329542ms) ✔ a feature still contributes its bind mounts (0.488769ms) ✔ features resolve into mounts, env and privilege (0.784258ms) ✔ an unknown required feature is reported rather than ignored (1.473785ms) ✔ an artifact pattern reduces to the part that can be copied out (0.75816ms) ✔ overlapping artifact paths are copied out once (0.893579ms) ✔ artifact collection globs, and refuses to leave the workspace (40.851563ms) ✔ artifact when controls collection (0.550577ms) ✔ an idle worker keeps running instead of exiting (4010.843299ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1523.206919ms) ✔ log output is batched and offsets advance (2.594249ms) ✔ a conflicting offset resynchronises instead of duplicating (0.868906ms) ✔ secrets are masked before anything leaves the host (1.210382ms) ✔ a secret split across two writes is still masked (0.499528ms) ✔ a failing conductor does not break the task (0.847636ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 14981.999009 [conductor] done