[petsc-dev] Failure of mergecov

Barry Smith bsmith at petsc.dev
Sat Oct 10 13:09:32 CDT 2020



  Satish fixed this.

> On Oct 10, 2020, at 12:37 PM, Matthew Knepley <knepley at gmail.com> wrote:
> 
> I know get a different error:
> 
> $ make mergegcov
> ssh: Could not resolve hostname +master: Name or service not known
> fatal: Could not read from remote repository.
> Please make sure you have the correct access rights
> and the repository exists.
> Usage: gcov.py [options] 
> gcov.py: error: --merge_branch option requires 1 argument
> make[1]: *** [mergegcov] Error 2
> makefile:518: recipe for target 'mergegcov' failed
> GNUmakefile:17: recipe for target 'mergegcov' failed
> make: *** [mergegcov] Error 2
> Running after_script
> 00:01
> The system default contains no modules
>   (env var: LMOD_SYSTEM_DEFAULT_MODULES is empty)
>   No changes in loaded modules
> Uploading artifacts for failed job
> 00:06
> The system default contains no modules
>   (env var: LMOD_SYSTEM_DEFAULT_MODULES is empty)
>   No changes in loaded modules
> 
>   Thanks,
> 
>      Matt
> 
> On Thu, Oct 8, 2020 at 10:04 PM Satish Balay via petsc-dev <petsc-dev at mcs.anl.gov <mailto:petsc-dev at mcs.anl.gov>> wrote:
> MR at: https://gitlab.com/petsc/petsc/-/merge_requests/3327 <https://gitlab.com/petsc/petsc/-/merge_requests/3327>
> 
> Satish
> 
> On Thu, 8 Oct 2020, Barry Smith wrote:
> 
> > 
> >   Yes, I think Satish's fix is correct.
> > 
> >   Barry
> > 
> > 
> > > On Oct 8, 2020, at 4:54 PM, Satish Balay <balay at mcs.anl.gov <mailto:balay at mcs.anl.gov>> wrote:
> > > 
> > >> fatal: ambiguous argument 'origin/master...': unknown revision or path not in the working tree.
> > > 
> > > Likely a bug in this check [which I think is expected to create origin/master in the clone] ..
> > > 
> > > Satish
> > > 
> > > diff --git a/lib/petsc/bin/maint/check-merge-branch.sh b/lib/petsc/bin/maint/check-merge-branch.sh
> > > index f590b9c646..3ba477c4af 100755
> > > --- a/lib/petsc/bin/maint/check-merge-branch.sh
> > > +++ b/lib/petsc/bin/maint/check-merge-branch.sh
> > > @@ -1,6 +1,7 @@
> > > #!/bin/bash -e
> > > 
> > > if [ ! -z ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME+x} ]; then
> > > +  git fetch -q --unshallow --no-tags +${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}:remotes/origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
> > >   echo origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
> > >   exit 0
> > > fi
> > > 
> > > On Thu, 8 Oct 2020, Barry Smith wrote:
> > > 
> > >> 
> > >> git diff --name-only origin/master...' returned non-zero exit status 128.
> > >> 
> > >> 
> > >>  I did a retry, let's see if that works.
> > >> 
> > >>  I can protect this with a try so it won't crash CI and waste people's time. 
> > >> 
> > >>  I'll look at the log more closely later and see if I guess the cause.
> > >> 
> > >>  Barry
> > >> 
> > >> 
> > >>> On Oct 8, 2020, at 3:03 PM, Matthew Knepley <knepley at gmail.com <mailto:knepley at gmail.com>> wrote:
> > >>> 
> > >>> Barry, I got this
> > >>> 
> > >>>  https://gitlab.com/petsc/petsc/-/jobs/780244679 <https://gitlab.com/petsc/petsc/-/jobs/780244679> <https://gitlab.com/petsc/petsc/-/jobs/780244679 <https://gitlab.com/petsc/petsc/-/jobs/780244679>>
> > >>> 
> > >>> in this pipeline analysis
> > >>> 
> > >>>  https://gitlab.com/petsc/petsc/-/pipelines/199842334 <https://gitlab.com/petsc/petsc/-/pipelines/199842334> <https://gitlab.com/petsc/petsc/-/pipelines/199842334 <https://gitlab.com/petsc/petsc/-/pipelines/199842334>>
> > >>> 
> > >>> I did not use the CI issue because this is about code.
> > >>> 
> > >>>  Thanks,
> > >>> 
> > >>>     Matt
> > >>> 
> > >>> -- 
> > >>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> > >>> -- Norbert Wiener
> > >>> 
> > >>> https://www.cse.buffalo.edu/~knepley/ <https://www.cse.buffalo.edu/~knepley/> <http://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>>
> > >> 
> > >> 
> > > 
> > 
> 
> 
> 
> -- 
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
> 
> https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201010/ac94b108/attachment.html>


More information about the petsc-dev mailing list