Project

General

Profile

Actions

action #67834

closed

the os-autoinst OBS package is auto-submitted to Factory despite build failure

Added by okurz almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
-
Start date:
2020-06-08
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://build.opensuse.org/package/show/devel:openQA/os-autoinst fails to build for openSUSE_Factory but still we auto-submit it in http://jenkins.qa.suse.de/view/openQA-in-openQA/ . This should be changed to only submit if build status is "succeeded". We trigger submissions based on new packages appear in the download repo. Maybe the problem right now is that actually that the trigger from the github project to OBS does not seem to work anymore. https://github.com/os-autoinst/os-autoinst/settings/hooks/58885633 shows that the request is fine and the response is ok as well:

 Headers

Cache-Control: max-age=0, private, must-revalidate
Content-Length: 53
Content-Type: application/xml; charset=utf-8
Date: Mon, 08 Jun 2020 18:05:34 GMT
Referrer-Policy: strict-origin-when-cross-origin
Server: Apache/2.4.33 (Linux/SUSE)
Status: 200 OK
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Opensuse-Apiversion: 2.11~alpha.20200605T182939.ee11fc4ea5
X-Permitted-Cross-Domain-Policies: none
X-Powered-By: Phusion Passenger 6.0.4
X-Request-Id: 1731146d-7f1f-471a-aff8-78fabff4e5bd
X-Runtime: 0.212278
X-Xss-Protection: 1; mode=block

Body

<status code="ok">
  <summary>Ok</summary>
</status>

In openQA we have actually four (!) webhooks for OBS configured: https://github.com/os-autoinst/openQA/settings/hooks


Related issues 1 (0 open1 closed)

Related to openQA Project - action #77320: why does this show leap 15.1? https://build.opensuse.org/package/view_file/devel:openQA/os-autoinst_dev/_service:download_url:Dockerfile?expand=1uResolvedokurz2020-11-10

Actions
Actions #1

Updated by okurz almost 4 years ago

  • Status changed from In Progress to Feedback

I created a new OBS token id 4100 replacing previous token id 4019. After a new commit to os-autoinst master branch we should see the effect. As a simple, trivial PR I created https://github.com/os-autoinst/os-autoinst/pull/1433 which I plan to merge after checks are passed.

Actions #2

Updated by okurz almost 4 years ago

  • Status changed from Feedback to Resolved

I merged the PR and https://build.opensuse.org/package/show/devel:openQA/os-autoinst was triggered with a new build. https://build.opensuse.org/package/revisions/devel:openQA/os-autoinst shows that multiple subsequent triggers have been received so we are good.

Actions #3

Updated by okurz over 3 years ago

  • Related to action #77320: why does this show leap 15.1? https://build.opensuse.org/package/view_file/devel:openQA/os-autoinst_dev/_service:download_url:Dockerfile?expand=1u added
Actions

Also available in: Atom PDF