Project

General

Profile

Actions

action #107986

closed

[qa-tools] openqa-clone-custom-git-refspec cannot set CASEDIR correctly

Added by zluo about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I have now issue with CASEDIR for my PR as following:

zluo@zluo-workstation:~/openqa> openqa-clone-custom-git-refspec -n -c '--show-progress' https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14438 https://openqa.suse.de/tests/8207981 _POST_FAIL_HOOKS=1
Github API rate limit might have been exceeded. If this is the case, generate one at
https://github.com/settings/tokens and then export it as an environment variable
export GITHUB_TOKEN=foobar
Github reply: API rate limit exceeded for 195.135.221.27. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

Then I tried this:

openqa-clone-custom-git-refspec http://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14438 https://openqa.suse.de/tests/8207981 _POST_FAIL_HOOKS=1

The Job got created but died at once: https://openqa.suse.de/tests/8287619

Unable to clone Git repository 'https://github.com//os-autoinst-distri-opensuse.git#' specified via CASEDIR (see log for details) at /usr/lib/os-autoinst/OpenQA/Isotovideo/Utils.pm line 56.

After I added manually https://github.com/Zaoliang/os-autoinst-distri-opensuse.git#nginx-2022, it works then.

Actions #1

Updated by zluo about 2 years ago

  • Project changed from openQA Tests to openQA Project
  • Category deleted (Bugs in existing tests)

@okurz please take a look at this issue, thanks!

Actions #2

Updated by okurz about 2 years ago

  • Category set to Support
  • Status changed from New to Resolved
  • Target version set to Ready

Please see the error message which I consider rather clear: "Github API rate limit might have been exceeded". That has to be done by you with your personal GitHub account

Actions #3

Updated by zluo about 2 years ago

thanks for your help!

Actions

Also available in: Atom PDF