cloud-bulldozer / benchmark-wrapper

Python Library to run benchmarks
https://benchmark-wrapper.readthedocs.io
Apache License 2.0
19 stars 56 forks source link

add directory on container because it cannot be created on runtime #345

Closed morenod closed 3 years ago

morenod commented 3 years ago

During the execution of benchmark-operator, ocm configuration folder cannot be created:

$ oc logs -f scale-1f0841af-zq2x4
2021-09-10T10:09:01Z - INFO     - MainProcess - run_snafu: logging level is DEBUG
2021-09-10T10:09:01Z - INFO     - MainProcess - _load_benchmarks: Successfully imported 1 benchmark modules: uperf
2021-09-10T10:09:01Z - INFO     - MainProcess - _load_benchmarks: Failed to import 0 benchmark modules: 
2021-09-10T10:09:01Z - INFO     - MainProcess - run_snafu: Using elasticsearch server with host: ES_SERVER
2021-09-10T10:09:01Z - INFO     - MainProcess - run_snafu: Using index prefix for ES: openshift-cluster-timings
2021-09-10T10:09:01Z - INFO     - MainProcess - run_snafu: Connected to the elasticsearch cluster with info as follows:
2021-09-10T10:09:01Z - WARNING  - MainProcess - run_snafu: Elasticsearch connection caused an exception: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f3d08b9bb70>: Failed to establish a new connection: [Errno -2] Name or service not known) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f3d08b9bb70>: Failed to establish a new connection: [Errno -2] Name or service not known)
2021-09-10T10:09:01Z - INFO     - MainProcess - run_snafu: Not connected to Elasticsearch
2021-09-10T10:09:01Z - INFO     - MainProcess - wrapper_factory: identified scale as the benchmark wrapper
2021-09-10T10:09:01Z - INFO     - MainProcess - trigger_scale: Identified ROSA for scaling process
2021-09-10T10:09:01Z - INFO     - MainProcess - trigger_scale: Checking ROSA version
2021-09-10T10:09:01Z - DEBUG    - MainProcess - trigger_scale: ['/usr/bin/rosa', 'version']
2021-09-10T10:09:01Z - DEBUG    - MainProcess - trigger_scale: 1.1.2
2021-09-10T10:09:01Z - INFO     - MainProcess - trigger_scale: Detected ROSA version 1.1.2
2021-09-10T10:09:01Z - INFO     - MainProcess - trigger_scale: Attempting to log in ROSA
2021-09-10T10:09:01Z - DEBUG    - MainProcess - trigger_scale: ['/usr/bin/rosa', 'login', '--token=xxxx', '--env=staging']
2021-09-10T10:09:01Z - ERROR    - MainProcess - trigger_scale: Unable to execute ['/usr/bin/rosa', 'login', '--token=xxxx', '--env=staging']
2021-09-10T10:09:01Z - ERROR    - MainProcess - trigger_scale: E: Failed to save config file: Failed to create directory /.config/ocm: mkdir /.config: permission denied
codecov-commenter commented 3 years ago

Codecov Report

Merging #345 (7b93101) into master (3105126) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #345   +/-   ##
=======================================
  Coverage   39.40%   39.40%           
=======================================
  Files          15       15           
  Lines         868      868           
=======================================
  Hits          342      342           
  Misses        526      526           
Flag Coverage Δ
gha 39.40% <ø> (ø)
python-3.6 39.40% <ø> (ø)
unit 39.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3105126...7b93101. Read the comment docs.

rsevilla87 commented 3 years ago

/rerun all

comet-perf-ci commented 3 years ago

Results for SNAFU CI Test

Test Result Runtime
snafu/scale_openshift_wrapper PASS 00:10:15