Page MenuHomePhabricator

Deployment of latest Design Style Guide Gerrit clone doesn't seem to succeed
Closed, InvalidPublic

Description

Although the deployment script, initiated in T235677, does return 'ok', the Design Style Guide isn't updated to latest master.

Expected:

Current status:

  • '.eot' files are still available

Output of deployment script command

$ ssh deploy1001.eqiad.wmnet /srv/deployment/design/deploy-style-guide.sh
warning: redirecting to https://gerrit.wikimedia.org/r/design/style-guide.git/
Already up to date.
Current branch master is up to date.
13:18:31 Started deploy [design/style-guide@e3fda83]
13:18:31 Deploying Rev: HEAD = e3fda830a1573a398eda486341f2f6c2cc25bffe
13:18:31 Started deploy [design/style-guide@e3fda83]: Deploy design/style-guide: 
13:18:31 
== DEFAULT ==
:* miscweb1002.eqiad.wmnet
:* miscweb2002.codfw.wmnet
design/style-guide: fetch stage(s):   0% (ok: 0; fail: 0; left: 2)              
design/style-guide: fetch stage(s):  50% (ok: 1; fail: 0; left: 1)              
design/style-guide: fetch stage(s): 100% (ok: 2; fail: 0; left: 0)              
design/style-guide: fetch stage(s): 100% (ok: 2; fail: 0; left: 0)              

design/style-guide: config_deploy stage(s):   0% (ok: 0; fail: 0; left: 2)      
design/style-guide: config_deploy stage(s):  50% (ok: 1; fail: 0; left: 1)      
design/style-guide: config_deploy stage(s): 100% (ok: 2; fail: 0; left: 0)      
design/style-guide: config_deploy stage(s): 100% (ok: 2; fail: 0; left: 0)      

design/style-guide: promote stage(s):   0% (ok: 0; fail: 0; left: 2)            
design/style-guide: promote stage(s):  50% (ok: 1; fail: 0; left: 1)            
design/style-guide: promote stage(s): 100% (ok: 2; fail: 0; left: 0)            
design/style-guide: promote stage(s): 100% (ok: 2; fail: 0; left: 0)            

13:18:35 
== DEFAULT ==
:* miscweb1002.eqiad.wmnet
:* miscweb2002.codfw.wmnet
design/style-guide: finalize stage(s):   0% (ok: 0; fail: 0; left: 2)           
design/style-guide: finalize stage(s):  50% (ok: 1; fail: 0; left: 1)           
design/style-guide: finalize stage(s): 100% (ok: 2; fail: 0; left: 0)           
13:18:36 Finished deploy [design/style-guide@e3fda83]: Deploy design/style-guide:  (duration: 00m 04s)
13:18:36 Finished deploy [design/style-guide@e3fda83] (duration: 00m 04s)
design/style-guide: finalize stage(s): 100% (ok: 2; fail: 0; left: 0)

Event Timeline

I checked the git status on both backends, miscweb1002 and miscweb2002 and they are both at commit e3fda830a1573a398eda486341f2f6c2cc25bffe " “Design principles”: Improve “Consistency” image and make it mobile friendly (#390)" from June 30th 2020.

Then looked at deploy1001 in /srv/deployment/design/style-guide and it as at the same commit. So there is no discrepancy between those.

Looking at your report, it also says "Deploying Rev: HEAD = e3fda830a1573a398eda486341f2f6c2cc25bffe", so the same one.

So it must go wrong somewhere between github and gerrit. The scap part seems to be working normally.

The deploy-style-guide.sh script git pulls from https://gerrit.wikimedia.org/r/p/design/style-guide.git

and that is also at e3fda830a1573a398eda486341f2f6c2cc25bffe.

How that would get updated from elsewhere I don't know, i'll have to refer to others for that.

The repository on deploy1001 points at master and does fetch from Gerrit master branch which is:

$ git ls-remote https://gerrit.wikimedia.org/r/design/style-guide.git refs/heads/master
e3fda830a1573a398eda486341f2f6c2cc25bffe	refs/heads/master

I don't understand what is the problem?

There was a Git misconfiguration locally. Has worked now. Sorry for the fuzz.