Skip to content

Issue with snapshot tagging in Step-2 #116

@requaos

Description

@requaos

To my understanding these are now 'annotated' tags, which reference a hash with info which refers to another hash of the actual commit. So I read that this error is just seeing this, but why doesn't it know what to do with these? I may also be missing something:

Failed to tag mkstream 3993. Tag points to cb83d88e9325041f8ebd95680da13590be055f6b instead of 45af6d0e408cb7baecbd065a086935e6cc7fb44b
mkstream 3993. Tag rw_12.0.0.7 exists, re-creating on rw_qa_int at 45af6d0e
Failed to tag mkstream 3993. Tag points to cb83d88e9325041f8ebd95680da13590be055f6b instead of 45af6d0e408cb7baecbd065a086935e6cc7fb44b
Running time was  0:16:34.25
The script has encountered an exception, aborting!
Traceback (most recent call last):
  File "/db/neil/ac2git/ac2git.py", line 4075, in AccuRev2GitMain
    rv = state.Start(isRestart=args.restart, isSoftRestart=args.softRestart)
  File "/db/neil/ac2git/ac2git.py", line 3347, in Start
    self.ProcessTransactions()
  File "/db/neil/ac2git/ac2git.py", line 3123, in ProcessTransactions
    self.ProcessTransaction(streamMap=state["stream_map"], trId=tr, affectedStreamMap=transactionsMap[tr], prevAffectedStreamMap=prevAffectedStreamMap)
  File "/db/neil/ac2git/ac2git.py", line 2721, in ProcessTransaction
    raise Exception("Failed to create tag {branch} at {hash} (latest commit on {parentBranch}).".format(branch=branchName, hash=self.ShortHash(basisCommitHash), parentBranch=basisBranchName))
Exception: Failed to create tag rw_12.0.0.7 at 45af6d0e (latest commit on rw_qa_int).
Traceback (most recent call last):
  File "/db/neil/ac2git/ac2git.py", line 4095, in <module>
    AccuRev2GitMain(sys.argv)
  File "/db/neil/ac2git/ac2git.py", line 4075, in AccuRev2GitMain
    rv = state.Start(isRestart=args.restart, isSoftRestart=args.softRestart)
  File "/db/neil/ac2git/ac2git.py", line 3347, in Start
    self.ProcessTransactions()
  File "/db/neil/ac2git/ac2git.py", line 3123, in ProcessTransactions
    self.ProcessTransaction(streamMap=state["stream_map"], trId=tr, affectedStreamMap=transactionsMap[tr], prevAffectedStreamMap=prevAffectedStreamMap)
  File "/db/neil/ac2git/ac2git.py", line 2721, in ProcessTransaction
    raise Exception("Failed to create tag {branch} at {hash} (latest commit on {parentBranch}).".format(branch=branchName, hash=self.ShortHash(basisCommitHash), parentBranch=basisBranchName))
Exception: Failed to create tag rw_12.0.0.7 at 45af6d0e (latest commit on rw_qa_int).

Hoping it is something simple

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantedstaleThis issue has not been looked at by the reporter or the team in a long time...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions