Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build result outdated as non-dirty in webui while dirty in api #10052

Open
JanZerebecki opened this issue Aug 24, 2020 · 2 comments
Open

build result outdated as non-dirty in webui while dirty in api #10052

JanZerebecki opened this issue Aug 24, 2020 · 2 comments
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@JanZerebecki
Copy link
Member

JanZerebecki commented Aug 24, 2020

Issue Description

There are various situations where the build results in the webui don't correctly show state while the api shows it as dirty. Here is one that was easier to capture. I think the webui sometimes correctly shows a dirty state, so this is not simply showing fewer information.

I have seen tickets talking about the webui build results being outdated because of caches, maybe this is a similar case.

Expected Result

The truck icon should have a different color and title text.

How to Reproduce

  1. https://build.opensuse.org/package/show/Cloud:OpenStack:Pike/python-pytest-cov was via meta disabled on openSUSE_Leap_42.3
  2. enabled it by deleting the meta build section
  3. osc rebuild Cloud:OpenStack:Pike/python-pytest-cov openSUSE_Leap_42.3 x86_64
  4. in general the above is not the only way to trigger this, I have seen it in different situations that create a dirty state where obs has not yet further acted on it
  5. copy output of osc results --xml Cloud:OpenStack:Pike/python-pytest-cov
  6. go to and force refresh on https://build.opensuse.org/package/show/Cloud:OpenStack:Pike/python-pytest-cov click show disabled, take screenshot
> osc results --xml Cloud:OpenStack:Pike/python-pytest-cov
<resultlist state="82282805c694ef201966142b5d190aff">
  <result project="Cloud:OpenStack:Pike" repository="openSUSE_Leap_42.3" arch="x86_64" code="published" state="published" dirty="true">
    <status package="python-pytest-cov" code="disabled"/>
  </result>
  <result project="Cloud:OpenStack:Pike" repository="SLE_12_SP3" arch="aarch64" code="published" state="published">
    <status package="python-pytest-cov" code="succeeded"/>
  </result>
  <result project="Cloud:OpenStack:Pike" repository="SLE_12_SP3" arch="x86_64" code="published" state="published">
    <status package="python-pytest-cov" code="succeeded"/>
  </result>
  <result project="Cloud:OpenStack:Pike" repository="SLE_12_SP3" arch="s390x" code="published" state="published">
    <status package="python-pytest-cov" code="succeeded"/>
  </result>
</resultlist>

Screenshot from 2020-08-24 15-33-53

@hennevogel
Copy link
Member

click show disabled, take screenshot

You mean Hide excluded/disabled results? This doesn't reload results, it just shows/hides HTML in your browser. You need to click the Refresh button...

@JanZerebecki
Copy link
Member Author

JanZerebecki commented Aug 24, 2020

I did refresh, both in browser and via the webui button. I clicked show disabled just so that row is shown.

Same issue on https://build.opensuse.org/package/show/Cloud:OpenStack:Pike/python-dogpile.cache after just a osc rebuild for SLE_12_SP3 x86_64. https://build.opensuse.org/project/show/Cloud:OpenStack:Pike shows a greyed out truck which might be the expected result, instead of the green one, perhaps this issue exists only on a package level.

@hennevogel hennevogel reopened this Aug 25, 2020
@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app labels Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

2 participants