Bug #2754

Bad Error Messages

Added by L. RĂ¼gemer 10 months ago. Updated 10 months ago.

Status:FeedbackStart date:06/13/2018
Priority:NormalDue date:
Assignee:J. Moringen% Done:

0%

Category:Project Analysis
Target version:0.23

Description

Bad error messages if repository fetches fail:

on-error=abort Prints and aborts:

WARNING: lparallel: Replacing lost or dead worker.
WARNING: lparallel: Replacing lost or dead worker.
; compilation unit aborted
;   caught 1 fatal ERROR condition

continue:

WARNING:
   Could not update repository in directory
   /vol/cache/http%3A%2F%2Fprojects.cit-ec.uni-bielefeld.de%2Fgit%2Frobocupathome.openpose_models.git/:
   Command

   failed with exit code 1 and output:

   fatal: Authentication failed for 'https://projects.cit-ec.uni-bielefeld.de/git/robocupathome.openpose_models.git/'
error: Could not fetch origin

History

#1 Updated by J. Moringen 10 months ago

  • Category set to Project Analysis
  • Status changed from New to Feedback
  • Assignee set to J. Moringen
  • Target version set to 0.23

I agree that the --on-error abort case is unhelpful.

The --on-error continue case actually produces:

WARNING:
   Could not update repository in directory
   /home/jmoringe/data/build-generator/cache/http%3A%2F%2Fprojects.cit-ec.uni-bielefeld.de%2Fgit%2Frobocupathome.openpose_models.git/:
   Command

     git fetch --quiet --all

   failed with exit code 1 and output:

   fatal: Authentication failed for 'https://projects.cit-ec.uni-bielefeld.de/git/robocupathome.openpose_models.git/'
error: Could not fetch origin
.
[...]
38 problems during ANALYZE phase:

  ANALYSIS-ERROR:
    Error during analysis of
    http://projects.cit-ec.uni-bielefeld.de/git/robocupathome.openpose_models.git
    Caused by:
    > Command
    >
    >   git ls-remote http://projects.cit-ec.uni-bielefeld.de/git/robocupathome.openpose_models.git master "master^{}" 
    >
    > failed with exit code 128 and output:
    >
    > fatal: Authentication failed for 'https://projects.cit-ec.uni-bielefeld.de/git/robocupathome.openpose_models.git/'
    >

I.e. first a warning if the cache is enabled, then an error when trying to redo the analysis from scratch. What should it say instead?

#2 Updated by L. RĂ¼gemer 10 months ago

I guess the error on redo is the most helpful

Maybe something like could not fetch remote repository<repo> or just the output
Authentication failed for 'https://projects.cit-ec.uni-bielefeld.de/git/robocupathome.openpose_models.git/'

Also available in: Atom PDF