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 dc8b1e4df215 attempt 1 [conductor] image node:24-alpine $ apk add --no-cache git ( 1/12) Installing brotli-libs (1.2.0-r1) ( 2/12) Installing c-ares (1.34.8-r0) ( 3/12) Installing libunistring (1.4.2-r0) ( 4/12) Installing libidn2 (2.3.8-r0) ( 5/12) Installing nghttp2-libs (1.69.0-r0) ( 6/12) Installing libpsl (0.21.5-r3) ( 7/12) Installing zstd-libs (1.5.7-r2) ( 8/12) Installing libcurl (8.22.0-r0) ( 9/12) Installing libexpat (2.8.4-r0) (10/12) Installing pcre2 (10.48-r0) (11/12) Installing git (2.54.0-r0) (12/12) Installing git-init-template (2.54.0-r0) Executing busybox-1.37.0-r31.trigger OK: 23.3 MiB in 30 packages $ npm install --no-audit --no-fund added 78 packages in 4s npm notice npm notice New major version of npm available! 11.19.0 -> 12.0.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2 npm notice To update run: npm install -g npm@12.0.2 npm notice $ npm test > conductor@0.4.3 test > node --test "test/**/*.test.js" ✔ every tracked text file is pure ASCII (206.895925ms) ✔ no file uses CRLF line endings or trailing whitespace (99.766542ms) ✔ a password round trips and a wrong one is refused (73.928887ms) ✔ the same password hashes differently each time (38.424821ms) ✔ parameters are read back from the stored hash (30.794269ms) ✔ a malformed stored hash is refused rather than throwing (2.012352ms) ✔ password length is bounded (1.678609ms) ✔ a session token round trips its claims (3.297526ms) ✔ a token signed with another secret is refused (1.058907ms) ✔ a tampered payload is refused (0.747113ms) ✔ an expired token is refused (0.845389ms) ✔ a malformed token is refused rather than throwing (2.294934ms) ✔ cookies are parsed and issued (4.38206ms) ✔ the oidc login state round trips with its return path (1.626963ms) ✔ a missing return path means the root (0.53194ms) ✔ the oidc login state is refused when forged, stale or off-site (0.794029ms) ✔ oidc roles are collected from the usual claim shapes (1.370418ms) ✔ mask replaces secrets, longest first (0.68852ms) ✔ mask ignores very short values and leaves clean output alone (0.342457ms) ✔ health reports the selected drivers (388.722614ms) ✔ a signed trigger creates a job and expands the pipeline (208.119509ms) ✔ an unsigned or wrongly signed trigger is refused (108.128196ms) ✔ github and gitlab push payloads are understood (310.909372ms) ✔ a branch deletion is ignored rather than failing (107.271574ms) ✔ a broken pipeline is reported as a client error with detail (213.391769ms) ✔ a missing pipeline file is reported clearly (259.299253ms) ✔ a pipeline may be spelled .conductor.yaml instead of .conductor.yml (254.568414ms) ✔ a project pointed at a specific file gets no fallback (220.705091ms) ✔ a repository carrying both spellings is refused rather than guessed at (272.493276ms) ✔ a pipeline still using the jobs key is told what it was renamed to (266.420804ms) ✔ a job can be created directly, without a push payload to imitate (234.847496ms) ✔ creating a job requires the same signature as a trigger (81.206621ms) ✔ creating a job insists on a real commit rather than inferring one (98.144283ms) ✔ a job can be read back, with the state of every task (205.048628ms) ✔ a public job is readable without any credential at all (232.867737ms) ✔ a private job needs the trigger secret, and is otherwise absent (247.689831ms) ✔ a job of another project cannot be read through this one (227.678319ms) ✔ a task can be read back on its own, and by its full name (240.290454ms) ✔ reading a task back carries its dependencies and matrix (241.175734ms) ✔ reading a task back never exposes its environment, services or script (223.918454ms) ✔ a task lists the artifacts it stored, with a usable download url (245.701673ms) ✔ reading a task back needs no worker token (215.325232ms) ✔ a private task is absent without a credential, and needs its project named (256.356372ms) ✔ a private task is readable by an administrator, by either path (408.706628ms) ✔ a task of another project cannot be read through this one (235.346575ms) ✔ an unknown task is 404 by either path (93.20141ms) ✔ the worker api rejects missing and invalid tokens (98.168328ms) ✔ independent tasks dispatch concurrently (237.449196ms) ✔ a task is only offered to a worker that satisfies its requires (265.221104ms) ✔ a worker is not offered work for an architecture it cannot build (248.008318ms) ✔ a claimed task carries everything the worker needs (244.389444ms) ✔ a task that requires a feature reports it to the worker (263.779356ms) ✔ the standard conductor variables are present in the task environment (230.987892ms) ✔ the source tarball is served from the mirror (233.324546ms) ✔ a worker cannot touch a task it does not hold (211.102374ms) ✔ log appends are resumable and deduplicated by offset (225.090612ms) ✔ an oversized log chunk is refused (252.698373ms) ✔ a finished log moves to storage and is still readable (268.456726ms) ✔ artifacts are stored, hashed, and stripped of traversal (248.444605ms) ✔ an artifact shorter than its content-length is rejected (214.666885ms) ✔ success releases dependents, matched on shared dimensions (250.263509ms) ✔ failure skips transitive dependents, not just direct ones (258.512483ms) ✔ a job settles as failed once every task is terminal (274.290783ms) ✔ a job settles as success when everything passes (240.023794ms) ✔ an allowed failure does not fail the job or block dependents (205.084748ms) ✔ a task with retries left is requeued instead of failing the job (249.872416ms) ✔ heartbeats keep a task alive and report cancellation (265.774961ms) ✔ the reaper fails a task whose worker stopped reporting (256.000785ms) ✔ a second push produces an independent, numbered job (387.798115ms) ﹣ jobs can be listed and filtered by project (0.830304ms) # the JSON API was removed ﹣ unknown jobs, tasks and artifacts return 404 (0.290967ms) # the JSON API was removed ✔ a disabled project refuses triggers (134.398469ms) ✔ a trigger for an unknown project is a 404 (111.135404ms) ✔ a commit that is not in the repository is refused (208.026251ms) ✔ a task is told to fetch an archive, and never the repository itself (229.470179ms) ✔ the source archive is the bare tree, with no wrapping directory (225.03468ms) ✔ the working directory is resolved from the pipeline, then the project (705.520356ms) ✔ an unusable working directory is refused rather than sanitised (963.701939ms) ✔ the trigger secret is not stored in the clear (161.311304ms) ✔ worker tokens are stored only as hashes (124.069471ms) ✔ defaults select sqlite, local storage and local auth (7.749037ms) ✔ configuring an s3 bucket switches the storage driver (1.597463ms) ✔ a partial s3 configuration is rejected rather than half applied (2.306674ms) ✔ configuring an oidc discovery url switches the auth mode (1.460339ms) ✔ an oidc discovery url without a client id is rejected (1.192989ms) ✔ a database url selects its dialect (2.377881ms) ✔ an unsupported database scheme is reported clearly (1.304444ms) ✔ a sqlite url collapses into database.path (1.348058ms) ✔ environment variables override the config file (54.305856ms) ✔ relative paths resolve against the config file directory (7.105281ms) ✔ a missing explicit config file is an error, a missing default is not (2.937161ms) ✔ a heartbeat timeout below the reap interval is rejected (8.226411ms) ✔ a non-integer port is rejected with the variable named (1.639498ms) ✔ parseKey accepts hex and base64, and rejects the wrong length (0.760684ms) ✔ stateDirs omits the storage directory when s3 is in use (2.54128ms) ✔ the loaded config is frozen (1.209563ms) ✔ topological order places dependencies first (4.750159ms) ✔ topological order is deterministic (6.060795ms) ✔ a cycle is detected and named (1.976896ms) ✔ depth reflects the longest path, not insertion order (1.157444ms) ✔ independent tasks are runnable at the same time (1.07601ms) ✔ a task becomes runnable only once every dependency succeeds (0.799399ms) ✔ a running dependency does not release its dependents (0.68351ms) ✔ failure skips transitive dependents, not just direct ones (1.020711ms) ✔ a skipped dependency never releases a dependent (2.187773ms) ✔ allowed failures can satisfy a dependency when asked to (1.724796ms) ✔ transitive dependents of a leaf is empty (0.802296ms) ✔ graph helpers tolerate dependencies outside the set (0.92622ms) ✔ dialect detection covers every supported scheme (5.18022ms) ✔ statement splitter respects literals and comments (1.46965ms) ✔ statement splitter keeps postgres dollar quoted bodies whole (0.604796ms) ✔ migrations apply once and are idempotent (113.798212ms) ✔ an edited migration is refused rather than silently diverging (55.230204ms) ✔ a migration removed from disk is reported (29.875783ms) ✔ rows come back as ordinary objects (40.452346ms) ✔ a conditional update claims exactly once (32.846706ms) ✔ deleting a job cascades to its tasks (42.200087ms) ✔ a failed transaction rolls back, and a failed savepoint keeps the outer work (37.537868ms) ﹣ migrations apply and retention sweeps on postgres (3.128038ms) # SKIP ﹣ migrations apply and retention sweeps on mysql (0.3828ms) # SKIP ✔ every example pipeline compiles (77.369716ms) ✔ the distribution example fans in per architecture (23.114961ms) ✔ the node example wires services and features (23.218629ms) ✔ git jobs with safe.directory set (3.631709ms) ✔ it appends to configuration already in the environment (0.564165ms) ✔ a count that is not a number does not corrupt the sequence (0.609698ms) ✔ git accepts the environment we build (87.410047ms) ✔ a file missing from a commit reads as missing, whatever sits in the working directory (98.517158ms) ﹣ the endpoints and key set come from the discovery document (3.145245ms) # docker is not available ✔ discovery reports a document that is missing an endpoint (52.052621ms) ✔ discovery reports an unreachable provider and a bad status (1.785916ms) ﹣ a token carrying the admin role authenticates as an administrator (0.381247ms) # the JSON API was removed ﹣ a token without the admin role is an ordinary user (0.295016ms) # the JSON API was removed ﹣ roles are recognised in the groups and resource_access shapes (0.283016ms) # the JSON API was removed ﹣ an OIDC user gets a local account and can own a project (0.390149ms) # the JSON API was removed ﹣ the same subject keeps one account even when the display name changes (0.390728ms) # the JSON API was removed ﹣ a display name colliding with a local account gets its own username (0.449195ms) # the JSON API was removed ﹣ a role revoked at the provider is lost on the next request (0.650133ms) # the JSON API was removed ﹣ an account disabled locally is refused despite a valid token (0.296293ms) # the JSON API was removed ﹣ a forged signature is refused (0.382445ms) # the JSON API was removed ﹣ an expired token is refused (0.244123ms) # the JSON API was removed ﹣ a token from a different issuer is refused (0.269139ms) # the JSON API was removed ﹣ an anonymous visitor asking for a protected page is sent to the provider (0.340331ms) # docker is not available ﹣ a browser signs in at the provider and comes back with a session (0.166784ms) # docker is not available ﹣ a callback with a forged state is refused (0.085577ms) # docker is not available ﹣ local passwords are refused while OIDC is in charge (0.074756ms) # the JSON API was removed ﹣ an OIDC administrator can drive the interface (0.113478ms) # docker is not available ﹣ worker ownership follows the OIDC identity (0.114614ms) # the JSON API was removed ✔ a pattern without a star matches exactly (5.133336ms) ✔ a star matches any job of characters (4.530784ms) ✔ the rest of a pattern is literal, not a regular expression (0.568773ms) ✔ a restricted task is left out of jobs for other refs (50.150429ms) ✔ it is left out rather than recorded as skipped (7.522299ms) ✔ tasks depending on an excluded task are excluded too (4.733503ms) ✔ depth and ordering describe the job that will happen (2.888206ms) ✔ without a ref nothing is filtered, so a pipeline can still be validated (2.856685ms) ✔ a restricted task cannot match a job that has no ref (3.246067ms) ✔ a malformed rule is reported rather than ignored (11.610341ms) ✔ the rule is not inherited from defaults (3.155805ms) ✔ a minimal pipeline compiles (43.352503ms) ✔ version is required and pinned (7.256565ms) ✔ empty and malformed documents are rejected clearly (5.713599ms) ✔ image and script are required (1.833817ms) ✔ image may come from defaults (3.775981ms) ✔ unknown keys are rejected, with a suggestion when close (6.734425ms) ✔ all problems are reported at once (2.855398ms) ✔ durations accept seconds, units and composites (5.267005ms) ✔ durations accept day and week units (5.527391ms) ✔ a malformed duration is rejected (2.706215ms) ✔ arch expands into one task per architecture (3.950734ms) ✔ a matrix expands to the cartesian product (2.71681ms) ✔ needs match on shared dimensions rather than fanning out (9.632734ms) ✔ a task without the shared dimension depends on every instance (3.377983ms) ✔ match all opts out of dimension matching (3.90485ms) ✔ needs may name one concrete instance (2.809459ms) ✔ an unsatisfiable dimension match is reported, not silently dropped (2.182891ms) ✔ needs on an unknown task lists what is defined (0.85646ms) ✔ self dependency is rejected (1.081399ms) ✔ a dependency cycle names the cycle (3.10396ms) ✔ interpolation substitutes arch and matrix values (6.34504ms) ✔ interpolating an undefined dimension is an error (1.998435ms) ✔ referring to arch without declaring one is an error (1.829028ms) ✔ matrix values must be safe for use in a task name (1.268997ms) ✔ arch may not also be a matrix dimension (1.209722ms) ✔ services get a derived alias and reject duplicates (7.107644ms) ✔ artifacts accept a bare list and reject absolute paths (1.497391ms) ✔ artifact when is constrained (0.776563ms) ✔ defaults are inherited and overridden per task (1.800204ms) ✔ env values must be scalars with valid names (1.887881ms) ✔ parsePipeline normalizes without expanding (0.893416ms) ✔ a realistic distribution pipeline produces the expected graph (2.64084ms) ✔ compiles markers to the placeholder each dialect expects (10.440939ms) ✔ numbers postgres placeholders per occurrence, including repeats (0.436467ms) ✔ ignores markers inside string literals and comments (0.522338ms) ✔ a json literal in default text survives untouched (0.354897ms) ✔ doubling a brace escapes it (0.597892ms) ✔ block comments are skipped, and nest only for postgres (0.518092ms) ✔ postgres dollar quoted bodies are skipped (0.420482ms) ✔ mysql backtick identifiers and hash comments are skipped (0.893277ms) ✔ a malformed marker is rejected with a useful message (1.558092ms) ✔ binds by name, resolving dotted paths (2.707748ms) ✔ an exact key beats path traversal (0.61424ms) ✔ reports every missing key at once (0.529032ms) ✔ rejects an array of parameters, which would silently bind by position (4.174065ms) ✔ normalizes booleans, dates and null (0.380352ms) ✔ rejects an object value, which is nearly always a forgotten stringify (0.385596ms) ✔ an artifact past its own deadline is deleted (339.675416ms) ✔ an explicit deadline overrides the policy in both directions (219.77309ms) ✔ an explicit deadline also beats the last good job (114.480642ms) ✔ the last few jobs keep their artifacts however old they are (111.063259ms) ✔ recent artifacts are kept however many jobs have followed (98.115415ms) ✔ an artifact outside both rules is deleted (122.946085ms) ✔ the most recent successful job is kept whatever the policy says (128.773334ms) ✔ only the latest success is protected, not every success (134.329534ms) ✔ a project may keep artifacts forever despite a server default (82.541217ms) ✔ a project setting overrides the server default (97.431974ms) ✔ an unfinished job is never swept (101.674986ms) ✔ logs older than the limit are removed but the task remains (114.494861ms) ✔ a swept log is distinguishable from one that never existed (85.365722ms) ✔ a log is swept only once (103.642115ms) ✔ zero keeps logs forever (109.925737ms) ✔ a storage failure leaves the row for the next pass (115.41543ms) ✔ a sweep deletes no more than its batch (121.667691ms) ✔ one project policy does not reach into another (109.203927ms) ✔ artifacts.expire in a pipeline reaches the stored artifact (281.724213ms) ﹣ the api reports and accepts project retention (0.352191ms) # the JSON API was removed ✔ seals and opens a value (7.071605ms) ✔ sealing twice produces different ciphertext (1.047634ms) ✔ without a key, values are stored as marked plaintext (0.71813ms) ✔ a keyed box can still read values written before a key existed (0.779831ms) ✔ an unkeyed box refuses encrypted values with an actionable message (2.008178ms) ✔ the wrong key fails to open (0.827145ms) ✔ tampering with the ciphertext is detected (0.97359ms) ✔ associated data binds a secret to its location (1.592931ms) ✔ a key of the wrong size is refused at construction (0.909279ms) ✔ task ids are opaque, and say nothing about their job (8.640136ms) ✔ time ordered ids sort by creation time (0.907297ms) ✔ random ids use the expected alphabet (0.522871ms) ✔ slugify produces readable project ids and falls back when empty (0.535892ms) ✔ token hashing and constant time comparison (1.734674ms) ✔ the pipeline this project jobs on itself compiles (49.345696ms) ✔ its tasks declare the features they actually need (9.475566ms) ✔ publishing is restricted to main and release tags (53.595802ms) ✔ get-vanilla matches the reference signature (5.748791ms) ✔ get-vanilla-query-order-key-case matches the reference signature (1.657496ms) ✔ uriEncode percent encodes the characters encodeURIComponent leaves alone (0.332937ms) ✔ amzDate produces both required formats (0.824897ms) ✔ s3 requests carry the content hash header (1.124803ms) ✔ presigned urls carry the signature in the query string (4.390702ms) ✔ an already encoded path is not encoded a second time (3.153781ms) ✔ key validation rejects traversal and absolute paths (3.050206ms) ✔ sanitizeRelativePath strips traversal from worker supplied paths (0.528184ms) ✔ key layout is stable (0.508562ms) ✔ local backend round trips a buffer and reports its digest (31.967538ms) ✔ local backend serves ranges (8.613645ms) ✔ local backend accepts a stream (13.335295ms) ✔ local backend reports a missing object and deletes idempotently (10.752041ms) ✔ local backend has no presigned urls (3.176565ms) ✔ a partial write leaves no object behind (5.715402ms) ✔ part size grows so that a huge object still fits in 10000 parts (1.330959ms) ✔ inParts regroups an awkwardly chunked stream into fixed parts (3.685341ms) ✔ inParts handles a chunk far larger than the part size (1.086456ms) ✔ inParts yields nothing for an empty stream (0.980245ms) ﹣ s3 backend round trips awkward keys against a real server (0.15423ms) # docker is not available ﹣ s3 serves byte ranges (0.127168ms) # docker is not available ﹣ s3 accepts a stream when the size is known (0.115222ms) # docker is not available ﹣ a presigned url is usable without credentials (0.600053ms) # docker is not available ﹣ a tampered presigned url is rejected by the server (0.126599ms) # docker is not available ﹣ s3 reports a missing object and deletes idempotently (0.114915ms) # docker is not available ﹣ a stream of unknown length is accepted (0.112746ms) # docker is not available ﹣ a body past the single request threshold is uploaded in parts (0.108406ms) # docker is not available ﹣ a large body really is sent as several parts, and a small one is not (0.109101ms) # docker is not available ﹣ a multipart object still serves ranges (0.102756ms) # docker is not available ﹣ a body that does not match its declared size is rejected (0.102358ms) # docker is not available ﹣ a failed multipart upload does not leave parts behind (0.10779ms) # docker is not available ﹣ bad credentials fail loudly rather than silently storing nothing (0.101736ms) # docker is not available ✔ every javascript file parses (928.368405ms) ✔ the shell scripts parse (2.843241ms) ✔ interpolated values are escaped by default (4.304393ms) ✔ quotes and ampersands are escaped inside attributes (0.676181ms) ✔ nested templates and arrays are kept, raw is passed through (0.662486ms) ✔ null, undefined and false render as nothing (0.42963ms) ✔ attrs omits absent values and renders bare booleans (0.662878ms) ✔ an anonymous visitor sees public jobs and an invitation to sign in (532.8612ms) ✔ an anonymous visitor cannot see a private job (297.916378ms) ✔ management pages redirect an anonymous visitor to sign in (228.253514ms) ✔ signing in through the form sets a session and reveals the nav (390.113789ms) ✔ a user creates a project through the form and is shown the secret once (321.605605ms) ✔ a project page shows variables and never their values (326.474936ms) ✔ setting and removing a variable returns the updated table (322.105414ms) ✔ a user cannot open or delete a project they do not own (550.524816ms) ✔ registering a worker shows the token once and lists it (384.14016ms) ✔ an ordinary user cannot create shared capacity from the form (570.341139ms) ✔ the users page is administrator only and warns about what deletion destroys (498.009856ms) ✔ a running job polls, and a finished one stops (360.947667ms) ✔ a task page streams the log and stops polling once it completes (360.665709ms) ✔ log output is escaped, so a task cannot inject markup into the page (376.131232ms) ✔ a mutation without the htmx header is refused (308.415204ms) ✔ the sign in form is centred rather than stranded at the left edge (187.204719ms) ✔ row actions stay ordinary table cells, so rows keep one height (377.617754ms) ✔ the stylesheet and htmx are served, and nothing else is (240.648134ms) ✔ the project page shows retention, with server defaults as placeholders (317.157427ms) ✔ saving retention through the form stores it, and empty means inherit (333.196808ms) ✔ a negative retention value is refused by the form (351.813619ms) ✔ the project page offers a working directory, defaulting to the server one (349.953331ms) ✔ saving a working directory stores it, and empty clears it (316.696903ms) ✔ an unusable working directory is refused by the form (402.780729ms) ✔ worker config loads from json and reports features (51.820332ms) ✔ worker config reads the token from a file (3.453791ms) ✔ environment overrides the worker config file (2.775462ms) ✔ worker config without a token is rejected (4.323585ms) ✔ a malformed feature is reported with its path (4.443512ms) ✔ shell quoting survives quotes and metacharacters (0.616477ms) ✔ a generated script echoes each command and stops on failure (0.688386ms) ✔ container names are valid for docker and stay unique (2.031475ms) ✔ job arguments carry mounts, env, network and privilege (1.331918ms) ✔ a task container is created without sharing anything with the worker (1.193684ms) ✔ a feature still contributes its bind mounts (0.546894ms) ✔ features resolve into mounts, env and privilege (0.6799ms) ✔ an unknown required feature is reported rather than ignored (0.293806ms) ✔ an artifact pattern reduces to the part that can be copied out (0.685448ms) ✔ overlapping artifact paths are copied out once (0.746597ms) ✔ artifact collection globs, and refuses to leave the workspace (32.378311ms) ✔ artifact when controls collection (0.402143ms) ✔ an idle worker keeps running instead of exiting (4014.042409ms) ✔ a worker stops promptly on a signal rather than after its poll interval (1524.810705ms) ✔ log output is batched and offsets advance (3.72137ms) ✔ a conflicting offset resynchronises instead of duplicating (1.218056ms) ✔ secrets are masked before anything leaves the host (1.601648ms) ✔ a secret split across two writes is still masked (0.892475ms) ✔ a failing conductor does not break the task (1.302667ms) ℹ tests 331 ℹ suites 0 ℹ pass 295 ℹ fail 0 ℹ cancelled 0 ℹ skipped 36 ℹ todo 0 ℹ duration_ms 15205.20217 [conductor] done