plummm / SyzScope

SyzScope is a research project that aims to reveal high-risk security bugs on Syzbot. Learn more details in our paper.
MIT License
72 stars 12 forks source link

exitcode 2 #15

Closed lakka820 closed 1 year ago

lakka820 commented 1 year ago
 root@779e7d7baa0b:~/SyzScope# python3 syzscope -i f99edaeec58ad40380ed5813d89e205861be2896 -KF
[+] Building image
[+] Building gcc and clang
[+] Building llvm
[+] Build static analysis tool
[+] Download pwndbg
[+] Setup golang environment
[+] Setup syzkaller
[+] Clean unfinished jobs
rm: cannot remove 'linux-*/.git/index.lock': No such file or directory
Removing index.lock
rm: cannot remove 'linux-*/THIS_KERNEL_IS_BEING_USED': No such file or directory
All set
[*] hash: f99edaeec58ad40380ed5813d89e205861be2896
[*] url: https://syzkaller.appspot.com/upstream/fixed
[*] max: 9999
[*] key: ['']
[*] deduplicate: []
[*] alert: ['']
root : root kvm
KVM is ready to go
Thread 0: run case f99edaeec58ad40380ed5813d89e205861be2896 [0/1] left
2023-10-07 06:10:52,378 Thread 0: run: scripts/linux-clone.sh 0 linux
running linux-clone.sh
2023-10-07 06:10:52,382 Thread 0: f99edae f99edaeec58ad40380ed5813d89e205861be2896
2023-10-07 06:10:53,236 Thread 0: f99edae Found duplicated case in /root/SyzScope/work/error/f99edae
2023-10-07 06:10:53,237 Thread 0: f99edae run: scripts/deploy.sh
2023-10-07 06:10:55,810 Thread 0: f99edae script/deploy.sh is done with exitcode 2
2023-10-07 06:10:55,811 Thread 0: f99edae Error occur in deploy.sh
2023-10-07 06:10:55,811 Thread 0: f99edae case f99edaeec58ad40380ed5813d89e205861be2896 encounter an error. See log for details.
2023-10-07 06:10:55,811 Thread 0: f99edae Copy to error
Thread 0 exit->

root@779e7d7baa0b:~/SyzScope# tail -f -n 10 work/error/f99edae/log
2023-10-07 06:10:55,794 [0] b'If you want to create a new branch to retain commits you create, you may\n'
2023-10-07 06:10:55,794 [0] b'do so (now or later) by using -b with the checkout command again. Example:\n'
2023-10-07 06:10:55,794 [0] b'\n'
2023-10-07 06:10:55,794 [0] b'  git checkout -b <new-branch-name>\n'
2023-10-07 06:10:55,794 [0] b'\n'
2023-10-07 06:10:55,794 [0] b'HEAD is now at 9b1f3e665 prog: control program length\n'
2023-10-07 06:10:55,797 [0] b'+ make clean\n'
2023-10-07 06:10:55,809 [0] b"tools/syz-env/env.go:14:2: no required module provides package github.com/google/syzkaller/pkg/osutil: go.mod file not found in current directory or any parent directory; see 'go help modules'\n"
2023-10-07 06:10:55,809 [0] b"tools/syz-env/env.go:15:2: no required module provides package github.com/google/syzkaller/sys/targets: go.mod file not found in current directory or any parent directory; see 'go help modules'\n"
2023-10-07 06:10:55,810 [0] b'Makefile:35: *** syz-env failed.  Stop.\n'

whatever case I run, it will be this. I have used the ready2go、 Implemented environmental configuration and run python3 syzscope --install-requirements. Thanks.

plummm commented 1 year ago

Try this temporary solution https://github.com/plummm/SyzScope/issues/12#issuecomment-1712714684