target / strelka

Real-time, container-based file scanning at enterprise scale
Other
857 stars 111 forks source link

[BUG] Step4b of the installation isn't working #394

Closed derfel1989 closed 1 year ago

derfel1989 commented 1 year ago

When we try to proceed with the step below, there is an error, as shown below as well.

Step 4b: Build and start Strelka

Error

image

image

image

83.14 =========================== short test summary info ============================ 83.14 FAILED tests/test_scan_pcap.py::test_scan_pcap - AssertionError: {'elapsed': ... 83.14 FAILED tests/test_scan_pcap.py::test_scan_pcap_ng - AssertionError: {'elapsed... 83.14 ======= 2 failed, 125 passed, 1 skipped, 20 warnings in 82.29s (0:01:22) =======

failed to solve: process "/bin/sh -c echo '[+] Run build checks' && cd /strelka/strelka/ && python3 -m pytest -p no:cacheprovider -s tests/ && if $CONFIG_TESTS; then python3 -m pytest -s tests_configuration/; fi && echo '[+] Done'" did not complete successfully: exit code: 1`

Thanks.

phutelmyer commented 1 year ago

@derfel1989 Do you mind providing system information (e.g., Operating System / Architecture) for your build?

derfel1989 commented 1 year ago

Sorry @phutelmyer , I should have added this.

Hardware

phutelmyer commented 1 year ago

I'll take a look shortly @derfel1989, thank you. I will be testing with a VM of your same setup and get back to you with my results.

phutelmyer commented 1 year ago

I was unable to replicate this with the latest version of Docker / Compose and Ubuntu 22.04. This is with building the images locally rather than using the precompiled images on Dockerhub. I recommend deleting your current images and trying again on the latest commit, it may have been bad timing.

Alternatively, you can use the precompiled images so you do not need to build (Step 4a).

phutelmyer commented 1 year ago

Still unable to replicate. If additional users report this issue, I'll open it back up and try to use additional context to find the issue.