[2026-03-09T14:16:52.746008+00:00] app.INFO: ++ migrating Dbp\Relay\AuthorizationBundle\Migrations\Version20251111142100 (create the authorization_group_resource_members table) {"version_name":"Dbp\\Relay\\AuthorizationBundle\\Migrations\\Version20251111142100 (create the authorization_group_resource_members table)"} []
[2026-03-09T14:16:52.746069+00:00] app.DEBUG: CREATE TABLE authorization_group_resource_members (identifier BINARY(16) NOT NULL COMMENT '(DC2Type:uuid_binary)', group_authorization_resource_identifier BINARY(16) DEFAULT NULL COMMENT '(DC2Type:uuid_binary)', member_authorization_resource_identifier BINARY(16) DEFAULT NULL COMMENT '(DC2Type:uuid_binary)', PRIMARY KEY (identifier)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB {"query":"CREATE TABLE authorization_group_resource_members (identifier BINARY(16) NOT NULL COMMENT '(DC2Type:uuid_binary)', group_authorization_resource_identifier BINARY(16) DEFAULT NULL COMMENT '(DC2Type:uuid_binary)', member_authorization_resource_identifier BINARY(16) DEFAULT NULL COMMENT '(DC2Type:uuid_binary)', PRIMARY KEY (identifier)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB","params":""} []
[2026-03-09T14:16:52.752496+00:00] app.DEBUG: ALTER TABLE authorization_group_resource_members ADD CONSTRAINT FK_5C8C8E3E213E78E1 FOREIGN KEY (group_authorization_resource_identifier) REFERENCES authorization_resources (identifier) ON DELETE CASCADE {"query":"ALTER TABLE authorization_group_resource_members ADD CONSTRAINT FK_5C8C8E3E213E78E1 FOREIGN KEY (group_authorization_resource_identifier) REFERENCES authorization_resources (identifier) ON DELETE CASCADE","params":""} []
[2026-03-09T14:16:52.768617+00:00] app.DEBUG: ALTER TABLE authorization_group_resource_members ADD CONSTRAINT FK_5C8C8E3E6F5DFD0B FOREIGN KEY (member_authorization_resource_identifier) REFERENCES authorization_resources (identifier) ON DELETE CASCADE {"query":"ALTER TABLE authorization_group_resource_members ADD CONSTRAINT FK_5C8C8E3E6F5DFD0B FOREIGN KEY (member_authorization_resource_identifier) REFERENCES authorization_resources (identifier) ON DELETE CASCADE","params":""} []
[2026-03-09T14:16:52.789194+00:00] app.INFO: Migration Dbp\Relay\AuthorizationBundle\Migrations\Version20251111142100 migrated (took 43.2ms, used 40.5M memory) {"version":"Dbp\\Relay\\AuthorizationBundle\\Migrations\\Version20251111142100","time":43.19999999999999,"memory":"40.5M","direction":"migrated"} []
[2026-03-09T14:16:52.790500+00:00] app.INFO: ++ migrating Dbp\Relay\AuthorizationBundle\Migrations\Version20251112093200 (create the tables authorization_available_resource_class_actions and authorization_available_resource_class_action_names and populate them with the group actions) {"version_name":"Dbp\\Relay\\AuthorizationBundle\\Migrations\\Version20251112093200 (create the tables authorization_available_resource_class_actions and authorization_available_resource_class_action_names and populate them with the group actions)"} []
[2026-03-09T14:16:52.790689+00:00] app.DEBUG: CREATE TABLE authorization_available_resource_class_actions (identifier BINARY(16) NOT NULL, resource_class varchar(40) NOT NULL, action varchar(40) NOT NULL, action_type tinyint(1), PRIMARY KEY (identifier)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB {"query":"CREATE TABLE authorization_available_resource_class_actions (identifier BINARY(16) NOT NULL, resource_class varchar(40) NOT NULL, action varchar(40) NOT NULL, action_type tinyint(1), PRIMARY KEY (identifier)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB","params":""} []
[2026-03-09T14:16:52.797542+00:00] app.DEBUG: ALTER TABLE authorization_available_resource_class_actions ADD CONSTRAINT unique_resource_class_action UNIQUE (resource_class, action, action_type) {"query":"ALTER TABLE authorization_available_resource_class_actions ADD CONSTRAINT unique_resource_class_action UNIQUE (resource_class, action, action_type)","params":""} []
[2026-03-09T14:16:52.811078+00:00] app.DEBUG: CREATE TABLE authorization_available_resource_class_action_names (available_resource_class_action_identifier BINARY(16) NOT NULL, language_tag VARCHAR(2) NOT NULL, name VARCHAR(64) NOT NULL, PRIMARY KEY(available_resource_class_action_identifier, language_tag), FOREIGN KEY(available_resource_class_action_identifier) REFERENCES authorization_available_resource_class_actions(identifier) ON DELETE CASCADE) {"query":"CREATE TABLE authorization_available_resource_class_action_names (available_resource_class_action_identifier BINARY(16) NOT NULL, language_tag VARCHAR(2) NOT NULL, name VARCHAR(64) NOT NULL, PRIMARY KEY(available_resource_class_action_identifier, language_tag), FOREIGN KEY(available_resource_class_action_identifier) REFERENCES authorization_available_resource_class_actions(identifier) ON DELETE CASCADE)","params":""} []
Error reading stdout: stream did not contain valid UTF-8
WARNING: step_script could not run to completion because the timeout was exceeded. For more control over job and script timeouts see: https://docs.gitlab.com/ci/runners/configure_runners/#set-script-and-after_script-timeouts
ERROR: Job failed: execution took longer than 1h0m0s seconds
Describe the bug
We are using a (private) GitLab CI to run database migration tests with
devenv test.Expand
Our
devenv.nixlooks something like:Expand
This worked great so far with the devenv v1 docker image, but now with devenv v2 we run into a timeout after spending the rest of an hour waiting after a log message
Error reading stdout: stream did not contain valid UTF-8. Before we get that error message it is successfully setting up the database, doing migrations and so on. But after a bit over 4Β min we get that error message.Last log lines:
Expand
Locally on my NixOS box I can run
devenv testjust fine with devenv v2!To reproduce
Disclaimer: Will be hard to reproduce, since I can't share the full infrastructure. π¬ I was just hoping something rings a bell why the docker image is not working the same still.
Running
docker run --rm -e DEVENV_HOME=/tmp/.devenv-home -v "$PWD":/work -w /work ghcr.io/cachix/devenv/devenv:v1.11.1 bash -lc 'devenv test'(or withghcr.io/cachix/devenv/devenv:v1.11.1in GitLab CI) did work.Running
docker run --rm -e DEVENV_HOME=/tmp/.devenv-home -v "$PWD":/work -w /work ghcr.io/cachix/devenv/devenv:v2.0.2 bash -lc 'devenv test'ran into a timeout after not outputting anything else after an error messageError reading stdout: stream did not contain valid UTF-8.Version
devenv 2.0.1 (x86_64-linux)