[petsc-dev] builds of PETSc based packages should not get their own secret files

Satish Balay balay at mcs.anl.gov
Tue Jan 5 08:28:27 CST 2021


Well we have to look at artifacts for configure.log. Why is this more of a burden for slepc or externalpackage logs?

Whatever you say for slepc log applies for configure.log. If its only CI issue - and you want all logs on  STDOUT - then you can modify .gitlab-ci.yml. Perhaps:


diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f3d139235..f9cdd38abd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -70,6 +70,7 @@ check-ci-settings:
   after_script:
     - date
     - ccache --show-stats
+    - more arch-*/lib/petsc/conf/*.log |cat
   artifacts:
     reports:
       junit: arch-*/tests/testresults.xml

Satish


On Mon, 4 Jan 2021, Barry Smith wrote:

> 
>   For packages that are built after PETSc configure (and or install is done) slepc, hpddm etc we've traditional saved the output  in its own file stashed away somewhere. 
> 
>   For the CI this is driving me nuts because when they fail the output is essentially "lost" and thus it is impossible to determine what has gone wrong. 
> 
>   I have started to directly output in the same stream as the PETSc compiles to make debugging much easier. Generally the packages are relatively small and don't have a huge amount of output when compiling correctly.  I did it for PETSc4py and SLEPc (slepc4py is a mystery yet how it get's hidden in slepc). 
> 
>   Are there any large downsides to this plan?
> 
>   Barry
> 
> 



More information about the petsc-dev mailing list