#linuxcnc-devel Logs
May 02 2020
#linuxcnc-devel Calendar
12:29 AM linuxcnc-build: build #3924 of 4016.deb-wheezy-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4016.deb-wheezy-i386/builds/3924 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
12:33 AM linuxcnc-build: build #3927 of 4017.deb-wheezy-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.deb-wheezy-amd64/builds/3927 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
12:34 AM linuxcnc-build: build #5355 of 4008.deb-precise-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4008.deb-precise-amd64/builds/5355 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
12:36 AM linuxcnc-build: build #5355 of 4007.deb-precise-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4007.deb-precise-i386/builds/5355 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
12:37 AM linuxcnc-build: build #4184 of 4009.deb-precise-rtai-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4009.deb-precise-rtai-i386/builds/4184 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
12:51 AM linuxcnc-build: build #3217 of 4015.deb-wheezy-rtpreempt-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4015.deb-wheezy-rtpreempt-amd64/builds/3217 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
12:58 AM linuxcnc-build: build #3187 of 4014.deb-wheezy-rtpreempt-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4014.deb-wheezy-rtpreempt-i386/builds/3187 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
01:03 AM linuxcnc-build: build #4913 of 1403.rip-wheezy-amd64 is complete: Failure [4failed runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1403.rip-wheezy-amd64/builds/4913 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
01:47 AM linuxcnc-build: build #2593 of 4022.deb-jessie-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4022.deb-jessie-amd64/builds/2593 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
01:53 AM linuxcnc-build: build #2596 of 4021.deb-jessie-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4021.deb-jessie-i386/builds/2596 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
02:24 AM linuxcnc-build: build #6773 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6773 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>, Phillip Carter <phillcarter54@gmail.com>
12:02 PM rene_dev_: jepler many interp remap tests fail due to strange print flushing behaviour https://pastebin.com/K5RBdLMj
12:03 PM rene_dev_: I even tried changing the test to flush every print, same result
01:17 PM jepler: Looks like python3 doesn't provide the same interleaving with output from "C". Probably nobody's going to do anything about it. we can do our best to switch both C printf I/O and Python print() I/O to be non-buffered. I don't know what flush calls you added, and I don't have the necessary setup to reproduce locally, so .. I can show you what I'm thinking of with a possible patch though
01:19 PM jepler: rene_dev_: https://gist.github.com/jepler/c492240a3e59cea50a5f0233810c2664
01:22 PM jepler: at a superficial level, I think that python2 actually used stdio handles, so output from python print and C printf() would be interleaved in execution order, but python3 doesn't. You can see that if you debug `pythonX -c 'print(3+3)'` and break on the write syscall. In python2 it's got __GI__IO_fputs (fputs wrapper) on the stack, while python3 doesn't have any stdio-related symbols on the stack when it hits write()
02:04 PM rene_dev_: jepler ok, I will try that
02:04 PM rene_dev_: I just committed the tests
02:04 PM rene_dev_: many more passes, very close now
02:10 PM rene_dev_: jepler if all is working, can you switch at least one CI to use python3, to prevent stuff from breaking?
02:18 PM jepler: rene_dev_: seb_kuzminsky is the one who would have to do it on buildbo
02:18 PM jepler: +t
02:19 PM jepler: I'm so glad you have been doing this work, thanks so much.
02:38 PM linuxcnc-build: build #3380 of 1510.rip-jessie-rtpreempt-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1510.rip-jessie-rtpreempt-i386/builds/3380 blamelist: Rene Hopf <renehopf@mac.com>
02:39 PM linuxcnc-build: build #1770 of 1630.rip-stretch-rtpreempt-amd64 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1630.rip-stretch-rtpreempt-amd64/builds/1770 blamelist: Rene Hopf <renehopf@mac.com>
02:41 PM rene_dev_: motion-logger/startup-gcode-abort seems to fail sometimes for unknown reasons
02:48 PM linuxcnc-build: build #4585 of 1401.rip-wheezy-rtai-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/4585 blamelist: Rene Hopf <renehopf@mac.com>
02:48 PM linuxcnc-build: build #6774 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6774 blamelist: Rene Hopf <renehopf@mac.com>
02:53 PM rene_dev_: jepler the fix worked, but breaks a lot of other tests. Im changing the expected, as this seems to be the correct behaviour...
03:32 PM jepler: okay, thanks
03:43 PM rene_dev_: oh wow
03:43 PM rene_dev_: flushing the buffer reveals actual bugs in tests
03:59 PM jepler: uh oh :-/
04:01 PM rene_dev_: the problem is really the 2>&1
04:01 PM rene_dev_: stdout and stderr should be in 2 filed, with 2 diffs
04:03 PM rene_dev_: does anyone know how machinekit manages to run multiple instances? speeding up the tests would be good...
04:05 PM cerna: Multiple instances of what?
04:05 PM rene_dev_: of linuxcnc
04:05 PM rene_dev_: you can only have 1 linuxcnc on a machine
04:06 PM cerna: Machinekit runs multiple processes of rtapi_app (no RTAI support) with separated HAL memory.
04:07 PM rene_dev_: I know, but how? and how much work would it be to have that in linuxcnc?
04:07 PM cerna: And tests run id Docker containers.
04:09 PM linuxcnc-build: build #3381 of 1510.rip-jessie-rtpreempt-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1510.rip-jessie-rtpreempt-i386/builds/3381 blamelist: Rene Hopf <renehopf@mac.com>
04:11 PM linuxcnc-build: build #377 of 1640.rip-buster-rtpreempt-amd64 is complete: Failure [4failed runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1640.rip-buster-rtpreempt-amd64/builds/377 blamelist: Rene Hopf <renehopf@mac.com>
04:12 PM cerna: You would need to probably ditch RTAI (not sure how hard it could be to create instantiation in kernel-space), then remove/rewrite all parts depending on only one instance, so I presume NML parts(?) Then it probably wouldn't be that hard. The big problem would be SMP.
04:13 PM cerna: Hmm, can you run two rtapi_app processes in LinuxCNC?
04:13 PM cerna: Or where does it fail?
04:16 PM cerna: However, for speeding up tests, cannot you just run Docker images of LinuxCNC?
04:18 PM linuxcnc-build: build #4586 of 1401.rip-wheezy-rtai-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/4586 blamelist: Rene Hopf <renehopf@mac.com>
04:18 PM linuxcnc-build: build #6775 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6775 blamelist: Rene Hopf <renehopf@mac.com>
04:28 PM rene_dev_: cerna starting a container for each test?
04:32 PM cerna: That or run whole batch of them in one. This is how regression tests are run: https://github.com/machinekit/machinekit-hal/blob/master/scripts/build_docker#L127-L152
04:36 PM cerna: Thinking about RTAI, could it run inside a LXC? I don't expect one of you guys who installed it (andypugh, Tom_L) tried it?
05:29 PM rene_dev_: currently it seems like you cant even run rtai outside of lxc ;D
06:56 PM rene_dev_: done
06:56 PM rene_dev_: master is now python2 and 3 compatible
06:56 PM andypugh: woohoo
06:56 PM rene_dev_: 100% tests pass with python2
06:57 PM rene_dev_: all but one with python3, needs some more work
06:57 PM rene_dev_: and now the UI question.
07:03 PM rene_dev_: andypugh there is probably a lot of stoff that can get cherrypicked in 2.8, to avoid merge conflicts down the line
07:03 PM * Tom_L builds and runs it on his mill. no pressure
07:05 PM linuxcnc-build: build #5356 of 4008.deb-precise-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4008.deb-precise-amd64/builds/5356 blamelist: Rene Hopf <renehopf@mac.com>
07:06 PM linuxcnc-build: build #5356 of 4007.deb-precise-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4007.deb-precise-i386/builds/5356 blamelist: Rene Hopf <renehopf@mac.com>
07:07 PM rene_dev_: oh boi, here we go.
07:08 PM linuxcnc-build: build #4185 of 4009.deb-precise-rtai-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4009.deb-precise-rtai-i386/builds/4185 blamelist: Rene Hopf <renehopf@mac.com>
07:12 PM Tom_L: rene_dev_, what about that gtk lib for gmoccapy it was complaining about with buster? is that still an issue
07:13 PM rene_dev_: yes
07:13 PM rene_dev_: to solve that, gscreen needs to be ported to python3
07:13 PM rene_dev_: sorry, gtk3
07:13 PM Tom_L: gscreen and gmoccapy
07:14 PM rene_dev_: yes, all the gtk widgets
07:14 PM rene_dev_: touchy, gscreen, and gmoccappy are affeceted
07:15 PM jepler: I suspect that the package build failures are due to the configure change to "python2" as default.
07:15 PM andypugh: rene_dev_: python-gtksourceview is in linuxcnc.org/dists/buster but I am only just getting to grips with package building and signing, so apt won’t find it.
07:16 PM rene_dev_: python docs say python2 is correct if you want python2
07:16 PM linuxcnc-build: build #3925 of 4016.deb-wheezy-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4016.deb-wheezy-i386/builds/3925 blamelist: Rene Hopf <renehopf@mac.com>
07:16 PM jepler: I guess in a conflict between buildbot and some docs, I'd appease buildbot
07:16 PM jepler: however,
07:16 PM rene_dev_: jepler master as such builds and all tests pass on wheezy, I tested that
07:17 PM jepler: this is running lintian on the built package
07:17 PM jepler: I am guessing that is not a step you did. I never do it locally either
07:17 PM rene_dev_: no
07:18 PM jepler: lintian objects to the particular #!-line on these installed python scripts, which changed from #!/usr/bin/python to #!/usr/bin/python2 (I think)
07:18 PM rene_dev_: I did check if python2 exists on the wheezy iso
07:18 PM rene_dev_: now again to linuxcnc-python on the tests, but they are not included, right?
07:18 PM jepler: no, this is about installed scripts with #! lines
07:19 PM rene_dev_: the configure script doesnt pick the right boost python lib when using pyhton3
07:19 PM jepler: E: linuxcnc-uspace-dev: python-script-but-no-python-dep usr/bin/halcompile http://buildbot.linuxcnc.org/buildbot/builders/4008.deb-precise-amd64/builds/5356/steps/shell_4/logs/stdio
07:19 PM jepler: following that line is an explanation of what the problem is, in lintian's view
07:19 PM rene_dev_: ah, still python2 is correct. many OS ship with python3 as python
07:20 PM jepler: when it comes to building debian packages, this is something they say is an error
07:21 PM linuxcnc-build: build #3928 of 4017.deb-wheezy-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.deb-wheezy-amd64/builds/3928 blamelist: Rene Hopf <renehopf@mac.com>
07:21 PM rene_dev_: but it works, so is there a way to silence it?
07:21 PM jepler: to get back to the however .. we can control how debian packaging invokes configure and "fix it":
07:22 PM jepler: I'll have buildbot chew on this https://github.com/LinuxCNC/linuxcnc/compare/jepler/debian-configure-with-python27?expand=1
07:23 PM jepler: er hm stuff I don't expect is in that diff, what'd I do wrong
07:24 PM Tom_L: one thing i don't understand is the quick jump i get on this asrock board with buster RTAI
07:24 PM jepler: well I'll see what buildbot says and then get it right
07:24 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/latencytest_asrock1.png
07:24 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/latencytest_asrock2.png
07:25 PM Tom_L: almost immediate
07:25 PM Tom_L: didn't notice it with the other 2 boards i tried
07:36 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/latencytest_asrock3.png
07:36 PM Tom_L: ouch!
07:36 PM andypugh: Is that running realtime?
07:37 PM Tom_L: i ran the rip environment
07:43 PM andypugh: Does the terminal say “running RTAI realtime”
07:44 PM Tom_dev: Linux buster 4.19.114-rtai-amd64 #1 SMP Thu Apr 30 23:42:09 CDT 2020 x86_64 GNU/Linux
07:48 PM linuxcnc-build: build #4916 of 1400.rip-wheezy-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/4916 blamelist: Rene Hopf <renehopf@mac.com>
07:49 PM Tom_L: what is cpu c state in the bios?
07:50 PM Tom_L: c7 c6 c1 options
07:50 PM Tom_L: or disabled
07:51 PM linuxcnc-build: build #4917 of 1403.rip-wheezy-amd64 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1403.rip-wheezy-amd64/builds/4917 blamelist: Rene Hopf <renehopf@mac.com>
07:52 PM linuxcnc-build: build #3218 of 4015.deb-wheezy-rtpreempt-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4015.deb-wheezy-rtpreempt-amd64/builds/3218 blamelist: Rene Hopf <renehopf@mac.com>
07:54 PM linuxcnc-build: build #3188 of 4014.deb-wheezy-rtpreempt-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4014.deb-wheezy-rtpreempt-i386/builds/3188 blamelist: Rene Hopf <renehopf@mac.com>
07:55 PM Tom_L: near as i can tell the bios is set ok
08:17 PM rene_dev_: I opened a bunch of python3 related issues.
08:25 PM linuxcnc-build: build #2594 of 4022.deb-jessie-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4022.deb-jessie-amd64/builds/2594 blamelist: Rene Hopf <renehopf@mac.com>
08:27 PM linuxcnc-build: build #3615 of 4018.deb-wheezy-rtai-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4018.deb-wheezy-rtai-i386/builds/3615 blamelist: Rene Hopf <renehopf@mac.com>
08:27 PM linuxcnc-build: build #2597 of 4021.deb-jessie-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4021.deb-jessie-i386/builds/2597 blamelist: Rene Hopf <renehopf@mac.com>
08:28 PM linuxcnc-build: build #2486 of 4019.deb-jessie-rtpreempt-i386 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4019.deb-jessie-rtpreempt-i386/builds/2486 blamelist: Rene Hopf <renehopf@mac.com>
08:33 PM linuxcnc-build: build #2484 of 4020.deb-jessie-rtpreempt-amd64 is complete: Failure [4failed shell_3 shell_4] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4020.deb-jessie-rtpreempt-amd64/builds/2484 blamelist: Rene Hopf <renehopf@mac.com>
08:54 PM linuxcnc-build: build #3385 of 1520.rip-jessie-amd64 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1520.rip-jessie-amd64/builds/3385 blamelist: Rene Hopf <renehopf@mac.com>
09:06 PM linuxcnc-build: build #6777 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6777 blamelist: Rene Hopf <renehopf@mac.com>
09:44 PM linuxcnc-build: build #3384 of 1500.rip-jessie-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1500.rip-jessie-i386/builds/3384 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Sebastian Kuzminsky <seb@highlab.com>
09:45 PM linuxcnc-build: build #3386 of 1520.rip-jessie-amd64 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1520.rip-jessie-amd64/builds/3386 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Sebastian Kuzminsky <seb@highlab.com>
09:54 PM linuxcnc-build: build #6778 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6778 blamelist: Rene Hopf <renehopf@mac.com>, Chris Morley <chrisinnanaimo@hotmail.com>, Sebastian Kuzminsky <seb@highlab.com>
11:50 PM linuxcnc-build: build #4919 of 1400.rip-wheezy-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/4919 blamelist: Jeff Epler <jepler@unpythonic.net>
11:51 PM linuxcnc-build: build #4920 of 1403.rip-wheezy-amd64 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1403.rip-wheezy-amd64/builds/4920 blamelist: Jeff Epler <jepler@unpythonic.net>