Project

General

Profile

Actions

Bug #2265

closed

During an import of a rudder configuration-repository copy (from another root server), if you try to tag the archive without an annotation, JGit fails

Added by Matthieu CERDA about 12 years ago. Updated about 12 years ago.

Status:
Released
Priority:
1
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

During an import of a rudder configuration-repository copy (from another root server), if you try to tag the archive without an annotation, JGit fails.

How to reproduce:

git tag archives/full/2012-02-09_16-06-38.095 # Can be anything, works with "git tag flyingduck" too
Result:
  • In the webapp: (no archive)
  • In the logs:
(...)
17:27:19.435 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:19.441 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:19.446 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.377 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.391 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.396 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.401 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.860 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.867 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.873 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.881 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
(...)

If you do:

git tag -a -m "Plopinou" archives/full/2012-02-09_16-06-38.095

Then rudder is happy and displays the import.

Actions #1

Updated by François ARMAND about 12 years ago

Its a JGit bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=360650

We'll try to workaround it.

Actions #2

Updated by François ARMAND about 12 years ago

  • Status changed from New to 8
Actions #3

Updated by François ARMAND about 12 years ago

  • Status changed from 8 to Pending technical review
  • % Done changed from 0 to 100
Actions #4

Updated by Nicolas CHARLES about 12 years ago

  • Status changed from Pending technical review to Released

This seems correct, thank you Francois

Actions

Also available in: Atom PDF