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

test: print stderr if DedupeModuleResolvePlugin not found #17973

Merged
merged 1 commit into from Jun 20, 2020

Conversation

kyliau
Copy link
Contributor

@kyliau kyliau commented Jun 19, 2020

This commit attempts to identify flakiness in the dedupe-duplicate-modules.ts test
in which the signature string occasionally fails to show up in stderr.
Dumping out the whole stderr would help us identify the bug.

Example failure on master:
https://app.circleci.com/pipelines/github/angular/angular-cli/7867/workflows/fdabb867-5dbe-4b85-80c5-24b6bca328dd/jobs/167264/steps

This commit attempts to identify flakiness in the dedupe-duplicate-modules.ts test
in which the signature string occasionally fails to show up in stderr.
Dumping out the whole stderr would help us identify the bug.

Example failure on master:
https://app.circleci.com/pipelines/github/angular/angular-cli/7867/workflows/fdabb867-5dbe-4b85-80c5-24b6bca328dd/jobs/167264/steps
@kyliau kyliau requested a review from dgp1130 June 19, 2020 22:20
@kyliau kyliau added the target: major This PR is targeted for the next major release label Jun 19, 2020
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@kyliau kyliau added the action: merge The PR is ready for merge by the caretaker label Jun 19, 2020
@clydin clydin merged commit 703c50e into angular:master Jun 20, 2020
@kyliau kyliau deleted the dedupe-plugin branch June 22, 2020 21:28
clydin pushed a commit that referenced this pull request Jun 23, 2020
Following #17973, which we emitted the stderr when this test failed on CI.

We see that the resolved module order sometimes changes, which is totally fine because of the async nature of the operation.

https://circleci.com/gh/angular/angular-cli/167318#tests/containers/5
```
[DedupeModuleResolvePlugin]: /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1 -> /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1-copy
```

With this change we handle both cases which should eliminate the flakes
kyliau pushed a commit that referenced this pull request Jun 24, 2020
Following #17973, which we emitted the stderr when this test failed on CI.

We see that the resolved module order sometimes changes, which is totally fine because of the async nature of the operation.

https://circleci.com/gh/angular/angular-cli/167318#tests/containers/5
```
[DedupeModuleResolvePlugin]: /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1 -> /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1-copy
```

With this change we handle both cases which should eliminate the flakes

(cherry picked from commit bf599e4)
villelahdenvuo pushed a commit to villelahdenvuo/angular-cli that referenced this pull request Jul 6, 2020
Following angular#17973, which we emitted the stderr when this test failed on CI.

We see that the resolved module order sometimes changes, which is totally fine because of the async nature of the operation.

https://circleci.com/gh/angular/angular-cli/167318#tests/containers/5
```
[DedupeModuleResolvePlugin]: /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1 -> /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1-copy
```

With this change we handle both cases which should eliminate the flakes
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants