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

GitHub action chipyard-run-tests.yml error #1789

Open
3 tasks done
hyun530 opened this issue Feb 7, 2024 · 6 comments
Open
3 tasks done

GitHub action chipyard-run-tests.yml error #1789

hyun530 opened this issue Feb 7, 2024 · 6 comments
Labels

Comments

@hyun530
Copy link

hyun530 commented Feb 7, 2024

Background Work

Chipyard Version and Hash

Release: 1.10.0
Hash: b7644b2

OS Setup

Ex: Output of uname -a + lsb_release -a + printenv + conda list

uname -a :
Linux SALfpga 5.15.0-67-generic #74~20.04.1-Ubuntu SMP Wed Feb 22 14:52:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a :
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

printenv :
SHELL=/bin/bash
COLORTERM=truecolor
TERM_PROGRAM_VERSION=1.85.2
CONDA_EXE=/media/0/miniforge3/bin/conda
_CE_M=
VCS_HOME=/media/0/tools/synopsys/vcs/R-2020.12-SP2-11
SBT_HOME=/home/sal/.sdkman/candidates/sbt/current
LC_ADDRESS=ko_KR.UTF-8
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
LC_NAME=ko_KR.UTF-8
SDKMAN_CANDIDATES_DIR=/home/sal/.sdkman/candidates
VERDI_HOME=/media/0/tools/synopsys/verdi/R-2020.12-SP2-11
LC_MONETARY=ko_KR.UTF-8
XML_CATALOG_FILES=file:///media/0/miniforge3/etc/xml/catalog file:///etc/xml/catalog
PWD=/media/0
GSETTINGS_SCHEMA_DIR=/media/0/miniforge3/share/glib-2.0/schemas
LOGNAME=sal
XDG_SESSION_TYPE=tty
CONDA_PREFIX=/media/0/miniforge3
GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
VSCODE_GIT_ASKPASS_NODE=/home/sal/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/node
DC_HOME=/media/0/tools/synopsys/syn/Q-2019.12-SP5-5
MOTD_SHOWN=pam
HOME=/home/sal
LANG=en_US.UTF-8
LC_PAPER=ko_KR.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:
CONDA_PROMPT_MODIFIER=(base)
GIT_ASKPASS=/home/sal/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/git/dist/askpass.sh
SSH_CONNECTION=115.145.211.249 54403 115.145.211.114 8002
VSCODE_GIT_ASKPASS_EXTRA_ARGS=
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
SNPSLMD_LICENSE_FILE=27000@semi-lic.skku.edu
TERM=xterm-256color
LC_IDENTIFICATION=ko_KR.UTF-8
_CE_CONDA=
LESSOPEN=| /usr/bin/lesspipe %s
USER=sal
VSCODE_GIT_IPC_HANDLE=/run/user/1000/vscode-git-e66c52e279.sock
CONDA_SHLVL=1
SDKMAN_DIR=/home/sal/.sdkman
SHLVL=2
LC_TELEPHONE=ko_KR.UTF-8
LC_MEASUREMENT=ko_KR.UTF-8
SDKMAN_CANDIDATES_API=https://api.sdkman.io/2
XDG_SESSION_ID=657
CONDA_PYTHON_EXE=/media/0/miniforge3/bin/python
XDG_RUNTIME_DIR=/run/user/1000
SSH_CLIENT=115.145.211.249 54403 8002
CONDA_DEFAULT_ENV=base
LC_TIME=ko_KR.UTF-8
VSCODE_GIT_ASKPASS_MAIN=/home/sal/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/git/dist/askpass-main.js
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
BROWSER=/home/sal/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/bin/helpers/browser.sh
PATH=/home/sal/local/bin:/media/0/tools/Xilinx/Vivado_Lab/2023.1/bin:/home/sal/.vscode-server/bin/8b3775030ed1a69b13e4f4c628c612102e30a681/bin/remote-cli:/home/sal/local/bin:/media/0/tools/Xilinx/Vivado_Lab/2023.1/bin:/media/0/tools/synopsys/vcs/R-2020.12-SP2-11/bin:/media/0/tools/synopsys/verdi/R-2020.12-SP2-11/bin:/media/0/tools/synopsys/syn/Q-2019.12-SP5-5/bin:/usr/synopsys/installer/version:/home/sal/.sdkman/candidates/sbt/current/bin:/home/sal/local/bin:/media/0/miniforge3/bin:/media/0/miniforge3/condabin:/media/0/tools/Xilinx/Vivado_Lab/2023.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
SDKMAN_PLATFORM=linuxx64
LC_NUMERIC=ko_KR.UTF-8
OLDPWD=/media/0/jdk-20.0.2
TERM_PROGRAM=vscode
VSCODE_IPC_HOOK_CLI=/run/user/1000/vscode-ipc-cf812641-d00f-4028-9e01-a20e6d0b46f2.sock
_=/usr/bin/printenv

conda list :
packages in environment at /media/0/miniforge3:
Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
annotated-types 0.6.0 pyhd8ed1ab_0 conda-forge
antlr4-python3-runtime 4.13.1 pypi_0 pypi
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
boltons 23.1.1 pyhd8ed1ab_0 conda-forge
brotli-python 1.1.0 py310hc6cd4ac_1 conda-forge
bzip2 1.0.8 hd590300_5 conda-forge
c-ares 1.25.0 hd590300_0 conda-forge
ca-certificates 2023.11.17 hbcca054_0 conda-forge
cachecontrol 0.13.1 pyhd8ed1ab_0 conda-forge
cachecontrol-with-filecache 0.13.1 pyhd8ed1ab_0 conda-forge
cachy 0.3.0 pyhd8ed1ab_1 conda-forge
certifi 2023.11.17 pyhd8ed1ab_0 conda-forge
cffi 1.16.0 py310h2fee648_0 conda-forge
charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge
click 8.1.7 unix_pyh707e725_0 conda-forge
click-default-group 1.2.4 pyhd8ed1ab_0 conda-forge
clikit 0.6.2 pyhd8ed1ab_2 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
conda 23.3.1 py310hff52083_0 conda-forge
conda-libmamba-solver 23.3.0 pyhd8ed1ab_0 conda-forge
conda-lock 1.4.0 pyhd8ed1ab_2 conda-forge
conda-package-handling 2.2.0 pyh38be061_0 conda-forge
conda-package-streaming 0.9.0 pyhd8ed1ab_0 conda-forge
crashtest 0.4.1 pyhd8ed1ab_0 conda-forge
cryptography 41.0.7 py310hb8475ec_1 conda-forge
dbus 1.13.6 h5008d03_3 conda-forge
distlib 0.3.8 pyhd8ed1ab_0 conda-forge
ensureconda 1.4.3 pyhd8ed1ab_0 conda-forge
expat 2.5.0 hcb278e6_1 conda-forge
filelock 3.13.1 pyhd8ed1ab_0 conda-forge
fmt 9.1.0 h924138e_0 conda-forge
gettext 0.21.1 h27087fc_0 conda-forge
git-me-the-url 2.1.0 pypi_0 pypi
gitdb 4.0.11 pyhd8ed1ab_0 conda-forge
gitpython 3.1.41 pyhd8ed1ab_0 conda-forge
html5lib 1.1 pyh9f0ad1d_0 conda-forge
icu 73.2 h59595ed_0 conda-forge
idna 3.6 pyhd8ed1ab_0 conda-forge
importlib-metadata 7.0.1 pyha770c72_0 conda-forge
importlib_metadata 7.0.1 hd8ed1ab_0 conda-forge
jaraco.classes 3.3.0 pyhd8ed1ab_0 conda-forge
jeepney 0.8.0 pyhd8ed1ab_0 conda-forge
jinja2 3.1.3 pyhd8ed1ab_0 conda-forge
jsonpatch 1.33 pyhd8ed1ab_0 conda-forge
jsonpointer 2.4 py310hff52083_3 conda-forge
keyring 24.3.0 py310hff52083_0 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
krb5 1.21.2 h659d440_0 conda-forge
ld_impl_linux-64 2.40 h41732ed_0 conda-forge
libarchive 3.6.2 h039dbb9_1 conda-forge
libcurl 8.5.0 hca28451_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 hd590300_2 conda-forge
libexpat 2.5.0 hcb278e6_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 13.2.0 h807b86a_3 conda-forge
libglib 2.78.3 h783c2da_0 conda-forge
libgomp 13.2.0 h807b86a_3 conda-forge
libiconv 1.17 hd590300_2 conda-forge
libmamba 1.4.2 hcea66bb_0 conda-forge
libmambapy 1.4.2 py310h1428755_0 conda-forge
libnghttp2 1.58.0 h47da74e_1 conda-forge
libnsl 2.0.1 hd590300_0 conda-forge
libsolv 0.7.27 hfc55251_0 conda-forge
libsqlite 3.44.2 h2797004_0 conda-forge
libssh2 1.11.0 h0841786_0 conda-forge
libstdcxx-ng 13.2.0 h7e041cc_3 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libxml2 2.11.6 h232c23b_0 conda-forge
libzlib 1.2.13 hd590300_5 conda-forge
lz4-c 1.9.4 hcb278e6_0 conda-forge
lzo 2.10 h516909a_1000 conda-forge
mamba 1.4.2 py310h51d5547_0 conda-forge
markdown 3.5.2 pypi_0 pypi
markupsafe 2.1.4 py310h2372a71_0 conda-forge
more-itertools 10.2.0 pyhd8ed1ab_0 conda-forge
msgpack-python 1.0.7 py310hd41b1e2_0 conda-forge
ncurses 6.4 h59595ed_2 conda-forge
openssl 3.2.1 hd590300_0 conda-forge
packaging 23.2 pyhd8ed1ab_0 conda-forge
pastel 0.2.1 pyhd8ed1ab_0 conda-forge
pcre2 10.42 hcad00b1_0 conda-forge
peakrdl 1.1.0 pypi_0 pypi
peakrdl-cheader 1.0.0 pypi_0 pypi
peakrdl-html 2.10.1 pypi_0 pypi
peakrdl-ipxact 3.4.3 pypi_0 pypi
peakrdl-regblock 0.20.0 pypi_0 pypi
peakrdl-systemrdl 0.3.0 pypi_0 pypi
peakrdl-uvm 2.3.0 pypi_0 pypi
pip 23.2.1 pyhd8ed1ab_0 conda-forge
pkginfo 1.9.6 pyhd8ed1ab_0 conda-forge
platformdirs 4.1.0 pyhd8ed1ab_0 conda-forge
pluggy 1.3.0 pyhd8ed1ab_0 conda-forge
pybind11-abi 4 hd8ed1ab_3 conda-forge
pycosat 0.6.6 py310h2372a71_0 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pydantic 2.0.3 pyhd8ed1ab_1 conda-forge
pydantic-core 2.3.0 py310hcb5633a_0 conda-forge
pylev 1.4.0 pyhd8ed1ab_0 conda-forge
pyopenssl 23.3.0 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 pyha2e5f31_6 conda-forge
python 3.10.12 hd12c33a_0_cpython conda-forge
python-markdown-math 0.8 pypi_0 pypi
python_abi 3.10 4_cp310 conda-forge
pyyaml 6.0.1 py310h2372a71_1 conda-forge
readline 8.2 h8228510_1 conda-forge
reproc 14.2.4.post0 hd590300_1 conda-forge
reproc-cpp 14.2.4.post0 h59595ed_1 conda-forge
requests 2.31.0 pyhd8ed1ab_0 conda-forge
ruamel.yaml 0.17.40 py310h2372a71_0 conda-forge
ruamel.yaml.clib 0.2.7 py310h2372a71_2 conda-forge
secretstorage 3.3.3 py310hff52083_2 conda-forge
setuptools 69.0.3 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
smmap 5.0.0 pyhd8ed1ab_0 conda-forge
systemrdl-compiler 1.27.3 pypi_0 pypi
tk 8.6.13 noxft_h4845f30_101 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
tomlkit 0.12.3 pyha770c72_0 conda-forge
toolz 0.12.0 pyhd8ed1ab_0 conda-forge
tqdm 4.66.1 pyhd8ed1ab_0 conda-forge
typing-extensions 4.9.0 hd8ed1ab_0 conda-forge
typing_extensions 4.9.0 pyha770c72_0 conda-forge
tzdata 2023d h0c530f3_0 conda-forge
urllib3 1.26.18 pyhd8ed1ab_0 conda-forge
virtualenv 20.25.0 pyhd8ed1ab_0 conda-forge
webencodings 0.5.1 pyhd8ed1ab_2 conda-forge
wheel 0.42.0 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
yaml-cpp 0.7.0 h59595ed_3 conda-forge
zipp 3.17.0 pyhd8ed1ab_0 conda-forge
zstandard 0.22.0 py310h1275a96_0 conda-forge
zstd 1.5.5 hfc55251_0 conda-forge

Other Setup

Ex: Prior steps taken / Documentation Followed / etc...

Current Behavior

I just want to use chipyard tag 1.10.0 version github action flow in my own server, but it didn't work. I didn't modify anything in all of workflow file.

image
When I ran chipyard-run_tests.yml, problem occured at fireboom-run-tests, prepare-chipyard-cores, prepare-chipyard ~~ case-by-case.

image
All cases the problem was occured at 'Run tests on self-hosted'

image
Error log was like this.

image
I persumed the problem first occured in this part.

Please let me know what to do or need more information about this issue.
Thank you.

Expected Behavior

I just want to complete the basic workflow

Other Information

No response

@hyun530 hyun530 added the bug label Feb 7, 2024
@jerryz123
Copy link
Contributor

You should check that the chipyard setup flow works manually on your build server first, before attempting to set up the automated CI.

@hyun530
Copy link
Author

hyun530 commented Feb 14, 2024

What does "setup flow" mean? I believe I have already completed all the setup provided by chipyard. I simply want to add actions to my environment so that the workflow operates when a pull request occurs.

The only modification I made was changing the runner to be self-hosted, and there have been no changes to the content.

Additionally, when accessing the "https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/fusesource/fusesource-pom/1.12/fusesource-pom-1.12.jar" seen in the above download error log, a '404 Not Found' error occurs.
This "404 Not Found" error appears for all links related to the download error.
Is this normal? I suspect there might be an issue with the download link and would like to inquire about this.

Thank you for your response.

@jerryz123
Copy link
Contributor

I mean you should manually ssh into the self-hosted runner you are attempting to setup, and verify that all the standard chipyard setup steps works in that environment, if you have not done so already. This is what we do when we have issues with our self-hosted runner.

The errors seem to indicate a systemic problem preventing SBT from download packages. Chipyard doesn't do anything special to this process, so I would investigate the run-farm further.

@hyun530
Copy link
Author

hyun530 commented Feb 16, 2024

I've managed to resolve the previous issue I encountered, thanks for the support.

I have a question regarding the expected outcomes when following the Chipyard tutorials without making any modifications. Specifically, when running the chipyard-run-tests.yml workflow, should all steps succeed without any failures?

I'm asking to ensure that I've set up the dependencies correctly. Any insights or clarifications would be greatly appreciated.

Thank you in advance for your assistance.

@jerryz123
Copy link
Contributor

All the steps work in our CI, as you can verify from the logs.

@hyun530
Copy link
Author

hyun530 commented Feb 19, 2024

Thank you I understand.

I'd like to manually check the "prepare chipyard *" flow for each build on the server. Could you please guide me on how to proceed with this process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants