-
Notifications
You must be signed in to change notification settings - Fork 32
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
Running an IKOS scan from tutorial does not work #138
Milestone
Comments
xfiderek
added a commit
to xfiderek/spaceros-docker
that referenced
this issue
Feb 20, 2024
This commit adjusts the Earthfile, entrypoint.sh, and README.md, so that IKOS tutorial is runnable.
This was referenced Feb 20, 2024
xfiderek
added a commit
to xfiderek/ament_cobra
that referenced
this issue
Feb 20, 2024
This commit fixes compilation with ikos-scan, by modifying linker flags
xfiderek
added a commit
to xfiderek/ament_ikos
that referenced
this issue
Feb 20, 2024
This commit increases timeout for ikos linter in `ament_cmake_ikos` package
@ivanperez-keera, tagging you for visibility. I have created 3 PRs: |
This is extremely useful! Thank you @xfiderek for doing this. |
(I'll review in more detail later but I wanted to send you that quick note 😃 ) |
sloretz
pushed a commit
to ament/ament_ikos
that referenced
this issue
Feb 23, 2024
This commit increases timeout for ikos linter in `ament_cmake_ikos` package
xfiderek
added a commit
to xfiderek/spaceros-docker
that referenced
this issue
Feb 29, 2024
This commit adjusts the Earthfile, entrypoint.sh, and README.md, so that IKOS tutorial is runnable.
xfiderek
added a commit
to xfiderek/spaceros-docker
that referenced
this issue
Feb 29, 2024
This commit adjusts the Earthfile, entrypoint.sh, and README.md, so that IKOS tutorial is runnable.
xfiderek
added a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 23, 2024
xfiderek
added a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 23, 2024
Add additional environment variable to entrypoint of spaceros image. This lets ikos generate .ikosbin files.
xfiderek
added a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 23, 2024
ivanperez-keera
pushed a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 25, 2024
Add environment variable to entrypoint of spaceros image. This variable is required for ikos-scan to execute and generate .ikosbin files without having to run the ikos-scan server.
ivanperez-keera
pushed a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 25, 2024
The current instructions specify how to re-run all tests, which takes substantial time. This change explains how to run ikos-scan specifically, which should be faster than running all tests.
ivanperez-keera
pushed a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 26, 2024
ivanperez-keera
pushed a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 26, 2024
Add environment variable to entrypoint of spaceros image. This variable is required for ikos-scan to execute and generate .ikosbin files without having to run the ikos-scan server.
ivanperez-keera
pushed a commit
to xfiderek/spaceros-docker
that referenced
this issue
Apr 26, 2024
The current instructions specify how to re-run all tests, which takes substantial time. This change explains how to run ikos-scan specifically, which should be faster than running all tests.
github-project-automation
bot
moved this from In Review
to Done
in Space ROS Project Development
Apr 26, 2024
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
Add environment variable to entrypoint of spaceros image. This variable is required for ikos-scan to execute and generate .ikosbin files without having to run the ikos-scan server.
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
Add environment variable to entrypoint of spaceros image. This variable is required for ikos-scan to execute and generate .ikosbin files without having to run the ikos-scan server.
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
Add environment variable to entrypoint of spaceros image. This variable is required for ikos-scan to execute and generate .ikosbin files without having to run the ikos-scan server.
eholum
pushed a commit
to eholum/space-ros
that referenced
this issue
Jun 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After trying to run IKOS scan as per this tutorial, I've encountered 3 problems.
Problem A: colcon build command throws basic errors
Following the readme, I try to execute
First impediment is that
ikos-scan-cc
executable is missing, which can easily be fixed. Apart from that, we also need to set IKOS_SCAN_NOTIFIER_FILES env variable in the container. Otherwise it throws:Problem B: building
cobra_vendor
package fails whenikos-scan-cc
is used as a compilerThe exact error thrown by
cobra_vendor
package is:c.ar is a library that is build earlier and which should be linked at this step.
Changing the end of compile command from
c.ar -pthread
to-Wl,c.ar -pthread
fixes the issue, so i presume there is something wrong with howikos-scan-cc
forwards arguments to clang. The easiest will be to fix that in ament’scobra_vendor
package. Two other alternatives are to either fix it inikos
side or directly incobra
.Problem C:
ament_ikos
timeouts for large packages (e.g. rclcpp)The reason is that
ament_ikos
uses default timeout time of 60 seconds. We should modify this value in the repo.After addressing these 3 issues, I was able to run ikos scan as expected in spaceros workspace. I will create 3 PRs, first for this repo (problem A), second for
ament_cobra
repo (problem B), and third forament_ikos
repo (problem C)The text was updated successfully, but these errors were encountered: