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

Build under Windows is flaky and PNPM frequently fails (OSOE-959) #162

Closed
Piedone opened this issue Dec 30, 2024 · 1 comment
Closed

Build under Windows is flaky and PNPM frequently fails (OSOE-959) #162

Piedone opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Piedone
Copy link
Member

Piedone commented Dec 30, 2024

The CI build under Windows, but not under Ubuntu, frequently fails with the following error:

Starting to execute tests from the C:\a\Open-Source-Orchard-Core-Extensions\Open-Source-Orchard-Core-Extensions\test\Lombiq.UITestingToolbox\Lombiq.Tests.UI.Samples\Lombiq.Tests.UI.Samples.csproj project.
Starting testing with `dotnet test --configuration Debug --nologo --logger 'trx;LogFileName=test-results.trx' --logger 'console;verbosity=detailed' --verbosity quiet  --filter 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests'  C:\a\Open-Source-Orchard-Core-Extensions\Open-Source-Orchard-Core-Extensions\test\Lombiq.UITestingToolbox\Lombiq.Tests.UI.Samples\Lombiq.Tests.UI.Samples.csproj`.
C:\a\Open-Source-Orchard-Core-Extensions\Open-Source-Orchard-Core-Extensions\src\Modules\Lombiq.VueJs\Lombiq.VueJs\Lombiq.VueJs.csproj(82,5): error MSB3073: The command "npm explore nodejs-extensions -- pnpm build" exited with code 1.

This needs to be investigated with a more verbose log.

When rebuilding the whole solution from VS locally, the following can happen:

48>> SRC=$(node scripts/get-path js source) DEST=$(node scripts/get-path js target) && if-env SRC=! && echo "Skipping scripts" && exit 0 || node scripts/compile-scripts "$SRC" "$DEST" "${INIT_CWD}/config/" || AREA=scripts STEP=compilation pnpm error
48>
48>
53>
53>no-path(1,1): error ERROR: No files matching the pattern "" were found.
53>
53>EXEC : > [email protected] error E: \ShortPath\OSOCE1\node_modules\.nx
53>> echo "Error in $AREA pipeline: $STEP failed."
53>
53>Error in styles pipeline: linting failed.
53>E:\ShortPath\OSOCE1\src\Modules\Lombiq.VueJs\Lombiq.VueJs\Lombiq.VueJs.csproj(82,5): error MSB3073: The command "npm explore nodejs-extensions -- pnpm build" exited with code -1.
53>Done building project "Lombiq.VueJs.csproj" -- FAILED.

Jira issue

@Piedone Piedone added the bug Something isn't working label Dec 30, 2024
@github-actions github-actions bot changed the title Build under Windows is flaky and PNPM frequently fails Build under Windows is flaky and PNPM frequently fails (OSOE-959) Dec 30, 2024
@Piedone
Copy link
Member Author

Piedone commented Dec 31, 2024

Will be part of #160.

@Piedone Piedone closed this as not planned Won't fix, can't repro, duplicate, stale Dec 31, 2024
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