Repository navigation
Open
Description
@grandixximo This failure happened:
Running test: /__w/linuxcnc/linuxcnc/tests/twp-native-ptp
*** /__w/linuxcnc/linuxcnc/tests/twp-native-ptp: FAIL: test run exited with 1
************** result:
Machine configuration file is 'test.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./sim.hal
task: main loop took 0.019042 seconds
task: main loop took 0.018499 seconds
G53.4, G53.5 and G53.7 need G0 or G1
task: main loop took 0.018682 seconds
task: main loop took 0.019391 seconds
Cannot use G53.5 or G53.7 in incremental distance mode
task: main loop took 0.018368 seconds
task: main loop took 0.019040 seconds
G53.7: this kinematics has no joint 9
task: main loop took 0.019012 seconds
task: main loop took 0.018744 seconds
G53.7 takes joint words, J<n>=<value>, not axis words; G53.5 takes the axis words
task: main loop took 0.018583 seconds
task: main loop took 0.019004 seconds
Cannot use a J word with G53.7; a joint is J<n>=<value>
G53.7 needs at least one J<n>=<value> joint word
J0= word with no G53.7 to use it
The joint number in a J= word must be a whole number from 0 to 15
Multiple J0= words on one line
J0= word with no G53.7 to use it
G53.5 needs at least one axis word
Cannot use G53.5 or G53.7 in incremental distance mode
Cannot do g1 with zero feed rate
Cannot use G28.5 or G30.5 in incremental distance mode
Cannot use two g codes that both use axis values
G53.4 G0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
G53.4 G0: 1 joints on one line in joint space through 92 samples
before G53.7 35.3553 6.6987 -6.6987 0.0000 30.0000 0.0000
G53.7 G0 J2=-5 35.3553 6.6987 -5.0000 0.0000 30.0000 0.0000
G53.5 G0 Z-5 70.7107 13.3975 -5.0000 0.0000 30.0000 0.0000
G20 G53.5 G0 Z-1 70.7107 13.3975 -25.4000 0.0000 30.0000 0.0000
G28.5 10.0000 20.0000 -5.0000 0.0000 0.0000 0.0000
G28.5: 4 joints on one line in joint space through 88 samples
G30.5 Z3 -35.3553 6.6987 -5.0000 0.0000 -30.0000 0.0000
G53.4 G1 X5 F600 took 0.483 s
G93 G53.4 G1 X0 F120 took 0.483 s
refused as expected: G53.4, G53.5 and G53.7 need G0 or G1
refused as expected: Cannot use G53.5 or G53.7 in incremental distance mode
refused as expected: G53.7: this kinematics has no joint 9
refused as expected: G53.7 takes joint words, J<n>=<value>, not axis words; G53.5 takes the axis words
refused as expected: Cannot use a J word with G53.7; a joint is J<n>=<value>
refused as expected: G53.7 needs at least one J<n>=<value> joint word
refused as expected: J0= word with no G53.7 to use it
refused as expected: The joint number in a J= word must be a whole number from 0 to 15
refused as expected: Multiple J0= words on one line
refused as expected: J0= word with no G53.7 to use it
refused as expected: G53.5 needs at least one axis word
refused as expected: Cannot use G53.5 or G53.7 in incremental distance mode
refused as expected: Cannot do g1 with zero feed rate
refused as expected: Cannot use G28.5 or G30.5 in incremental distance mode
refused as expected: Cannot use two g codes that both use axis values
G53 G0 Z-5 under TCP 35.3553 6.6987 -5.0000 0.0000 30.0000 0.0000
G53 G0 Z-5: 1 joints on one line in joint space through 46 samples
G28 under TCP 10.0000 20.0000 -5.0000 0.0000 -30.0000 0.0000
G28: 4 joints on one line in joint space through 88 samples
*** ERROR G28 on the identity did not go back to the G28.1 store
Exiting with 1 errors
Shutting down and cleaning up LinuxCNC...
task: 3544 cycles, min=0.000003, max=0.019433, avg=0.001118, 32 latency excursions (> 10x expected cycle time of 0.001000s)
switchkins-type 0 declared: identity machine
switchkins-type 1 declared: primary
LinuxCNC terminated with an error. You can find more information in the log:
/home/testrunner/linuxcnc_debug.txt
and
/home/testrunner/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
************** stderr:
+ rm -f sim.var sim.var.bak samples.log
+ linuxcnc -r test.ini
/__w/linuxcnc/linuxcnc/tests/twp-native-ptp/test.ini: info: [KINS]KINEMATICS=xyzacb_trsrn: Unchecked
Note: realtime scheduling unavailable (sched_setscheduler SCHED_FIFO: Operation not permitted).
Process capabilities: cap_sys_nice=no cap_ipc_lock=no.
Falling back to POSIX non-realtime.
Fix: 'sudo make setcap' (preferred) or 'sudo make setuid' on rtapi_app.
Override (testing only): set LINUXCNC_FORCE_REALTIME=1.
Note: Using POSIX non-realtime
link (updating variable file): No such file or directory
interp_error: G53.4, G53.5 and G53.7 need G0 or G1
interp_error: Cannot use G53.5 or G53.7 in incremental distance mode
interp_error: G53.7: this kinematics has no joint 9
interp_error: G53.7 takes joint words, J<n>=<value>, not axis words; G53.5 takes the axis words
interp_error: Cannot use a J word with G53.7; a joint is J<n>=<value>
interp_error: G53.7 needs at least one J<n>=<value> joint word
interp_error: J0= word with no G53.7 to use it
interp_error: The joint number in a J= word must be a whole number from 0 to 15
interp_error: Multiple J0= words on one line
interp_error: J0= word with no G53.7 to use it
interp_error: G53.5 needs at least one axis word
interp_error: Cannot use G53.5 or G53.7 in incremental distance mode
interp_error: Cannot do g1 with zero feed rate
interp_error: Cannot use G28.5 or G30.5 in incremental distance mode
interp_error: Cannot use two g codes that both use axis values
link (updating variable file): No such file or directory
**************
Metadata
Metadata
Assignees
Labels
No labels
Activity
grandixximo commentedon Nov 18, 2026
Thanks. I could not reproduce it: 60 runs passed here, 30 of them pinned to one core shared with CPU burners. My first guess was the kinematics switch reading the lagging cubic position (#4810), but I measured the lag at every switch in this test and it is always zero, so that is not it.
That check was the only one in the test that did not print the joints. #4862 splits it into a check after G28 and one after G12.1 P1, both printing the joints, so the next failure will say where it went wrong.
tests: twp-native-ptp prints the joints when G28 on the identity fails