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

Mis-leading error message on missing submodule in verification of s2n-tls #206

Open
rod-chapman opened this issue Jun 18, 2024 · 0 comments

Comments

@rod-chapman
Copy link

Attempting to run all the proofs of s2n-tls locally, I got:

proofs$ ./run-cbmc-proofs.py --summarize

For your convenience, the output of this run will be symbolically linked to  /home/ubuntu/s2n/s2n-tls-5/tests/cbmc/proofs/output/latest/html/index.html 

Configuring CBMC proofs: 163 / 163
CRITICAL:root:Failed to configure the following proofs:
/home/ubuntu/s2n/s2n-tls-5/tests/cbmc/proofs/s2n_hash_new
...

and was somewhat confused as to where I had gone wrong. It turns out I had failed to initialize GIT submodules for the s2n-tls repo following a fresh clone of the repo.

A better error message, along the lines of:

CRITICAL:required Git submodule XXX is missing
CRITICAL:please run 'git submodule update --init'

or similar would be a big help for newbies.

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

No branches or pull requests

1 participant