Comments (6)
I tried the solution in #30 (comment), but it didn't work. Would you mind taking a look? @NathanTP
Thank you very much.
from firemarshal.
Could it be a bug here in this python file? ../wlutil/wlutil.py
from firemarshal.
Which branch is this on? That trace looks like it might be from an old branch (or maybe master). Does this issue show up on the dev branch?
from firemarshal.
Yes, it was from master branch. So I checked out the dev branch by git checkout dev
, and reran the marshal.
frederick@ubuntu:~/workspace/chipyard/software/firemarshal$ git checkout dev
warning: unable to rmdir 'workloads/sha3': Directory not empty
M boards/firechip/drivers/iceblk-driver
M boards/firechip/drivers/icenet-driver
M riscv-linux
M riscv-pk
M wlutil/br/buildroot
Switched to branch 'dev'
Your branch is up to date with 'origin/dev'.
frederick@ubuntu:~/workspace/chipyard/software/firemarshal$ ./marshal build workloads/sha3-bare-rocc.json
sudo: a password is required
To check on progress, either call marshal with '-v' or see the live output at:
/home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/logs/sha3-bare-rocc-build-2019-12-19--08-39-11-6MGU1X0KGLLCXAWN.log
Traceback (most recent call last):
File "./marshal", line 201, in <module>
main()
File "./marshal", line 116, in main
targetCfg = cfgs[cfgName]
File "/home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/wlutil/config.py", line 432, in __getitem__
return self.cfgs[key]
KeyError: 'sha3-bare-rocc.json'
Obviously, the .json
file is gone so I re-checkout the /workloads
from the master branch like below:
frederick@ubuntu:~/workspace/chipyard/software/firemarshal$ git checkout master -- workloads/
frederick@ubuntu:~/workspace/chipyard/software/firemarshal$ ./marshal build workloads/sha3-bare-rocc.json
sudo: a password is required
To check on progress, either call marshal with '-v' or see the live output at:
/home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/logs/sha3-bare-rocc-build-2019-12-19--08-40-25-ZR6E6AVE810PJJT1.log
. /home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/workloads/sha3/build.sh
Applying host-init: /home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/workloads/sha3/build.sh
TaskError - taskid:/home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/workloads/sha3/build.sh
PythonAction Error
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/doit/action.py", line 437, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "/home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/wlutil/build.py", line 46, in handleHostInit
run([config['host-init'].path] + config['host-init'].args, cwd=config['workdir'])
File "/home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/wlutil/wlutil.py", line 417, in run
raise sp.CalledProcessError(p.returncode, prettyCmd)
subprocess.CalledProcessError: Command '/home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/workloads/sha3/build.sh' returned non-zero exit status 2.
Failed to build workload sha3-bare-rocc.json
Log available at: /home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/logs/sha3-bare-rocc-build-2019-12-19--08-40-25-ZR6E6AVE810PJJT1.log
Any ideas on this? Thanks again.
from firemarshal.
The sha3 workload has moved to https://github.com/ucb-bar/sha3/tree/master/software.
The README there is mostly accurate. The only difference is that it asks you to run marshal as "./marshal", but of course you'll need to replace that with whatever the path to your marshal command is (or put marshal on your $PATH).
Also, it may help to attach the full log of the run (e.g. /home/frederick/workspace/chipyard/sims/firesim/sw/firesim-software/logs/sha3-bare-rocc-build-2019-12-19--08-40-25-ZR6E6AVE810PJJT1.log) since it contains more information. The output shown here just says that the host-init script (build.sh) failed but not why. You can try running the script manually to see more clear output for what is wrong.
from firemarshal.
You are right, Nathan. Problem solved with build.sh
in sha3 workload.
Thanks.
from firemarshal.
Related Issues (20)
- crashs while building br-base.json HOT 2
- Bump buildroot submodule version to pull in upstream fixes HOT 2
- Build failure exits 0 HOT 1
- Bump buildroot to be able to build with make 4.3 HOT 1
- FireMarshal does not work with the latest doit version HOT 1
- XRT default setup.sh can cause buildroot failure for CWD in LD_LIBRARY_PATH HOT 1
- TypeError: string indices must be integers HOT 1
- can't add file in my-test-bin-nodisk-flat
- "sed: no such file" when attempting to install riscv-tools HOT 1
- Update Fedora to Fedora 37 (20221130)
- build failed with Permission denied
- Need a line break check before merging several Linux configs
- nodisk: Failed to login as 'root' with password 'fpga' HOT 1
- Compilation with conda failes at mknod Operation not permitted
- can not create nodisk image when overwriting the linux config
- [Firesim][VCU118][firesim runworkload] Can not see linux booting and be presented with a login prompt
- ERROR: Failed to build workload br-base.json HOT 2
- TaskError when builing workload HOT 1
- Error: cycles: PMU Hardware doesn't support sampling/overflow-interrupts. Try 'perf stat'
- Can FireMarshal now support VCS or Verilator?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firemarshal.