#linuxcnc-devel Logs

Jul 16 2017

#linuxcnc-devel Calendar

06:03 AM KGB-linuxcnc: 03Norbert Schechner 05master 3350c36 06linuxcnc 10src/emc/usr_intf/gmoccapy/gmoccapy.py 10src/emc/usr_intf/gmoccapy/release_notes.txt gmoccapy_2_3_1_2 - bug in error report, replacement of joint and axis * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=3350c36
10:50 AM KGB-linuxcnc: 03Dewey Garrett 05dgarr/external_offsets 736744d 06linuxcnc 10(67 files in 13 dirs) External Axis Offset hal pins * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=736744d
08:30 PM jepler: I'm around
09:10 PM seb_kuzminsky: i'm here too
09:16 PM jepler: hi seb_kuzminsky
09:17 PM jepler: I'm not actually sure what part I play in this, besides stamping my feet for you and cradek who actually administer these systems to do somethin..
09:18 PM jepler: +g
09:19 PM jepler: except for the glo -> github lag, it seems like buildbot can be moved before shutting off glo
09:19 PM jepler: "moved" = start listening to github, not glo, notifications
09:19 PM seb_kuzminsky: you're the mastermind behind the scenes that makes the rest of us realize what needs to happen
09:20 PM seb_kuzminsky: buildbot already has a cgi script that gets a POST from the github.com/linuxcnc webhook
09:20 PM jepler: that sounds promising
09:20 PM seb_kuzminsky: the buildbot has logic inside it to fetch the refspec to build into a local clone before starting all the builders, and they all look in the local clone
09:21 PM seb_kuzminsky: so i think i'm almost there
09:21 PM jepler: > From git://10.0.0.3/git/linuxcnc
09:21 PM seb_kuzminsky: i'm sitting at the Laughing Goat with my friend Za, drinking espressos and listening to live music
09:21 PM seb_kuzminsky: yeah
09:21 PM jepler: I didn't realize that, it seems like a good choice
09:21 PM jepler: hi Za
09:21 PM seb_kuzminsky: it saves a bunch of incoming bandwidth
09:23 PM jepler: are there any other barriers to switching to github on buildbot that you're aware of?
09:23 PM seb_kuzminsky: if cradek were here i'd ask him what the glo post-receive hook does
09:23 PM seb_kuzminsky: no, that's the only thing i know of right now
09:23 PM jepler: oh to turn that off at the same time you make buildbot listen to github?
09:24 PM seb_kuzminsky: i can turn it off on the buildmaster side, but it would save me 5 minutes of reading manpages, to see how he did it :-)
09:24 PM seb_kuzminsky: i assume he uses 'buildbot sendchange' with a big pile of command-line arguments
09:25 PM jepler: if you could identify the ssh key used, you could just depermission glo that way
09:25 PM jepler: but it would be better if cradek were here and could just throw the switch on his end, yeah
09:25 PM seb_kuzminsky: i... think it doesn't use ssh
09:25 PM * seb_kuzminsky hides
09:27 PM jepler: It seems expedient, and if the only thing it does is fetch from a trusted git repo it doesn't seem that harmful
09:28 PM jepler: cradek: if you do show up can you get in touch with seb_kuzminsky so you can raise and lower the flags at the same time?
09:28 PM seb_kuzminsky: i can just turn off the forwarding of that port from my public-facing IP to the internal buildmaster machine
09:29 PM seb_kuzminsky: no biggie
09:49 PM seb_kuzminsky: jepler: can you think of a reason why i shouldn't push a throw-away test branch directly to github.com/linuxcnc/linuxcnc?
09:50 PM seb_kuzminsky: well i'm going to try it
09:50 PM seb_kuzminsky: i promise to clean up after myself if i break anything
09:51 PM jepler: seb_kuzminsky: it will be nuked when glo pushes to github, so you have to be OK with that
09:51 PM seb_kuzminsky: i'll try not to cry too hard
10:08 PM linuxcnc-build_: build #5048 of 0000.checkin is complete: Failure [4failed fetch branch to local git repo] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/5048 blamelist: Sebastian Kuzminsky <seb@highlab.com>
10:11 PM seb_kuzminsky: that's a race between me pushing the branch and cradek's robot pushing to remove it
10:11 PM Tom_itx: heh
10:14 PM jepler: OK, I think I understand how to turn on notifications from github to irc on push..
10:15 PM jepler: .. I could just go ahead and do that now ..
10:16 PM seb_kuzminsky: good idea
10:16 PM seb_kuzminsky: easier than running another kgb
10:16 PM jepler: OK, I've done that
10:18 PM jepler: $ octohub GET /repos/linuxcnc/linuxcnc/hooks | jq -c '.[0].events'
10:18 PM jepler: ["issues","issue_comment","ping","pull_request"]
10:19 PM seb_kuzminsky: http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/5049/steps/fetch%20branch%20to%20local%20git%20repo/logs/stdio
10:21 PM jepler: looks promising
10:21 PM seb_kuzminsky: yeah, i think basic functionality should be working now
10:21 PM seb_kuzminsky: multi-commit pushes work too
10:22 PM seb_kuzminsky: it ignores branch deletes
10:22 PM seb_kuzminsky: wonder what happens when you push tags?
10:24 PM seb_kuzminsky: tags get a 'ref' in refs/tags and a 'head_commit', but not any 'commits'
10:24 PM seb_kuzminsky: which makes sense, but my script doesn't deal with it yet
10:25 PM jepler: umm does anybody know our sf "list administrator password" ?
10:25 PM jepler: .. I'll try to continue looking into github sending commit e-mails tomorrow. night night
10:26 PM jepler: seb_kuzminsky: thank you for your time on this! we rely on buildbot in a huge way.
10:28 PM seb_kuzminsky: sure thing i'm happy to help
10:29 PM seb_kuzminsky: linuxcnc-build_: force build --branch=github-integration-test-tag 0000.checkin
10:29 PM linuxcnc-build_: build forced [ETA 5m05s]
10:29 PM linuxcnc-build_: I'll give a shout when the build finishes
10:32 PM seb_kuzminsky: saying --branch but giving it a tag was not the right thing to do
10:32 PM seb_kuzminsky: it created a branch (in the buildbot's internal git repo) with the same name as the tag, that's very confusing
10:33 PM linuxcnc-build_: Hey! build 0000.checkin #5051 is complete: Success [3build successful]
10:33 PM linuxcnc-build_: Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/5051
10:35 PM seb_kuzminsky: linuxcnc-build_: force build --revision=github-integration-test-tag 0000.checkin
10:35 PM linuxcnc-build_: build forced [ETA 4m19s]
10:35 PM linuxcnc-build_: I'll give a shout when the build finishes
10:38 PM linuxcnc-build_: Hey! build 0000.checkin #5052 is complete: Success [3build successful]
10:38 PM linuxcnc-build_: Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/5052
10:38 PM seb_kuzminsky: ok, i'm going to say that's right enough to use
10:39 PM seb_kuzminsky: the buildbot now builds pushes to branches at github.com/linuxcnc/linuxcnc
10:39 PM seb_kuzminsky: when i get home i'll close the internet-facing port that glo uses to trigger builds, and we'll be building from github only
11:43 PM KGB-linuxcnc: 03Sebastian Kuzminsky 052.7-limit3-issue-240 3a85757 06linuxcnc 03tests/limit3/min-max-overshoot/README 03tests/limit3/min-max-overshoot/checkresult 03tests/limit3/min-max-overshoot/test.hal tests: add a test for part of #240 * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=3a85757
11:43 PM linuxcnc-build_: build #5054 of 0000.checkin is complete: Failure [4failed fetch branch to local git repo] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/5054 blamelist: Sebastian Kuzminsky <seb@highlab.com>
11:44 PM seb_kuzminsky: that build failure is expected
11:45 PM seb_kuzminsky: that was me pushing to glo, and glo poking the buildbot, but the buildbot tries to pull from github now so it couldn't find the new commits i pushed
11:45 PM seb_kuzminsky: in a little bit glo will push to github, and then github should poke the buildbot and it should work
11:53 PM seb_kuzminsky: hmm, that branch hasn't show up on github yet
11:53 PM seb_kuzminsky: how often does glo push?
11:53 PM seb_kuzminsky: i guess this is my cue to go to bed