Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid CEN header #4387

Closed
dicolasi opened this issue Aug 14, 2023 · 0 comments
Closed

Invalid CEN header #4387

dicolasi opened this issue Aug 14, 2023 · 0 comments
Labels
🐛 Bug Something isn't working

Comments

@dicolasi
Copy link

Summary

Stryker job fails in Gitlab with the following error:

An unexpected error ocurred: Error: Invalid CEN header (bad signature)

Stryker config

{
"$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
"packageManager": "npm",
"reporters": [
"clear-text"
],
"mutate": [
"src/conversion/build-exchange-content-package.js",
"src/directory-processing/collate-directory.js",
"src/conversion/build-kong-package.js",
"src/conversion/convert-config-to-kongfig.js"
],
"commandRunner": {
"command": "npm run test:unit"
},
"timeoutMS": 60000,
"testRunner": "mocha",
"mochaOptions": {
"spec": ["test/unit/**/*.test.ts"],
"require": ["ts-node/register"]
}
}


**Test runner config**

**Stryker environment**

@stryker-mutator/core@7.1.1
@stryker-mutator/mocha-runner@7.1.1
mocha@10.2.0


**Test runner environment**

```shell
# stryker run

Your Environment

https://hub.docker.com/layers/library/node/lts-alpine3.17/images/sha256-667b1cc7a038a4bbfeb9852e1bfe9bd956e10215092b076d968c62a673d5b773?context=explore
gitlab-runner 15.8.1

Add stryker.log

$ npm run test:mutation
> @dwp/exchange-publish@0.0.0 test:mutation
> stryker run
12:26:53 (92) INFO ProjectReader Found 4 of 1364 file(s) to be mutated.
12:26:53 (92) INFO Instrumenter Instrumented 4 source file(s) with 474 mutant(s)
12:26:54 (92) INFO ConcurrencyTokenProvider Creating 15 test runner process(es).
12:26:56 (92) INFO DryRunExecutor Starting initial test run (mocha test runner with "perTest" coverage analysis). This may take a while.
12:27:20 ([92](https://gitlab.com/dwp/integration/api-exchange/publishing-tools/-/jobs/4868332434#L92)) ERROR DryRunExecutor One or more tests failed in the initial test run:
	Business documentation validation should validate well-formed document
		An unexpected error ocurred: Error: Invalid CEN header (bad signature)
12:27:20 (92) ERROR Stryker There were failed tests in the initial test run.
Cleaning up project directory and file based variables
00:01
@dicolasi dicolasi added the 🐛 Bug Something isn't working label Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant