integration
statesuccess
jobback to job
imagenode:24-alpine
arch-
attempt1 of 1
workerconductor-worker-x86-64
duration25s
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 (223.433393ms) ✔ no file uses CRLF line endings or trailing whitespace (92.536046ms) ✔ a password round trips and a wrong one is refused (43.558482ms) ✔ the same password hashes differently each time (30.078704ms) ✔ parameters are read back from the stored hash (27.077974ms) ✔ a malformed stored hash is refused rather than throwing (0.84364ms) ✔ password length is bounded (0.743138ms) ✔ a session token round trips its claims (1.584642ms) ✔ a token signed with another secret is refused (0.745818ms) ✔ a tampered payload is refused (0.677792ms) ✔ an expired token is refused (0.871053ms) ✔ a malformed token is refused rather than throwing (0.787557ms) ✔ cookies are parsed and issued (2.508317ms) ✔ the oidc login state round trips with its return path (1.905278ms) ✔ a missing return path means the root (0.45829ms) ✔ the oidc login state is refused when forged, stale or off-site (0.674687ms) ✔ oidc roles are collected from the usual claim shapes (1.249924ms) ✔ mask replaces secrets, longest first (0.705372ms) ✔ mask ignores very short values and leaves clean output alone (0.347192ms) ✔ health reports the selected drivers (420.781209ms) ✔ a signed trigger creates a job and expands the pipeline (222.791794ms) ✔ an unsigned or wrongly signed trigger is refused (115.552965ms) ✔ github and gitlab push payloads are understood (322.969283ms) ✔ a branch deletion is ignored rather than failing (154.37488ms) ✔ a broken pipeline is reported as a client error with detail (220.922524ms) ✔ a missing pipeline file is reported clearly (269.286082ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (233.267092ms) ✔ a project pointed at a specific file gets no fallback (254.943236ms) ✔ a repository carrying both spellings is refused rather than guessed at (258.373428ms) ✔ a pipeline still using the jobs key is told what it was renamed to (268.295504ms) ✔ a job can be created directly, without a push payload to imitate (208.371465ms) ✔ creating a job requires the same signature as a trigger (147.576294ms) ✔ creating a job insists on a real commit rather than inferring one (114.017718ms) ✔ a job can be read back, with the state of every task (209.36496ms) ✔ a public job is readable without any credential at all (238.214574ms) ✔ a private job needs the trigger secret, and is otherwise absent (256.407107ms) ✔ a job of another project cannot be read through this one (202.017589ms) ✔ a task can be read back on its own, and by its full name (212.625772ms) ✔ reading a task back carries its dependencies and matrix (216.495252ms) ✔ reading a task back never exposes its environment, services or script (226.407566ms) ✔ a task lists the artifacts it stored, with a usable download url (245.896118ms) ✔ reading a task back needs no worker token (204.995263ms) ✔ a private task is absent without a credential, and needs its project named (241.08938ms) ✔ a private task is readable by an administrator, by either path (429.630477ms) ✔ a task of another project cannot be read through this one (264.517602ms) ✔ an unknown task is 404 by either path (94.654169ms) ✔ the worker api rejects missing and invalid tokens (111.451753ms) ✔ independent tasks dispatch concurrently (229.266221ms) ✔ a task is only offered to a worker that satisfies its requires (260.69004ms) ✔ a worker is not offered work for an architecture it cannot build (257.573339ms) ✔ a claimed task carries everything the worker needs (213.582137ms) ✔ a task that requires a feature reports it to the worker (224.439533ms) ✔ the standard conductor variables are present in the task environment (245.058524ms) ✔ the source tarball is served from the mirror (199.793169ms) ✔ a worker cannot touch a task it does not hold (243.216359ms) ✔ log appends are resumable and deduplicated by offset (215.16442ms) ✔ an oversized log chunk is refused (221.489162ms) ✔ a finished log moves to storage and is still readable (258.281176ms) ✔ artifacts are stored, hashed, and stripped of traversal (227.9809ms) ✔ an artifact shorter than its content-length is rejected (234.172048ms) ✔ success releases dependents, matched on shared dimensions (258.249988ms) ✔ failure skips transitive dependents, not just direct ones (267.43289ms) ✔ a job settles as failed once every task is terminal (284.985121ms) ✔ a job settles as success when everything passes (230.144359ms) ✔ an allowed failure does not fail the job or block dependents (235.742012ms) ✔ a task with retries left is requeued instead of failing the job (255.726125ms) ✔ heartbeats keep a task alive and report cancellation (229.811346ms) ✔ the reaper fails a task whose worker stopped reporting (233.392601ms) ✔ a second push produces an independent, numbered job (395.283154ms) ﹣ jobs can be listed and filtered by project (0.720679ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.235076ms) # the JSON API was removed ✔ a disabled project refuses triggers (115.628587ms) ✔ a trigger for an unknown project is a 404 (101.025634ms) ✔ a commit that is not in the repository is refused (211.094062ms) ✔ a task is told to fetch an archive, and never the repository itself (223.553698ms) ✔ the source archive is the bare tree, with no wrapping directory (254.766573ms) ✔ the working directory is resolved from the pipeline, then the project (726.178106ms) ✔ an unusable working directory is refused rather than sanitised (970.565723ms) ✔ the trigger secret is not stored in the clear (168.803229ms) ✔ worker tokens are stored only as hashes (122.158969ms) ✔ defaults select sqlite, local storage and local auth (8.93127ms) ✔ configuring an s3 bucket switches the storage driver (1.838438ms) ✔ a partial s3 configuration is rejected rather than half applied (2.375243ms) ✔ configuring an oidc discovery url switches the auth mode (1.650627ms) ✔ an oidc discovery url without a client id is rejected (1.429754ms) ✔ a database url selects its dialect (2.919745ms) ✔ an unsupported database scheme is reported clearly (1.726743ms) ✔ a sqlite url collapses into database.path (4.473286ms) ✔ environment variables override the config file (74.36432ms) ✔ relative paths resolve against the config file directory (16.656898ms) ✔ a missing explicit config file is an error, a missing default is not (5.476472ms) ✔ a heartbeat timeout below the reap interval is rejected (11.316114ms) ✔ a non-integer port is rejected with the variable named (1.328045ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (1.056187ms) ✔ stateDirs omits the storage directory when s3 is in use (2.735359ms) ✔ the loaded config is frozen (1.184849ms) ✔ topological order places dependencies first (4.573917ms) ✔ topological order is deterministic (5.951046ms) ✔ a cycle is detected and named (2.023302ms) ✔ depth reflects the longest path, not insertion order (0.88501ms) ✔ independent tasks are runnable at the same time (1.026242ms) ✔ a task becomes runnable only once every dependency succeeds (0.780093ms) ✔ a running dependency does not release its dependents (0.590674ms) ✔ failure skips transitive dependents, not just direct ones (1.386847ms) ✔ a skipped dependency never releases a dependent (1.655005ms) ✔ allowed failures can satisfy a dependency when asked to (0.960236ms) ✔ transitive dependents of a leaf is empty (0.582479ms) ✔ graph helpers tolerate dependencies outside the set (2.309739ms) ✔ dialect detection covers every supported scheme (4.186191ms) ✔ statement splitter respects literals and comments (1.383417ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.630519ms) ✔ migrations apply once and are idempotent (125.382326ms) ✔ an edited migration is refused rather than silently diverging (48.598054ms) ✔ a migration removed from disk is reported (35.81462ms) ✔ rows come back as ordinary objects (50.925249ms) ✔ a conditional update claims exactly once (39.819159ms) ✔ deleting a job cascades to its tasks (51.124887ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (45.284153ms) ﹣ migrations apply and retention sweeps on postgres (2.702123ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.392844ms) # SKIP ✔ every example pipeline compiles (83.894922ms) ✔ the distribution example fans in per architecture (23.02435ms) ✔ the node example wires services and features (19.886981ms) ✔ git jobs with safe.directory set (3.220568ms) ✔ it appends to configuration already in the environment (0.536726ms) ✔ a count that is not a number does not corrupt the sequence (0.576069ms) ✔ git accepts the environment we build (51.14403ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (85.770948ms) ﹣ the endpoints and key set come from the discovery document (3.280528ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (62.687373ms) ✔ discovery reports an unreachable provider and a bad status (1.675554ms) ﹣ a token carrying the admin role authenticates as an administrator (0.243265ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.29655ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.213531ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (0.253612ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.303579ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.370909ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.480741ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.329229ms) # the JSON API was removed ﹣ a forged signature is refused (0.517288ms) # the JSON API was removed ﹣ an expired token is refused (2.963402ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.383633ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.203209ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.145925ms) # docker is not available ﹣ a callback with a forged state is refused (0.137193ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.136655ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.133645ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.146952ms) # the JSON API was removed ✔ a pattern without a star matches exactly (4.406341ms) ✔ a star matches any job of characters (1.117779ms) ✔ the rest of a pattern is literal, not a regular expression (0.572452ms) ✔ a restricted task is left out of jobs for other refs (52.450647ms) ✔ it is left out rather than recorded as skipped (6.831118ms) ✔ tasks depending on an excluded task are excluded too (7.85931ms) ✔ depth and ordering describe the job that will happen (3.569575ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (6.649871ms) ✔ a restricted task cannot match a job that has no ref (5.842903ms) ✔ a malformed rule is reported rather than ignored (16.076162ms) ✔ the rule is not inherited from defaults (3.619163ms) ✔ a minimal pipeline compiles (41.416455ms) ✔ version is required and pinned (8.540907ms) ✔ empty and malformed documents are rejected clearly (6.158877ms) ✔ image and script are required (2.056425ms) ✔ image may come from defaults (4.648792ms) ✔ unknown keys are rejected, with a suggestion when close (8.223846ms) ✔ all problems are reported at once (5.438639ms) ✔ durations accept seconds, units and composites (6.494772ms) ✔ durations accept day and week units (4.17548ms) ✔ a malformed duration is rejected (2.60292ms) ✔ arch expands into one task per architecture (5.045659ms) ✔ a matrix expands to the cartesian product (3.919999ms) ✔ needs match on shared dimensions rather than fanning out (11.418545ms) ✔ a task without the shared dimension depends on every instance (3.464885ms) ✔ match all opts out of dimension matching (3.73201ms) ✔ needs may name one concrete instance (3.180006ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.042606ms) ✔ needs on an unknown task lists what is defined (1.558761ms) ✔ self dependency is rejected (1.414596ms) ✔ a dependency cycle names the cycle (8.195094ms) ✔ interpolation substitutes arch and matrix values (2.468181ms) ✔ interpolating an undefined dimension is an error (2.149947ms) ✔ referring to arch without declaring one is an error (2.375243ms) ✔ matrix values must be safe for use in a task name (1.278537ms) ✔ arch may not also be a matrix dimension (2.065419ms) ✔ services get a derived alias and reject duplicates (10.82411ms) ✔ artifacts accept a bare list and reject absolute paths (1.57629ms) ✔ artifact when is constrained (0.899948ms) ✔ defaults are inherited and overridden per task (1.306051ms) ✔ env values must be scalars with valid names (1.698863ms) ✔ parsePipeline normalizes without expanding (1.260613ms) ✔ a realistic distribution pipeline produces the expected graph (8.356967ms) ✔ compiles markers to the placeholder each dialect expects (9.481182ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.538951ms) ✔ ignores markers inside string literals and comments (0.817241ms) ✔ a json literal in default text survives untouched (0.592708ms) ✔ doubling a brace escapes it (0.625816ms) ✔ block comments are skipped, and nest only for postgres (0.972996ms) ✔ postgres dollar quoted bodies are skipped (0.754617ms) ✔ mysql backtick identifiers and hash comments are skipped (0.921439ms) ✔ a malformed marker is rejected with a useful message (2.30805ms) ✔ binds by name, resolving dotted paths (2.217729ms) ✔ an exact key beats path traversal (0.685245ms) ✔ reports every missing key at once (0.87801ms) ✔ rejects an array of parameters, which would silently bind by position (2.446729ms) ✔ normalizes booleans, dates and null (0.523485ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.940655ms) ✔ an artifact past its own deadline is deleted (342.591061ms) ✔ an explicit deadline overrides the policy in both directions (205.974673ms) ✔ an explicit deadline also beats the last good job (97.938278ms) ✔ the last few jobs keep their artifacts however old they are (103.739998ms) ✔ recent artifacts are kept however many jobs have followed (98.830771ms) ✔ an artifact outside both rules is deleted (103.207364ms) ✔ the most recent successful job is kept whatever the policy says (123.199499ms) ✔ only the latest success is protected, not every success (114.283818ms) ✔ a project may keep artifacts forever despite a server default (84.443628ms) ✔ a project setting overrides the server default (84.697482ms) ✔ an unfinished job is never swept (93.197136ms) ✔ logs older than the limit are removed but the task remains (104.379048ms) ✔ a swept log is distinguishable from one that never existed (103.346365ms) ✔ a log is swept only once (98.680937ms) ✔ zero keeps logs forever (85.372697ms) ✔ a storage failure leaves the row for the next pass (138.038644ms) ✔ a sweep deletes no more than its batch (135.036943ms) ✔ one project policy does not reach into another (108.703954ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (275.214351ms) ﹣ the api reports and accepts project retention (0.365788ms) # the JSON API was removed ✔ seals and opens a value (7.98672ms) ✔ sealing twice produces different ciphertext (2.193084ms) ✔ without a key, values are stored as marked plaintext (0.710672ms) ✔ a keyed box can still read values written before a key existed (0.565963ms) ✔ an unkeyed box refuses encrypted values with an actionable message (4.691401ms) ✔ the wrong key fails to open (1.226448ms) ✔ tampering with the ciphertext is detected (1.335083ms) ✔ associated data binds a secret to its location (1.948092ms) ✔ a key of the wrong size is refused at construction (1.237242ms) ✔ task ids are opaque, and say nothing about their job (12.798458ms) ✔ time ordered ids sort by creation time (0.655699ms) ✔ random ids use the expected alphabet (0.503416ms) ✔ slugify produces readable project ids and falls back when empty (0.856429ms) ✔ token hashing and constant time comparison (2.42733ms) ✔ the pipeline this project jobs on itself compiles (70.481493ms) ✔ its tasks declare the features they actually need (13.58847ms) ✔ publishing is restricted to main and release tags (90.184668ms) ✔ get-vanilla matches the reference signature (8.213519ms) ✔ get-vanilla-query-order-key-case matches the reference signature (2.209414ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.558506ms) ✔ amzDate produces both required formats (0.515694ms) ✔ s3 requests carry the content hash header (2.017645ms) ✔ presigned urls carry the signature in the query string (6.604787ms) ✔ an already encoded path is not encoded a second time (1.861526ms) ✔ key validation rejects traversal and absolute paths (4.162213ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.822224ms) ✔ key layout is stable (0.633756ms) ✔ local backend round trips a buffer and reports its digest (47.654795ms) ✔ local backend serves ranges (9.347268ms) ✔ local backend accepts a stream (19.56263ms) ✔ local backend reports a missing object and deletes idempotently (6.649416ms) ✔ local backend has no presigned urls (2.014865ms) ✔ a partial write leaves no object behind (5.169163ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.017532ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (2.347163ms) ✔ inParts handles a chunk far larger than the part size (0.787677ms) ✔ inParts yields nothing for an empty stream (0.743431ms) ﹣ s3 backend round trips awkward keys against a real server (0.151005ms) # docker is not available ﹣ s3 serves byte ranges (0.137677ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.104611ms) # docker is not available ﹣ a presigned url is usable without credentials (0.205831ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.102607ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.139798ms) # docker is not available ﹣ a stream of unknown length is accepted (0.206939ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.103958ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.103132ms) # docker is not available ﹣ a multipart object still serves ranges (0.070576ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.063572ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.074932ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.105463ms) # docker is not available ✔ every javascript file parses (975.830815ms) ✔ the shell scripts parse (3.119008ms) ✔ interpolated values are escaped by default (4.144296ms) ✔ quotes and ampersands are escaped inside attributes (0.627396ms) ✔ nested templates and arrays are kept, raw is passed through (0.629552ms) ✔ null, undefined and false render as nothing (0.438721ms) ✔ attrs omits absent values and renders bare booleans (0.706895ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (515.896306ms) ✔ an anonymous visitor cannot see a private job (275.0364ms) ✔ management pages redirect an anonymous visitor to sign in (195.51387ms) ✔ signing in through the form sets a session and reveals the nav (409.547511ms) ✔ a user creates a project through the form and is shown the secret once (357.823376ms) ✔ a project page shows variables and never their values (356.01073ms) ✔ setting and removing a variable returns the updated table (379.9838ms) ✔ a user cannot open or delete a project they do not own (540.68974ms) ✔ registering a worker shows the token once and lists it (373.44775ms) ✔ an ordinary user cannot create shared capacity from the form (543.033495ms) ✔ the users page is administrator only and warns about what deletion destroys (549.527819ms) ✔ a running job polls, and a finished one stops (358.385862ms) ✔ a task page streams the log and stops polling once it completes (437.686941ms) ✔ log output is escaped, so a task cannot inject markup into the page (367.853315ms) ✔ a mutation without the htmx header is refused (340.606733ms) ✔ the sign in form is centred rather than stranded at the left edge (247.745418ms) ✔ row actions stay ordinary table cells, so rows keep one height (378.286567ms) ✔ the stylesheet and htmx are served, and nothing else is (248.71628ms) ✔ the project page shows retention, with server defaults as placeholders (298.86669ms) ✔ saving retention through the form stores it, and empty means inherit (347.131122ms) ✔ a negative retention value is refused by the form (344.780253ms) ✔ the project page offers a working directory, defaulting to the server one (342.424312ms) ✔ saving a working directory stores it, and empty clears it (319.093741ms) ✔ an unusable working directory is refused by the form (365.100171ms) ✔ worker config loads from json and reports features (27.782688ms) ✔ worker config reads the token from a file (6.878555ms) ✔ environment overrides the worker config file (4.658975ms) ✔ worker config without a token is rejected (8.393495ms) ✔ a malformed feature is reported with its path (4.416521ms) ✔ shell quoting survives quotes and metacharacters (0.717274ms) ✔ a generated script echoes each command and stops on failure (1.007854ms) ✔ container names are valid for docker and stay unique (2.485291ms) ✔ job arguments carry mounts, env, network and privilege (1.542484ms) ✔ a task container is created without sharing anything with the worker (1.342738ms) ✔ a feature still contributes its bind mounts (0.55163ms) ✔ features resolve into mounts, env and privilege (0.904964ms) ✔ an unknown required feature is reported rather than ignored (0.312029ms) ✔ an artifact pattern reduces to the part that can be copied out (0.711207ms) ✔ overlapping artifact paths are copied out once (0.889386ms) ✔ artifact collection globs, and refuses to leave the workspace (41.474499ms) ✔ artifact when controls collection (0.468468ms) ✔ an idle worker keeps running instead of exiting (4011.926045ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1519.094488ms) ✔ log output is batched and offsets advance (5.383898ms) ✔ a conflicting offset resynchronises instead of duplicating (1.840754ms) ✔ secrets are masked before anything leaves the host (2.356191ms) ✔ a secret split across two writes is still masked (1.33298ms) ✔ a failing conductor does not break the task (2.215735ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 15252.766173 [conductor] done