You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Sahlberg <da...@gmail.com> on 2025/02/21 11:10:05 UTC

Re: [GH] (subversion): Workflow run "autoconf" failed!

Hi,

There seems to be a failure with the davautocheck on ubuntu-22.04-arm:

[[[
At least one test FAILED, checking
/home/runner/work/subversion/subversion/tests.log
345
<https://github.com/apache/subversion/actions/runs/13452356465/job/37588955736#step:8:346>FAIL:
merge_reintegrate_tests.py 2: merge --reintegrate with renamed file on
branch
]]]

Is there a way to access tests.log to see some more information on the
failure?

Cheers,
Daniel


Den fre 21 feb. 2025 kl 09:03 skrev GitBox <gi...@apache.org>:

>
> The GitHub Actions job "autoconf" on subversion.git has failed.
> Run started by GitHub user asfgit (triggered by asfgit).
>
> Head commit for run:
> a74da7a4bb60f4b6f30483fb0516423906fee1df / Daniel Sahlberg <
> dsahlberg@apache.org>
> Replace tigris.org url with apache.org.
>
> * subversion/tests/README
>   Replace link to issue tracker
>
>
> git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1923953
> 13f79535-47bb-0310-9956-ffa450edef68
>
> Report URL: https://github.com/apache/subversion/actions/runs/13452356465
>
> With regards,
> GitHub Actions via GitBox
>
>

Re: [GH] (subversion): Workflow run "autoconf" failed!

Posted by Daniel Sahlberg <da...@gmail.com>.
Den fre 21 feb. 2025 kl 17:04 skrev Mark Phippard <ma...@gmail.com>:

> I noticed the matrix part as I clicked send.
>
> You probably name to be something like  ${{ matrix.check-target }}-logs
>

Thanks, just saw that r1923964 failed on duplicate name.

Renaming tests-${{matrix.os}}-${{matrix.check-target}}.log in r1923965.
check-target is 'check' or 'davautocheck', but we also have two different
os 'ubuntu-latest' and 'ubuntu-22.04-arm' so both are required for a unique
name.

Thanks,
Daniel

Re: [GH] (subversion): Workflow run "autoconf" failed!

Posted by Mark Phippard <ma...@gmail.com>.
On Fri, Feb 21, 2025 at 10:58 AM Mark Phippard <ma...@gmail.com> wrote:
>
> On Fri, Feb 21, 2025 at 10:56 AM Daniel Sahlberg
> <da...@gmail.com> wrote:
> >
> > Den fre 21 feb. 2025 kl 14:13 skrev Mark Phippard <ma...@gmail.com>:
> >>
> >> The workflow should be updated to upload all logs as build aritfacts.
> >> You can then download them when needed from GitHub:
> >>
> >> https://github.com/marketplace/actions/upload-a-build-artifact
> >>
> >> Since you need the logs even if build fails you need to make sure you
> >> set up that step of the workflow to always run. Something like this:
> >>
> >>
> >> - name: Archive Build Logs
> >>   if: always()
> >>   uses: actions/upload-artifact@v4
> >>   with:
> >>     name: build-logs
> >>     path: logs/
> >>
> >>
> >
> > Tried my best in r1923964. There is a high chance I've messed things up (artifact name must be unique, but documentation isn't clear if it is across the whole workflow or within the specific matrix cell; also not sure what the `cwd` is with regards to the name).
> >
> > If it fails, I'll follow up shortly.
>
> The cwd, is the root of the working copy.
>
> The name only has to be unique within the context of that running
> workflow. Imagine you were uploading the logs in one step, test
> results in another and a tar.gz of the binaries in another. Each of
> those needs to have a unique name which is largely for display in the
> UI
>
> IOW, a name like "logs" is likely fine.

I noticed the matrix part as I clicked send.

You probably name to be something like  ${{ matrix.check-target }}-logs

Mark

Re: [GH] (subversion): Workflow run "autoconf" failed!

Posted by Mark Phippard <ma...@gmail.com>.
On Fri, Feb 21, 2025 at 10:56 AM Daniel Sahlberg
<da...@gmail.com> wrote:
>
> Den fre 21 feb. 2025 kl 14:13 skrev Mark Phippard <ma...@gmail.com>:
>>
>> The workflow should be updated to upload all logs as build aritfacts.
>> You can then download them when needed from GitHub:
>>
>> https://github.com/marketplace/actions/upload-a-build-artifact
>>
>> Since you need the logs even if build fails you need to make sure you
>> set up that step of the workflow to always run. Something like this:
>>
>>
>> - name: Archive Build Logs
>>   if: always()
>>   uses: actions/upload-artifact@v4
>>   with:
>>     name: build-logs
>>     path: logs/
>>
>>
>
> Tried my best in r1923964. There is a high chance I've messed things up (artifact name must be unique, but documentation isn't clear if it is across the whole workflow or within the specific matrix cell; also not sure what the `cwd` is with regards to the name).
>
> If it fails, I'll follow up shortly.

The cwd, is the root of the working copy.

The name only has to be unique within the context of that running
workflow. Imagine you were uploading the logs in one step, test
results in another and a tar.gz of the binaries in another. Each of
those needs to have a unique name which is largely for display in the
UI

IOW, a name like "logs" is likely fine.

Mark

Re: [GH] (subversion): Workflow run "autoconf" failed!

Posted by Daniel Sahlberg <da...@gmail.com>.
Den fre 21 feb. 2025 kl 14:13 skrev Mark Phippard <ma...@gmail.com>:

> The workflow should be updated to upload all logs as build aritfacts.
> You can then download them when needed from GitHub:
>
> https://github.com/marketplace/actions/upload-a-build-artifact
>
> Since you need the logs even if build fails you need to make sure you
> set up that step of the workflow to always run. Something like this:
>
>
> - name: Archive Build Logs
>   if: always()
>   uses: actions/upload-artifact@v4
>   with:
>     name: build-logs
>     path: logs/
>
>
>
Tried my best in r1923964. There is a high chance I've messed things up
(artifact name must be unique, but documentation isn't clear if it is
across the whole workflow or within the specific matrix cell; also not sure
what the `cwd` is with regards to the name).

If it fails, I'll follow up shortly.

Thanks,
Daniel




>
>
>
> On Fri, Feb 21, 2025 at 6:11 AM Daniel Sahlberg
> <da...@gmail.com> wrote:
> >
> > Hi,
> >
> > There seems to be a failure with the davautocheck on ubuntu-22.04-arm:
> >
> > [[[
> > At least one test FAILED, checking
> /home/runner/work/subversion/subversion/tests.log
> > 345FAIL: merge_reintegrate_tests.py 2: merge --reintegrate with renamed
> file on branch
> > ]]]
> >
> > Is there a way to access tests.log to see some more information on the
> failure?
> >
> > Cheers,
> > Daniel
> >
> >
> > Den fre 21 feb. 2025 kl 09:03 skrev GitBox <gi...@apache.org>:
> >>
> >>
> >> The GitHub Actions job "autoconf" on subversion.git has failed.
> >> Run started by GitHub user asfgit (triggered by asfgit).
> >>
> >> Head commit for run:
> >> a74da7a4bb60f4b6f30483fb0516423906fee1df / Daniel Sahlberg <
> dsahlberg@apache.org>
> >> Replace tigris.org url with apache.org.
> >>
> >> * subversion/tests/README
> >>   Replace link to issue tracker
> >>
> >>
> >> git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1923953
> 13f79535-47bb-0310-9956-ffa450edef68
> >>
> >> Report URL:
> https://github.com/apache/subversion/actions/runs/13452356465
> >>
> >> With regards,
> >> GitHub Actions via GitBox
> >>
>

Re: [GH] (subversion): Workflow run "autoconf" failed!

Posted by Mark Phippard <ma...@gmail.com>.
The workflow should be updated to upload all logs as build aritfacts.
You can then download them when needed from GitHub:

https://github.com/marketplace/actions/upload-a-build-artifact

Since you need the logs even if build fails you need to make sure you
set up that step of the workflow to always run. Something like this:


- name: Archive Build Logs
  if: always()
  uses: actions/upload-artifact@v4
  with:
    name: build-logs
    path: logs/





On Fri, Feb 21, 2025 at 6:11 AM Daniel Sahlberg
<da...@gmail.com> wrote:
>
> Hi,
>
> There seems to be a failure with the davautocheck on ubuntu-22.04-arm:
>
> [[[
> At least one test FAILED, checking /home/runner/work/subversion/subversion/tests.log
> 345FAIL: merge_reintegrate_tests.py 2: merge --reintegrate with renamed file on branch
> ]]]
>
> Is there a way to access tests.log to see some more information on the failure?
>
> Cheers,
> Daniel
>
>
> Den fre 21 feb. 2025 kl 09:03 skrev GitBox <gi...@apache.org>:
>>
>>
>> The GitHub Actions job "autoconf" on subversion.git has failed.
>> Run started by GitHub user asfgit (triggered by asfgit).
>>
>> Head commit for run:
>> a74da7a4bb60f4b6f30483fb0516423906fee1df / Daniel Sahlberg <ds...@apache.org>
>> Replace tigris.org url with apache.org.
>>
>> * subversion/tests/README
>>   Replace link to issue tracker
>>
>>
>> git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1923953 13f79535-47bb-0310-9956-ffa450edef68
>>
>> Report URL: https://github.com/apache/subversion/actions/runs/13452356465
>>
>> With regards,
>> GitHub Actions via GitBox
>>