Skip to content

Benchmark Crash with some inputs #34

@thlmenezes

Description

@thlmenezes

Is possible there's more crash inducing inputs, recommend testing with large sample

Command:

python3 main.py -tools monkey -t 60 -r 1

Inputs:
9, 10, 47 e 69

Exception:

File "main.py", line 114, in <module>
    DroidFax.run(tools, args)
  File "/opt/benchmark/benchmark/droidfax.py", line 41, in run
    cls.phase_two_execution(time, tool_set, tools, repetition+1)
  File "/opt/benchmark/benchmark/droidfax.py", line 184, in phase_two_execution
    tool_set[tool].execute(trace_dir_repetition, file, timeout)
  File "/opt/benchmark/tools/tool_spec.py", line 42, in execute
    self.execute_tool_specific_logic(trace_dir_repetition, file_name, timeout)
  File "/opt/benchmark/tools/monkey/tool.py", line 19, in execute_tool_specific_logic
    package_name = self._get_package_name(os.path.join(INSTRUMENTED_DIR, file_name))
  File "/opt/benchmark/tools/monkey/tool.py", line 42, in _get_package_name
    get_package_list_result_str = get_package_list_result.stdout.strip().decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 5639: ordinal not in range(128)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions