Re: [Emc-users] tests hanging?

2022-02-11 Thread Andy Howell



On 2/11/22 03:51, Rob C wrote:

run:
lscpu
post the reply / contents

you can also try:
nproc --all
that processor should have a good single core speed.

are you using isolcpus within grub?
there are mixed points of view about isolcpus and whether or not
its relevant. Personally I use it and it seems to provide better latency
results and I only use it on 1 of my 2 cores for timing and it seems to
help (YMMV).  if you have isolcpus set, how have you set it
https://www.codeblueprint.co.uk/2019/10/08/isolcpus-is-deprecated-kinda.html
cset is not for linuxcnc users as c states are normally disabled

what works, works... and if it works for you even better.

On Fri, 11 Feb 2022 at 07:29, Andy Howell  wrote:

It turned out to be another application using port 5007, and linuxcncrsh 
not exiting when it could not bind to the port.

On 2/11/22 00:54, Phill Carter wrote:

On 11 Feb 2022, at 5:39 pm, Andy Howell  wrote:

When I run the test suite there are a number of tests that seem to

hang.  It could be I am just impatient. For example:

tests/linuxcncrsh-tcp

tests/linuxcncrsh

tests/mdi-queue/oword-queue-buster

Should I expect all the tests to run?

I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM)

i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.

Thanks,

Andy



Some tests do take a little while, the queuebusters seem to take longer

than most...

I "think" that while there is no error then it is still running.

Thanks, I let it run 20 or 30 minutes. Guess I will sleep on it an see
what the morning brings.

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tests hanging?

2022-02-11 Thread Andy Howell


On 2/11/22 08:50, Sebastian Kuzminsky wrote:
Those tests run for a long time normally. Try `runtests -v` to get 
output while the tests are running.

-- Sebastian Kuzminsky

Sorry, I should have posted this to the developer list. Too blurry-eyed 
last night :)


I found the problem. I had something else running on port 5007. 
linuxcncrsh does not check the results of bind, and just carries on.


I've added error checking code to linuxcncrsh.

I added this:

if nc -z localhost 5007; then
    echo "Process already listening on port 5007. Exiting"
    exit 1
fi

to the scripts before they fire up linuxcncrsh. Now they all fail, as 
expected, if there is something else on the port.  I changed these:



    /home/andy/src/linuxcnc/linuxcnc/tests/linuxcncrsh-tcp
    /home/andy/src/linuxcnc/linuxcnc/tests/linuxcncrsh
 /home/andy/src/linuxcnc/linuxcnc/tests/mdi-queue/oword-queue-buster
 /home/andy/src/linuxcnc/linuxcnc/tests/mdi-queue/simple-queue-buster
    /home/andy/src/linuxcnc/linuxcnc/tests/t0/nonrandom
    /home/andy/src/linuxcnc/linuxcnc/tests/t0/random-with-t0
    /home/andy/src/linuxcnc/linuxcnc/tests/t0/random-without-t0
 
/home/andy/src/linuxcnc/linuxcnc/tests/toolchanger/toolno-pocket-differ/nonrandom
 /home/andy/src/linuxcnc/linuxcnc/tests/toolchanger/toolno-pocket-differ/random

The only test failed after that was:

    /home/andy/src/linuxcnc/linuxcnc/tests/build/ui

I had to add -L/usr/include/tirpc -ltirpc in test.sh for that test.

I think this is a good example for me to learn the workflow of testing a 
patch and submitting a pull request.


Regards Andy




On February 10, 2022 11:39:58 PM MST, Andy Howell  
wrote:


When I run the test suite there are a number of tests that seem to
hang.  It could be I am just impatient. For example:

tests/linuxcncrsh-tcp

tests/linuxcncrsh

tests/mdi-queue/oword-queue-buster

Should I expect all the tests to run?

I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM)
i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.

Thanks,

Andy

Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tests hanging?

2022-02-11 Thread Sebastian Kuzminsky
Those tests run for a long time normally.  Try `runtests -v` to get output 
while the tests are running.

-- 
Sebastian Kuzminsky

On February 10, 2022 11:39:58 PM MST, Andy Howell  wrote:
>When I run the test suite there are a number of tests that seem to 
>hang.  It could be I am just impatient. For example:
>
>tests/linuxcncrsh-tcp
>
>tests/linuxcncrsh
>
>tests/mdi-queue/oword-queue-buster
>
>Should I expect all the tests to run?
>
>I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM) 
>i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.
>
>Thanks,
>
>Andy
>
>
>
>___
>Emc-users mailing list
>Emc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-users

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tests hanging?

2022-02-11 Thread Rob C
run:
lscpu
post the reply / contents

you can also try:
nproc --all
that processor should have a good single core speed.

are you using isolcpus within grub?
there are mixed points of view about isolcpus and whether or not
its relevant. Personally I use it and it seems to provide better latency
results and I only use it on 1 of my 2 cores for timing and it seems to
help (YMMV).  if you have isolcpus set, how have you set it
https://www.codeblueprint.co.uk/2019/10/08/isolcpus-is-deprecated-kinda.html
cset is not for linuxcnc users as c states are normally disabled

what works, works... and if it works for you even better.

On Fri, 11 Feb 2022 at 07:29, Andy Howell  wrote:

>
> On 2/11/22 00:54, Phill Carter wrote:
> >
> >> On 11 Feb 2022, at 5:39 pm, Andy Howell  wrote:
> >>
> >> When I run the test suite there are a number of tests that seem to
> hang.  It could be I am just impatient. For example:
> >>
> >> tests/linuxcncrsh-tcp
> >>
> >> tests/linuxcncrsh
> >>
> >> tests/mdi-queue/oword-queue-buster
> >>
> >> Should I expect all the tests to run?
> >>
> >> I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM)
> i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.
> >>
> >> Thanks,
> >>
> >> Andy
> >>
> >>
> > Some tests do take a little while, the queuebusters seem to take longer
> than most...
> >
> > I "think" that while there is no error then it is still running.
> Thanks, I let it run 20 or 30 minutes. Guess I will sleep on it an see
> what the morning brings.
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tests hanging?

2022-02-10 Thread Andy Howell



On 2/11/22 00:54, Phill Carter wrote:



On 11 Feb 2022, at 5:39 pm, Andy Howell  wrote:

When I run the test suite there are a number of tests that seem to hang.  It 
could be I am just impatient. For example:

tests/linuxcncrsh-tcp

tests/linuxcncrsh

tests/mdi-queue/oword-queue-buster

Should I expect all the tests to run?

I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM) 
i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.

Thanks,

Andy



Some tests do take a little while, the queuebusters seem to take longer than 
most...

I "think" that while there is no error then it is still running.
Thanks, I let it run 20 or 30 minutes. Guess I will sleep on it an see 
what the morning brings.

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tests hanging?

2022-02-10 Thread Phill Carter



> On 11 Feb 2022, at 5:39 pm, Andy Howell  wrote:
> 
> When I run the test suite there are a number of tests that seem to hang.  It 
> could be I am just impatient. For example:
> 
> tests/linuxcncrsh-tcp
> 
> tests/linuxcncrsh
> 
> tests/mdi-queue/oword-queue-buster
> 
> Should I expect all the tests to run?
> 
> I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM) 
> i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.
> 
> Thanks,
> 
> Andy
> 
> 

Some tests do take a little while, the queuebusters seem to take longer than 
most...

I "think" that while there is no error then it is still running.

> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] tests hanging?

2022-02-10 Thread Andy Howell
When I run the test suite there are a number of tests that seem to 
hang.  It could be I am just impatient. For example:


tests/linuxcncrsh-tcp

tests/linuxcncrsh

tests/mdi-queue/oword-queue-buster

Should I expect all the tests to run?

I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM) 
i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.


Thanks,

Andy



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users