This is a follow up of the previous status. macOS and all *nixes (except ooRexx Z, I am on to that) now passes all samples (and other) tests. For Windows the synchronousConcurrency.testGroup hangs quite often and prevents the test to continue. This is what I see when I abort a hanging test run:
Executing ...\ooRexx\samples\synchronousConcurrency.testGroup Build was aborted Aborted by P.O. Jonsson 104 *-* guard on when actionPending 73 *-* expose queue actionPending 135 *-* item = queue~nextItem 118 *-* queue~addItem(stream~linein) Error 4 running C:\Program Files (x86)\ooRexx\samples\synchronousConcurrency.rex line 104: Program interrupted. Error 4 running C:\Program Files (x86)\ooRexx\samples\synchronousConcurrency.rex line 73: Program interrupted. Error 4.1: Program interrupted with HALT condition. Error 4.1: Program interrupted with HALT condition. Finished: ABORTED I have tried the synchronousConcurrency.rex sample locally and I can make it freeze every now and then on Windows. I suggest that Erich or Rick look a bit on what is going on here. 2nd problem is not related to the test cases but is related to a fix Erich did last week. On the Raspberry Pi Raspbian94 misses values in the GUARD.testGroup. Again something for Erich and Rick. [failure] 20210222 16:18:17.062369 svn: r12159 Change date: 2021-02-12 14:30:24 +0100 Test: TEST_WAIT_SIMPLE_TRIGGER Class: GUARD.testGroup File: .../ooRexx/base/keyword/GUARD.testGroup Line: 218 Failed: assertEquals Expected: 1 2 3 4 5 Actual: 2 3 4 5 Message: GUARD ON WHEN must only trigger for positive numbers, but in very rare cases might miss a valid one [failure] 20210222 17:19:41.019231 svn: r12159 Change date: 2021-02-12 14:30:24 +0100 Test: TEST_WAIT_SIMPLE_TRIGGER Class: GUARD.testGroup File: .../ooRexx/base/keyword/GUARD.testGroup Line: 218 Failed: assertEquals Expected: 1 2 3 4 5 Actual: 1 2 4 5 Message: GUARD ON WHEN must only trigger for positive numbers, but in very rare cases might miss a valid one Hälsningar/Regards/Grüsse, P.O. Jonsson oor...@jonases.se > Am 21.02.2021 um 22:34 schrieb P.O. Jonsson <oor...@jonases.se>: > > This is just to say that we now have 36 new TestGroups for the samples: > > On macOS/Darwin > 150 new tests > 1212 new assertions > > On Windows > 145 new tests > 1103 new assertions > > The testing take some 2-3 minutes longer. > > I have confirmed that all tests pass for macOS and Windows on Jenkins but > currently the Unix/Linux builds do not pick up the tests. I have tested > locally and my Linux test runs, but I have not committed the changes I did to > the Unix/Linux parts of FileUtils.cls, once I have checked them more in > detail I will submit them. > > For a local build on Ubuntu I noted > 151 new tests > 1109 new assertions > > The numbers vary since Windows have tests that do not run on *nix and vice > versa. > > The first time on Windows-32 I experienced a hang in > synchronousConcurrency.testGroup. This is a very simple test that only checks > the output of the sample synchronousConcurrency.rex (just lines of text), but > the test case uses a queue to send data between two threads so it was the > sample itself that hang and not the test case. I suggest to keep also > „troublesome“ test cases (philfork is another one) to see if more such > errors occur. These might hint to problems in the implementation that we did > not see before. > > Finally scclient, scserver, sfclient and sfserver testGroups all create popup > „Internet“ warnings on macOS, I think because the samples use sockets. The > pop-ups go away after a minute or so but they are somewhat annoying (and can > not be blocked), but on Jenkins I have seen no problems with them. > > Any feedback is welcome > > Hälsningar/Regards/Grüsse, > P.O. Jonsson > oor...@jonases.se <mailto:oor...@jonases.se> > > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel