Skip to content

Conversation

@marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Nov 6, 2020

Notably remove top-level "expr" because "expr 0" is surprisingly a
failure and expr is antiquited anyway (SC2003)

Also add a dlogi() before killing so no one mistakes the deaths of aplay
and arecord for failures.

Progress towards #312.

Signed-off-by: Marc Herbert marc.herbert@intel.com

@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 6, 2020

The shellcheck warnings in https://travis-ci.org/github/thesofproject/sof-test/jobs/741782133 predates this PR.

The only test failure in https://sof-ci.01.org/softestpr/PR497/build367/devicetest is known bug thesofproject/sof#3462 and this test code change cannot cause this sort of failure, especially not on just one platform.

@marc-hb marc-hb marked this pull request as ready for review November 6, 2020 05:11
@marc-hb marc-hb requested a review from a team as a code owner November 6, 2020 05:11
@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 9, 2020

@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 9, 2020

Notably remove top-level "expr" because "expr 0" is surprisingly a
failure and expr is antiquited anyway (SC2003)

Progress towards thesofproject#312.

Also add a dlogc() before killing so no one mistakes the deaths of aplay
and arecord for failures.

Add shellcheck source=case-lib/lib.sh, removes 5 warnings.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Copy link

@aiChaoSONG aiChaoSONG left a comment

Choose a reason for hiding this comment

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

LGTM, failures on APL and BDW is not related.

@aiChaoSONG aiChaoSONG merged commit 202507f into thesofproject:master Nov 17, 2020
@marc-hb marc-hb deleted the multi-set-e branch November 18, 2020 06:44
@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 18, 2020

This change broke the test in some configurations, tentative fix in #521

marc-hb added a commit to marc-hb/sof-test that referenced this pull request Nov 18, 2020
... because its normal output is typically discarded.

This would have avoided regression 202507f / thesofproject#497 fixed by thesofproject#521.

This could help with other multi pipelines issues.

Also add a documentation header so not everyone has to read the entire
code.

Also add a warning about the massive copy/paste across
multiple-pipeline-playback and multiple-pipeline-capture (these are the
heaviest sof-process-state users).

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb added a commit to marc-hb/sof-test that referenced this pull request Nov 18, 2020
... because its normal output is typically discarded.

This would have avoided regression 202507f / thesofproject#497 fixed by thesofproject#521.

This could help with other multi pipelines issues.

Also add a documentation header so not everyone has to read the entire
code.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb added a commit to marc-hb/sof-test that referenced this pull request Dec 1, 2020
... because its normal output is typically discarded.

This would have avoided regression 202507f / thesofproject#497 fixed by thesofproject#521.

This could help with other multi pipelines issues.

Also add a documentation header so not everyone has to read the entire
code.

When a process is not found just say so. No need for guesses and
interpretations.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
xiulipan pushed a commit that referenced this pull request Dec 1, 2020
... because its normal output is typically discarded.

This would have avoided regression 202507f / #497 fixed by #521.

This could help with other multi pipelines issues.

Also add a documentation header so not everyone has to read the entire
code.

When a process is not found just say so. No need for guesses and
interpretations.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants