Closed Bug 1555175 Opened 6 years ago Closed 6 years ago

5cc220ddf028de011a922042ee9ba691b94d055d and d8321d0b2c5b43933c5e9f201934ec7d4c3a65c0 missing in the hg -> git map

Categories

(Developer Services :: Git, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marco, Assigned: garbas)

References

Details

Attachments

(1 obsolete file)

Dave, these are recent commits, could you force the remapping?

Flags: needinfo?(dhouse)

c3f75e0814271535427e68195ccdabe61d3c95dc is missing too.

3a79d3be67486be1d30bda47988cf8c76ee3a3ee is missing too.

8d86cc081fe5d16980a0a610af6b967cc03bf814 is missing too.

verified missing in mapper:

$ curl -X GET --header 'Accept: application/json' 'https://mapper.mozilla-releng.net/gecko-dev/rev/hg/5cc220ddf028de011a922042ee9ba691b94d055d'
{"detail":"No git commit found for hg changeset 5cc220ddf028de011a922042ee9ba691b94d055d in project(s) gecko-dev","instance":"about:blank","status":404,"title":"404 Not Found: No git commit found for hg changeset 5cc220ddf028de011a922042ee9ba691b94d055d in project(s) gecko-dev","type":"about:blank"}
$ curl -X GET --header 'Accept: application/json' 'https://mapper.mozilla-releng.net/gecko-dev/rev/hg/d8321d0b2c5b43933c5e9f201934ec7d4c3a65c0'
{"detail":"No git commit found for hg changeset d8321d0b2c5b43933c5e9f201934ec7d4c3a65c0 in project(s) gecko-dev","instance":"about:blank","status":404,"title":"404 Not Found: No git commit found for hg changeset d8321d0b2c5b43933c5e9f201934ec7d4c3a65c0 in project(s) gecko-dev","type":"about:blank"}

found in local git-mapfile:

$ grep '5cc220ddf028de011a922042ee9ba691b94d055d\|d8321d0b2c5b43933c5e9f201934ec7d4c3a65c0' /opt/vcs2vcs/vcssync1/build/conversion/beagle/.hg/git-mapfile
1265267ba8d37267c3fe2c044f10dd69aa68b52a 5cc220ddf028de011a922042ee9ba691b94d055d
e1a34d08eb8ad4f2481d55004829aeb17b3597ec d8321d0b2c5b43933c5e9f201934ec7d4c3a65c0

I get a failure that auth is invalid when I manually push.
So I'm guessing something changed on the mapper side.

Flags: needinfo?(dhouse)

Rok, could you check the mapper service? It does not accept the auth. I created a new token and tried that and it also gave the same error:

curl -L --data-binary @localmapfile --header 'Authentication: Bearer eyJhxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxWo' --header Content-Type:text/plain https://mapper.mozilla-releng.net/gecko-dev/insert/ignoredups
{"detail":"Invalid user permissions","instance":"about:blank","status":401,"title":"401 Unauthorized: Invalid user permissions","type":"about:blank"}

the new client/token I had created to test was set up with:
(permanent) - Bug 1555175: vcssync mapper push (prm)
project:releng:services/mapper/api/mapping/insert

Flags: needinfo?(rgarbas)
Attached patch tc_auth.patch (obsolete) — Splinter Review
Assignee: nobody → rgarbas
Flags: needinfo?(rgarbas)
Attachment #9068927 - Flags: review?(dhouse)
Comment on attachment 9068927 [details] [diff] [review] tc_auth.patch i added this to wrong diff, sorry for the noise
Attachment #9068927 - Attachment is obsolete: true
Attachment #9068927 - Flags: review?(dhouse)

we migrated to gcp and forgot to migrate the tokens table. since we are also switching to taskcluster auth i only tested it with different tokens. i contacted cloudops and we will (for short time, until we migrate authentication to taskcluster) migrate tokens table to mapper database.

i will write back here when tokens table is migrated.

I'm not seeing missing mappings anymore, was the issue fixed?

Flags: needinfo?(rgarbas)

:marco yes this was fixed on friday, but i forgot to update this bug.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(rgarbas)
Resolution: --- → FIXED

(In reply to Rok Garbas [:garbas] from comment #10)

:marco yes this was fixed on friday, but i forgot to update this bug.

Thank you Rok!

See Also: → 1568507
See Also: → 1569277
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: