Closed Jeremy-boo closed 2 years ago
Traceback (most recent call last): File "/drone/tests/apitests/python/library/base.py", line 151, in run_command output = subprocess.check_output(command, File "/usr/lib/python3.9/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['helm2', 'push', '--username=robot$project-1636995703613+robot-1636995703716', '--password=WNP3yksHf1YjKu4n3G7fvzMmd5hsljpZ', 'harbor-0.2.0.tgz', 'chart_local']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/drone/./tests/apitests/python/test_push_chart_by_helm2_helm3_with_robot_Account.py", line 65, in testPushChartToChartRepoByHelm2WithRobotAccount library.helm.helm2_push(self.chart_repo_name, self.chart_file, TestProjects.project_name, robot_account.name, robot_account.secret) File "/drone/tests/apitests/python/library/helm.py", line 43, in helm2_push base.run_command(command) File "/drone/tests/apitests/python/library/base.py", line 161, in run_command raise Exception('Error: Exited with error code: %s. Output:%s'% (e.returncode, e.output)) Exception: Error: Exited with error code: 1. Output:Error: unknown command "push" for "helm" Run 'helm --help' for usage.
helm2 case的版本 2.16.12
ERROR: testPushChartToChartRepoByHelm2WithRobotAccount (main.TestProjects) Test case:
Traceback (most recent call last): File "/drone/tests/apitests/python/library/base.py", line 151, in run_command output = subprocess.check_output(command, File "/usr/lib/python3.9/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['helm2', 'push', '--username=robot$project-1636995703613+robot-1636995703716', '--password=WNP3yksHf1YjKu4n3G7fvzMmd5hsljpZ', 'harbor-0.2.0.tgz', 'chart_local']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/drone/./tests/apitests/python/test_push_chart_by_helm2_helm3_with_robot_Account.py", line 65, in testPushChartToChartRepoByHelm2WithRobotAccount library.helm.helm2_push(self.chart_repo_name, self.chart_file, TestProjects.project_name, robot_account.name, robot_account.secret) File "/drone/tests/apitests/python/library/helm.py", line 43, in helm2_push base.run_command(command) File "/drone/tests/apitests/python/library/base.py", line 161, in run_command raise Exception('Error: Exited with error code: %s. Output:%s'% (e.returncode, e.output)) Exception: Error: Exited with error code: 1. Output:Error: unknown command "push" for "helm" Run 'helm --help' for usage.
helm2 case的版本 2.16.12