Skip to content

add build-tools.sh ALL to github actions, lost with Travis - #4210

Merged
cujomalainey merged 4 commits into
thesofproject:mainfrom
marc-hb:tools-cleanup
May 24, 2021
Merged

add build-tools.sh ALL to github actions, lost with Travis#4210
cujomalainey merged 4 commits into
thesofproject:mainfrom
marc-hb:tools-cleanup

Conversation

@marc-hb

Copy link
Copy Markdown
Collaborator

2 commits related to recent #4141

cujomalainey
cujomalainey previously requested changes May 19, 2021
Comment thread.github/workflows/tools.yml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

trailing slash unneeded

@marc-hbmarc-hbMay 19, 2021

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

(too) terse allusion to the tools/ subdirectory. How about: User space in tools dir?

Comment thread.github/workflows/tools.yml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why caps? why not something more informative such as "build check"

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

A bit cryptic allusion to the default CMake target and its reserved name ALL, see #4141 for more background.

How about Build ALL?

@lgirdwood

Copy link
Copy Markdown
Member

Fwiw, looks like an unrelated timeout on internal codec checks (but all green).

marc-hb added 3 commits May 22, 2021 00:06
gcc does not know that we already filtered unreasonable precision
values.
Increase the size of the temporary string from 32 bytes to 64
bytes. We're running on the host, memory is cheap.
Fixes commit d6f6a45 ("logger: fix column and header alignments")
For some reason CMake uses -Werror=format-truncation only in Release
mode.
Avoids the following warning:
```
sof/tools/logger/convert.c: In function ‘fetch_entry’:
sof/tools/logger/convert.c:514:27: error: ‘%d’ directive output may be
truncated writing between 1 and 10 bytes into a region of size
between 0 and 18 [-Werror=format-truncation=]
514 | "%%s[%%%d.%df] (%%%d.%df)%%s ",
| ^~
sof/tools/logger/convert.c:514:6: note: directive argument in the
range [0, 2147483647]
514 | "%%s[%%%d.%df] (%%%d.%df)%%s ",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from sof/tools/logger/convert.h:13,
from sof/tools/logger/convert.c:21:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10:
note: ‘__builtin___snprintf_chk’ output between 21 and 59 bytes into
a destination of size 32
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
We used to do this in Travis, see commit 7072eb4 ("travis: run
build-tools.sh with CMAKE_BUILD_TYPE=Release") and older.
Related to issue thesofproject#4141 build-tools.sh -T does not build development
topologies.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Fixesthesofproject#4141. I got tired of repeatedly having to read CMakeLists.txt
files.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb

Copy link
Copy Markdown
CollaboratorAuthor

https://sof-ci.01.org/sofpr/PR4210/build9084/devicetest/?model=CML_HEL_RT5682&testcase=verify-pcm-list had the topology panic below that has also been seen elsewhere.

Can't possibly related to building user space tools. I think a recent kernel revert fixed it.

Everything else was green for commit 7f8ebb9b507, especially https://sof-ci.01.org/sofpr/PR4210/build9084/build/tools.txt and https://github.com/thesofproject/sof/pull/4210/checks?check_run_id=2615211180

https://github.com/thesofproject/sof/pull/4210/checks?check_run_id=2643711883 is green again and
Jenkins CI is down this WE.

kernel: [ 3.410957] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
kernel: [ 3.411115] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
kernel: [ 3.411118] sof-audio-pci-intel-cnl 0000:00:1f.3: widget PCM8C setup complete
kernel: [ 3.411123] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
kernel: [ 3.411235] sof-audio-pci-intel-cnl 0000:00:1f.3: error : DSP panic!
kernel: [ 3.411239] sof-audio-pci-intel-cnl 0000:00:1f.3: panic: dsp_oops_offset 788480 offset 788480
kernel: [ 3.411243] sof-audio-pci-intel-cnl 0000:00:1f.3: status: fw entered - code 00000005
kernel: [ 3.411402] sof-audio-pci-intel-cnl 0000:00:1f.3: error: assertion failed
kernel: [ 3.411405] sof-audio-pci-intel-cnl 0000:00:1f.3: error: trace point 00004000
kernel: [ 3.411408] sof-audio-pci-intel-cnl 0000:00:1f.3: error: panic at src/audio/kpb.c:154
kernel: [ 3.411411] sof-audio-pci-intel-cnl 0000:00:1f.3: error: DSP Firmware Oops

@lgirdwoodlgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@cujomalainey please merge if you are aligned with the review changes.

Comment threadtools/fuzzer/README.md Outdated
@cujomalainey

Copy link
Copy Markdown
Contributor

one comment issue otherwise all good

As discussed in thesofproject#4132
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb

Copy link
Copy Markdown
CollaboratorAuthor

A couple hardware issues that cannot be related to this.
https://sof-ci.01.org/sofpr/PR4210/build9147/devicetest/?model=BYT_MB_NOCODEC&testcase=check-alsabat-headset-playback has the following alsabat error

 FAIL: Peak freq too low 988.77 Hz
FAIL: Peak freq too high 1004.88 Hz

In the same run APL_UP2_HDA was not available for testing or its kernel failed to boot, not sure which one.

Everything else is green including https://sof-ci.01.org/sof-pr-viewer/#/build/PR4210/build6485167

@cujomalainey

Copy link
Copy Markdown
Contributor

Agreed, unrelated

@cujomalainey
cujomalainey merged commit fa5cc11 into thesofproject:mainMay 24, 2021
@marc-hb
marc-hb deleted the tools-cleanup branch September 2, 2021 23:48
Sign up for freeto 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

@marc-hb@lgirdwood@cujomalainey