OST failure, bad comment

Description

OST failed, and posted unprocessed comment:

OST Verified -1
Patch Set 1: Verified-1
https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313 :
OST https://redir.apps.ovirt.org/dj/job/ds-ost-baremetal_manual/$OST_NUMBER
failed with: $OST_MESSAGE

https://gerrit.ovirt.org/c/vdsm/+/115642#message-b2993761_adbc1b6a

Looking at:
https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313

It looks like environment issue:

ERROR: Build step failed with exception

java.lang.NullPointerException: no workspace from node
hudson.slaves.DumbSlave[hpe-bl280g6-12...] which is computer
hudson.slaves.SlaveComputer@2e2cb321 and has channel null

So we have 2 issues:
1. If build fails, error is not handled properly producing bad comment
2. the actual build failure

The first issue should be handled by posting a better comment:

OST build error:
https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313

And OST should not mark the patch as verified -1, since it did not run any test.

Marking a patch as -1 means some tests have failed, and the author
needs to check
why. A build error means OST or CI maintainers need to check why the
error happened.

Activity

Show:

Michal Skrivanek July 12, 2021 at 9:35 AM

> On 10. 7. 2021, at 0:14, Nir Soffer <nsoffer@redhat.com> wrote:
>
> On Sat, Jul 10, 2021 at 12:59 AM Nir Soffer <nsoffer@redhat.com> wrote:
>>
>> OST failed, and posted unprocessed comment:
>>
>> OST Verified -1
>> Patch Set 1: Verified-1
>> https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313 :
>> OST https://redir.apps.ovirt.org/dj/job/ds-ost-baremetal_manual/$OST_NUMBER
>> failed with: $OST_MESSAGE
>>
>> https://gerrit.ovirt.org/c/vdsm/+/115642#message-b2993761_adbc1b6a
>>
>> Looking at:
>> https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313
>>
>> It looks like environment issue:
>>
>> ERROR: Build step failed with exception
>>
>> java.lang.NullPointerException: no workspace from node
>> hudson.slaves.DumbSlave[hpe-bl280g6-12...] which is computer
>> hudson.slaves.SlaveComputer@2e2cb321 and has channel null
>>
>> So we have 2 issues:
>> 1. If build fails, error is not handled properly producing bad comment
>> 2. the actual build failure
>
> I started another build manually (8543) and it started normally, so this was
> probably a temporary issue.

Seems someone rebooted the jenkins host in the middle of the run

>
>>
>> The first issue should be handled by posting a better comment:
>>
>> OST build error:
>> https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313
>>
>> And OST should not mark the patch as verified -1, since it did not run any test.

It’s a shell script that runs after the job that fails on missing workspace, it would be possible to set unstable status on a failure of that script, but It doesn’t seem to be possible to handle internal jenkins exception

>>
>> Marking a patch as -1 means some tests have failed, and the author
>> needs to check
>> why. A build error means OST or CI maintainers need to check why the
>> error happened.
> _______________________________________________
> Devel mailing list – devel@ovirt.org
> To unsubscribe send an email to devel-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/H4Q2MT7R7DXKWHRZK7RGPSOLRYZMVZOP/

Nir Soffer July 9, 2021 at 10:15 PM

On Sat, Jul 10, 2021 at 12:59 AM Nir Soffer <nsoffer@redhat.com> wrote:
>
> OST failed, and posted unprocessed comment:
>
> OST Verified -1
> Patch Set 1: Verified-1
> https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313 :
> OST https://redir.apps.ovirt.org/dj/job/ds-ost-baremetal_manual/$OST_NUMBER
> failed with: $OST_MESSAGE
>
> https://gerrit.ovirt.org/c/vdsm/+/115642#message-b2993761_adbc1b6a
>
> Looking at:
> https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313
>
> It looks like environment issue:
>
> ERROR: Build step failed with exception
>
> java.lang.NullPointerException: no workspace from node
> hudson.slaves.DumbSlave[hpe-bl280g6-12...] which is computer
> hudson.slaves.SlaveComputer@2e2cb321 and has channel null
>
> So we have 2 issues:
> 1. If build fails, error is not handled properly producing bad comment
> 2. the actual build failure

I started another build manually (8543) and it started normally, so this was
probably a temporary issue.

>
> The first issue should be handled by posting a better comment:
>
> OST build error:
> https://redir.apps.ovirt.org/dj/job/ds-ost-gating-trigger2/313
>
> And OST should not mark the patch as verified -1, since it did not run any test.
>
> Marking a patch as -1 means some tests have failed, and the author
> needs to check
> why. A build error means OST or CI maintainers need to check why the
> error happened.

Details

Assignee

Reporter

Priority

Created July 9, 2021 at 10:00 PM
Updated July 12, 2021 at 9:35 AM