Skip to content

After running op-test, it shows "Requests post problem, check that your credentials are properly setup " #896

@vpuliyal

Description

@vpuliyal

With my older version of op-test, I was able to install the latest upstream kernel. However, with the latest op-test, I’m unable to install it and I’m seeing the below error.

_# ./op-test --run testcases.InstallUpstreamKernel.InstallUpstreamKernel --git-repo=https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ --git-branch=v6.16-rc7 --git-repoconfigpath=/home/jenkins/userContent/korg/p10-ci-upstream_config/config-5.14.0-427.13.1.el9_4.ppc64le -c ./machine_kernelinstall.conf
Logs in: /var/lib/jenkins/workspace/LTC/op-test/test-reports/test-run-20250724032502
2025-07-24 03:25:02,228:op-test:setUpLoggerFile:INFO:Preparing to set location of Log File to /var/lib/jenkins/workspace/LTC/op-test/test-reports/test-run-20250724032502/20250724082502228183.main.log
2025-07-24 03:25:02,228:op-test:setUpLoggerFile:INFO:Log file: /var/lib/jenkins/workspace/LTC/op-test/test-reports/test-run-20250724032502/20250724082502228183.main.log
2025-07-24 03:25:02,228:op-test:setUpLoggerDebugFile:INFO:Preparing to set location of Debug Log File to /var/lib/jenkins/workspace/LTC/op-test/test-reports/test-run-20250724032502/20250724082502228571.debug.log
2025-07-24 03:25:02,228:op-test:setUpLoggerDebugFile:INFO:Debug Log file: /var/lib/jenkins/workspace/LTC/op-test/test-reports/test-run-20250724032502/20250724082502228571.debug.log
2025-07-24 03:25:02,229:op-test:do_testing_setup:INFO:TestCase Log files: /var/lib/jenkins/workspace/LTC/op-test/test-reports/test-run-20250724032502/*
2025-07-24 03:25:02,229:op-test:do_testing_setup:INFO:StreamHandler setup normal
fatal: detected dubious ownership in repository at '/var/lib/jenkins/workspace/LTC/op-test'
To add an exception for this directory, call:

    git config --global --add safe.directory /var/lib/jenkins/workspace/LTC/op-test

Traceback (most recent call last):
File "/var/lib/jenkins/workspace/LTC/op-test/common/OpTestUtil.py", line 2186, in login
.format(r.status_code, json_data['status'],
KeyError: 'status'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/jenkins/workspace/LTC/op-test/OpTestConfiguration.py", line 923, in objs
rest_api = EBMCHostManagement(conf=self,
File "/var/lib/jenkins/workspace/LTC/op-test/common/OpTestEBMC.py", line 55, in init
r = self.conf.util_bmc_server.login()
File "/var/lib/jenkins/workspace/LTC/op-test/common/OpTestUtil.py", line 2206, in login
raise HTTPCheck(message="Requests post problem, check that your "
common.Exceptions.HTTPCheck: Something happened with the HTTP Server. Review the following for more details
Message="Requests post problem, check that your credentials are properly setup URL=https://10.48.24.36/login username=service password=********, Exception='status'"
2025-07-24 03:25:08,824:op-test.common.OpTestUtil:cleanup:INFO:OpTestSystem Starting to Gather ESEL's
2025-07-24 03:25:08,824:op-test.common.OpTestUtil:dump_versions:INFO:Log Location: /var/lib/jenkins/workspace/LTC/op-test/test-reports/test-run-20250724032502/debug
2025-07-24 03:25:08,825:op-test.common.OpTestUtil:dump_versions:INFO:

OpTestSystem Firmware Versions Tested
(if flashed things like skiboot.lid, may not be accurate)

None


Traceback (most recent call last):
File "/var/lib/jenkins/workspace/LTC/op-test/common/OpTestUtil.py", line 2186, in login
.format(r.status_code, json_data['status'],
KeyError: 'status'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/jenkins/workspace/LTC/op-test/./op-test", line 187, in
OpTestConfiguration.conf.objs()
File "/var/lib/jenkins/workspace/LTC/op-test/OpTestConfiguration.py", line 1003, in objs
raise e
File "/var/lib/jenkins/workspace/LTC/op-test/OpTestConfiguration.py", line 923, in objs
rest_api = EBMCHostManagement(conf=self,
File "/var/lib/jenkins/workspace/LTC/op-test/common/OpTestEBMC.py", line 55, in init
r = self.conf.util_bmc_server.login()
File "/var/lib/jenkins/workspace/LTC/op-test/common/OpTestUtil.py", line 2206, in login
raise HTTPCheck(message="Requests post problem, check that your "
common.Exceptions.HTTPCheck: Something happened with the HTTP Server. Review the following for more details
Message="Requests post problem, check that your credentials are properly setup URL=https://10.48.24.36/login username=service password=********, Exception='status'"_

Manually I am able to access the BMC using the credentials mentioned above. However, I’m not sure why I’m seeing the above error while running optest. Could you please check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions