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

Ensembler Crash in Docker #348

Closed
Travmatth opened this issue Mar 17, 2020 · 2 comments
Closed

Ensembler Crash in Docker #348

Travmatth opened this issue Mar 17, 2020 · 2 comments

Comments

@Travmatth
Copy link

Expected behavior

Executing deepstate-ensembler should start fuzzers

$ mkdir ensembler_seeds
$ printf "\xab\xcd" >> ensembler_seeds/initial
$ deepstate-ensembler -i ensembler_seeds/ --test examples/IntegerOverflow.cpp

Actual behavior

deepstate-ensembler crashes, complaining of a missing variable:

user@bb2e0f74dd7a:~/deepstate$ deepstate-ensembler -i ensembler_seeds/--test examples/IntegerOverflow.cpp
INFO:deepstate:Setting log level from DEEPSTATE_LOG: 2
Traceback (most recent call last):
  File "/usr/local/bin/deepstate-ensembler", line 11, in <module>
    load_entry_point('deepstate==0.1', 'console_scripts', 'deepstate-ensembler')()
  File "/usr/local/lib/python3.6/dist-packages/deepstate-0.1-py3.6.egg/deepstate/executors/auxiliary/ensembler.py", line 368, in main
    ensembler = Ensembler()
TypeError: __init__() missing 1 required positional argument: 'envvar'

Information about the Issue

Seems to be related to #263, attempted to imitate be65470 by creating an ENSEMBLER_HOME=/usr/local/bin variable and adding it to $PATH, but no change in the crashing status was observed.

Steps to reproduce the behavior

  1. Download, build, launch deepstate docker container
  2. Run:
$ mkdir ensembler_seeds
$ printf "\xab\xcd" >> ensembler_seeds/initial
$ deepstate-ensembler -i ensembler_seeds/ --test examples/IntegerOverflow.cpp
@GrosQuildu
Copy link
Contributor

Well, after my PRs the ensembler is broken and need fixes. See #331 . First step for the fix would be to implement fuzzers synchronization and tests for that. Then the ensembler that spawns and maintain the fuzzers.

@agroce
Copy link
Collaborator

agroce commented Apr 23, 2021

Closing since this is captured in #377 which is more up to date

@agroce agroce closed this as completed Apr 23, 2021
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

3 participants