Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
Jason, I've committed a fix for the issue. Can you please build the latest trunk and confirm whether this works? Thanks! ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
agrellum@openindiana:~$ readlink -f /proc/$$/path/a.out /usr/bin/bash ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
> > answer 0 may apply to OpenIndiana > Jason, that's why I asked for the output of readlink -f /proc/$$/path/a.out Please provide the output of *exactly* this command, don't change " path/a.out" to "usr/bin/rexx" please ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
May help and I think answer 0 may apply to OpenIndiana https://stackoverflow.com/questions/47472762/on-solaris-how-to-get-the-full-path-of-executable-of-running-process-programatic?rq=1 ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
Using realpath from recommended in man page. agrellum@openindiana:~$ echo /proc/$$/path/usr/bin/rexx /proc/5163/path/usr/bin/rexx agrellum@openindiana:~$ realpath -e /proc/$$/usr/bin/rexx realpath: /proc/5163/usr/bin/rexx: No such file or directory ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
agrellum@openindiana:~$ echo /proc/$$/usr/bin/rexx /proc/5144/usr/bin/rexx agrellum@openindiana:~$ readlink -f /proc/$$/usr/bin/rexx agrellum@openindiana:~$ ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
What is the output of these commands? ($$ should resolve to your shell's pid; if it doesn't, please manually insert the pid) echo /proc/$$/path/a.out readlink -f /proc/$$/path/a.out ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
-- Looking for getexecname -- Looking for getexecname - not found Will have to research, remember WindowMaker complaining when opening apps. ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] OpenIndiana r11836 new testGroup error
Hi Jason, to retrieve the current executable's path, we expect getexecname() to be available for Solaris. Can you please give us the cmake build output (displayed when you run cmake) for -- Looking for getexecname What is the output of these commands? ($$ should resolve to your shell's pid; if it doesn't, please manually insert the pid) echo /proc/$$/path/a.out readlink -f /proc/$$/path/a.out Thanks!! ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
[Oorexx-devel] OpenIndiana r11836 new testGroup error
[error] [20190311 14:24:09.936679] svn: r11829 Change date: 2019-03-09 14:55:54 -0500 Test: TEST_REXXINFO_EXECUTABLE Class: RexxInfo.testGroup File: .../ooRexx/base/class/RexxInfo.testGroup Event: [SYNTAX 97.1] raised unexpectedly. Object "The NIL object" does not understand message "ENDSWITH". Line: 182 182 *-* self~assertTrue(.RexxInfo~executable~endsWith("/rexx"), ".RexxInfo~executable '" || .RexxInfo~executable || "' should end in '/rexx'") *-* Compiled method "SEND" with scope "Message". 1641 *-* .message~new(self, methodName)~send 1616 *-* self~doTheTest(fName, aTestResult) -- carry out the testmethod 552 *-* test~execute(testResult, verbose) 552 *-* test~execute(testResult, verbose) 110 *-* suite~execute(testResult) 79 *-* retCode = 'worker.rex'(arguments) ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] At revision r11833
No, new is not a thing defined by the Rexx I/O standard. There is some error checking done there, but NOTREADY and a default return value is defined for the I/O operations. Rick On Mon, Mar 11, 2019 at 8:14 AM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > Then it should raise one also on > > > f = copies("F",444) > o=.stream~new(f) > > > Enrico > > > PS > ooRexx competitor… regina > Issues the proper error message > > [enrico@enrico-imac tests]$/opt/Regina/bin/rexx d.regina > 3 +++ call lineout f , "a truckload of waste" > Error 40 running "/Users/enrico/tests/d.regina", line 3: Incorrect call to > routine > Error 40.27: LINEOUT argument 1, must be a valid stream name; found . . . > . . . > > > On 11 Mar 2019, at 11:59, Rick McGuire wrote: > > Because it is not allowed to. Rexx streams raise a NOTREADY condition for > any failures. > > > ___ > 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
Re: [Oorexx-devel] At revision r11833
Then it should raise one also on f = copies("F",444) o=.stream~new(f) Enrico PS ooRexx competitor… regina Issues the proper error message [enrico@enrico-imac tests]$/opt/Regina/bin/rexx d.regina 3 +++ call lineout f , "a truckload of waste" Error 40 running "/Users/enrico/tests/d.regina", line 3: Incorrect call to routine Error 40.27: LINEOUT argument 1, must be a valid stream name; found . . . . . . > On 11 Mar 2019, at 11:59, Rick McGuire wrote: > > Because it is not allowed to. Rexx streams raise a NOTREADY condition for any > failures. ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] At revision r11833
Because it is not allowed to. Rexx streams raise a NOTREADY condition for any failures. Rick On Mon, Mar 11, 2019 at 6:53 AM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > It works ! > Thank You > Enrico > > PS > Now it is time to find out why rexx does not complain about > > d = copies("D",6000) > call sysmkdir(d) > > > f = copies("F",6000) > call lineout f , "a truckload of waste" > > > o=.stream~new(f) > o~open("replace" ) > o~lineout("a truckload of waste" ) > o~close > > Same behaviour since 4.1.2 ( at least ) > > > > > On 11 Mar 2019, at 11:29, Rick McGuire wrote: > > Ok, I found it...I am really, really surprised this never happened when I > was running the tests or Rony had never seen this when he was playing > around with the classes. > > Rick > > > ___ > 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
Re: [Oorexx-devel] At revision r11833
It works ! Thank You Enrico PS Now it is time to find out why rexx does not complain about d = copies("D",6000) call sysmkdir(d) f = copies("F",6000) call lineout f , "a truckload of waste" o=.stream~new(f) o~open("replace" ) o~lineout("a truckload of waste" ) o~close Same behaviour since 4.1.2 ( at least ) > On 11 Mar 2019, at 11:29, Rick McGuire wrote: > > Ok, I found it...I am really, really surprised this never happened when I was > running the tests or Rony had never seen this when he was playing around with > the classes. > > Rick ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] At revision r11833
Ok, I found it...I am really, really surprised this never happened when I was running the tests or Rony had never seen this when he was playing around with the classes. Rick On Mon, Mar 11, 2019 at 6:21 AM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > No tests were running > All happened after the display of the final report > E > > > > > > On 11 Mar 2019, at 10:56, Rick McGuire wrote: > > > > Do you know what test was being run? An exception at that point doesn't > really make sense. > > > > Rick > > > > > > ___ > 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
Re: [Oorexx-devel] At revision r11833
No tests were running All happened after the display of the final report E > On 11 Mar 2019, at 10:56, Rick McGuire wrote: > > Do you know what test was being run? An exception at that point doesn't > really make sense. > > Rick > ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] At revision r11833
> > what test was being run? > The exception happens (on all Jenkins build slaves we have) after all tests are finished and the final stats have been printed. ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] At revision r11833
Do you know what test was being run? An exception at that point doesn't really make sense. Rick On Mon, Mar 11, 2019 at 4:55 AM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > Running the testSuite > > 10 times on 10 runs > > > Process 7363 stopped > * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS > (code=1, address=0x1b8) > frame #0: 0x000100170a69 > librexx.5.0.0.dylib`Activity::cleanupMutexes(this=0x00010200ef10) at > Activity.cpp:3505 >3502 { >3503 if (heldMutexes != OREF_NULL) >3504 { > -> 3505 Protected semaphores = heldMutexes->a > llIndexes(); >3506 for (size_t i = 1; i <= semaphores->items(); i++) >3507 { >3508 MutexSemaphoreClass *mutex = (MutexSemaphoreClass > *)semaphores->get(i); > Target 0: (rexx) stopped. > > > ___ > 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
[Oorexx-devel] At revision r11833
Running the testSuite 10 times on 10 runs Process 7363 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1b8) frame #0: 0x000100170a69 librexx.5.0.0.dylib`Activity::cleanupMutexes(this=0x00010200ef10) at Activity.cpp:3505 3502 { 3503 if (heldMutexes != OREF_NULL) 3504 { -> 3505 Protected semaphores = heldMutexes->allIndexes(); 3506 for (size_t i = 1; i <= semaphores->items(); i++) 3507 { 3508 MutexSemaphoreClass *mutex = (MutexSemaphoreClass *)semaphores->get(i); Target 0: (rexx) stopped. ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel