name: py3
run_id: install_deps
env HOME: /home/jenkins
env LANG: C.UTF-8
env PATH: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/bin:/opt/pyenv/bin:/tmp/venv-s3g2/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin
env PIP_DISABLE_PIP_VERSION_CHECK: 1
env PIP_USER: 0
env PYTHONHASHSEED: 3838268167
env PYTHONIOENCODING: utf-8
env PYTHONPATH: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/src:/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/tests
env TOX_ENV_DIR: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3
env TOX_ENV_NAME: py3
env TOX_WORK_DIR: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox
env VIRTUAL_ENV: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3
env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true
metadata pid: 2887
cwd: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms
allow: /w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/bin/*
cmd: python -I -m pip install coverage pytest pytest-cov requests-mock responses scikit-learn -r requirements.txt
exit_code: 1
Collecting coverage
  Downloading coverage-7.14.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (8.6 kB)
Collecting pytest
  Downloading pytest-9.1.0-py3-none-any.whl.metadata (7.6 kB)
Collecting pytest-cov
  Downloading pytest_cov-7.1.0-py3-none-any.whl.metadata (32 kB)
Collecting requests-mock
  Downloading requests_mock-1.12.1-py2.py3-none-any.whl.metadata (4.1 kB)
Collecting responses
  Downloading responses-0.26.1-py3-none-any.whl.metadata (48 kB)
Collecting scikit-learn
  Downloading scikit_learn-1.7.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (11 kB)
Collecting flask==1.1.2 (from -r requirements.txt (line 10))
  Downloading Flask-1.1.2-py2.py3-none-any.whl.metadata (4.6 kB)
Collecting requests==2.24.0 (from -r requirements.txt (line 11))
  Downloading requests-2.24.0-py2.py3-none-any.whl.metadata (6.9 kB)
Collecting responses
  Downloading responses-0.16.0-py2.py3-none-any.whl.metadata (25 kB)
Collecting pandas==1.1.5 (from -r requirements.txt (line 13))
  Downloading pandas-1.1.5.tar.gz (5.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/5.2 MB 61.7 MB/s  0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'

standard error:
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
        File "/w/workspace/dcaegen2-services-ml-prediction-ms-tox-sonar/components/ml-prediction-ms/.tox/py3/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-rj6xxvhz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-rj6xxvhz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-rj6xxvhz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 520, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-rj6xxvhz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 19, in <module>
      ModuleNotFoundError: No module named 'pkg_resources'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pandas' when getting requirements to build wheel
