Maybe first run a fsck on the file system? René.
> On 17 Feb 2021, at 21:06, P.O. Jonsson <oor...@jonases.se> wrote: > > > Dear developers, > > I am having problems with two test cases on one particular machine. Since my > other machines pass all tests and the setup is almost identical I must > conclude that something is wrong with this machine. I have made sure I have > the same tools on all machines and this machine have passed all tests in the > past. I have deleted the entire build and testcase directories and downloaded > them again to no avail, also going back in time as far as build 1200. It does > not matter if I use a pre-built or if I build locally. It also does not > matter if I use a HFS+ disk or a APFS disk, I can even have ooRexx installed > on a DOS USB stick, and then run the tests from the same USB stick- It works > on other machines and fails on this particular machine. > > Here the two test cases, I have traced them but did not get any wiser. Any > help is most welcome, I have run out of ideas on how to fix this. > > macOS High Sierra > Modell-Identifizierung: MacPro5,1 > Prozessortyp: 6-Core Intel Xeon > Prozessorgeschwindigkeit: 2,93 GHz > Anzahl der Prozessoren: 2 > > rexx testOORexx.rex -s -S -V 10 -X native_API > > [failure] 20210216 22:36:17.094614 > svn: r12138 Change date: 2020-12-09 19:12:50 +0100 > Test: TEST_FILE_ACCESSED_FRACTIONS > Class: File.testGroup > File: .../ooRexx/base/class/File.testGroup > Line: 339 > Failed: assertSame > Expected: 2021-02-16T22:36:17.094402 > Actual: 2021-02-16T22:36:17.000000 > > [failure] 20210216 22:36:17.109936 > svn: r12138 Change date: 2020-12-09 19:12:50 +0100 > Test: TEST_FILE_LASTMODIFIED_FRACTIONS > Class: File.testGroup > File: .../ooRexx/base/class/File.testGroup > Line: 267 > Failed: assertSame > Expected: 2021-02-16T22:36:17.109822 > Actual: 2021-02-16T22:36:17.000000 > > > .. Executing File.testGroup test case TEST_FILE_ACCESSED_FRACTIONS > 336 *-* file = .TemporaryTestFile~new(self, "fractions")~~create("") > >>> "a TEMPORARYTESTFILE" > 337 *-* now = .DateTime~new > >>> "a DateTime" > 338 *-* file~lastAccessed = now > 339 *-* self~assertSame(now, file~lastAccessed) > > .. Executing File.testGroup test case TEST_FILE_LASTMODIFIED > 178 *-* f = .TemporaryTestFile~new(self, > "test_file_lastmodified")~~create("File.testGroup: test_file_lastmodified") > >>> "a TEMPORARYTESTFILE" > 179 *-* s = .Stream~new(f) > >>> "a Stream" > 187 *-* do 2 -- we'll run two iterations: first w/o, and then with a > read/write lock > >K> "FOR" => "2" > 190 *-* tLastModified = f~lastModified -- e. g. 2015-06-06 > 15:12:08.000000 > >>> "a DateTime" > 191 *-* self~assertTrue(tLastModified~isA(.DateTime)) > 195 *-* now = .DateTime~new~string~left(23) -- keep milliseconds, ignore > microseconds > >>> "2021-02-17T11:45:51.204" > 196 *-* tLastModified = tLastModified~string~left(23) -- keep > milliseconds, ignore microseconds > >>> "2021-02-17T11:45:51.000" > 197 *-* self~assertTrue(tLastModified <= now, "test timestamp" > tLastModified" should be before" now) > 198 *-* tLastModified = tLastModified~string~left(19) -- we'll ignore > fractions of seconds > >>> "2021-02-17T11:45:51" > 202 *-* q = .Stream~new(f) > >>> "a Stream" > 203 *-* t = q~query("timestamp") -- e. g. 2015-06-06 15:12:08 > >>> "2021-02-17 11:45:51" > 204 *-* tQuery = t~word(1)"T"t~word(2) > >>> "2021-02-17T11:45:51" > 205 *-* self~assertEquals(tLastModified, tQuery, "~lastModified > timestamp" tLastModified" should be equal to ~query('timestamp')" tQuery) > 208 *-* q~open("read shared") -- will silently fail if > locked > >>> "READY:" > 209 *-* t = q~query("timestamp") -- e. g. 2015-06-06 15:12:08 > >>> "2021-02-17 11:45:51" > 210 *-* tQuery = t~word(1)"T"t~word(2) > >>> "2021-02-17T11:45:51" > 211 *-* self~assertEquals(tLastModified, tQuery, "~lastModified > timestamp" tLastModified" should be equal to ~query('timestamp')" tQuery) > 212 *-* q~close > >>> "READY:" > 215 *-* t = SysGetFileDateTime(f~absolutePath, "write") -- e. g. > 2015-06-06 15:12:08 > >>> "2021-02-17 11:45:51" > 216 *-* tSysGet = t~word(1)"T"t~word(2) > >>> "2021-02-17T11:45:51" > 217 *-* self~assertEquals(tLastModified, tSysGet, "~lastModified > timestamp" tLastModified" should be equal to SysGetFileDateTime() timestamp" > tSysGet) > 220 *-* call SysFileTree f~absolutePath, "FILE.", "FL" -- list files > only; use long timestamps > >>> "0" > 221 *-* tTree = file.1~word(1)"T"file.1~word(2) -- e. g. 2015-06-06 > 15:12:08 > >>> "2021-02-17T11:45:51" > 222 *-* self~assertEquals(tLastModified, tTree, "~lastModified > timestamp" tLastModified" should be equal to SysFileTree() timestamp" tTree) > 227 *-* self~assertEquals("READY:", s~open("both"), "couldn't get > read/write lock for test file '"f~name"'") > 228 *-* f~lastModified = f~lastModified - .TimeSpan~fromDays(180) > 229 *-* end > 187 *-* do 2 -- we'll run two iterations: first w/o, and then with a > read/write lock > 190 *-* tLastModified = f~lastModified -- e. g. 2015-06-06 > 15:12:08.000000 > >>> "a DateTime" > 191 *-* self~assertTrue(tLastModified~isA(.DateTime)) > 195 *-* now = .DateTime~new~string~left(23) -- keep milliseconds, ignore > microseconds > >>> "2021-02-17T11:45:51.205" > 196 *-* tLastModified = tLastModified~string~left(23) -- keep > milliseconds, ignore microseconds > >>> "2020-08-21T11:45:51.000" > 197 *-* self~assertTrue(tLastModified <= now, "test timestamp" > tLastModified" should be before" now) > 198 *-* tLastModified = tLastModified~string~left(19) -- we'll ignore > fractions of seconds > >>> "2020-08-21T11:45:51" > 202 *-* q = .Stream~new(f) > >>> "a Stream" > 203 *-* t = q~query("timestamp") -- e. g. 2015-06-06 15:12:08 > >>> "2020-08-21 11:45:51" > 204 *-* tQuery = t~word(1)"T"t~word(2) > >>> "2020-08-21T11:45:51" > 205 *-* self~assertEquals(tLastModified, tQuery, "~lastModified > timestamp" tLastModified" should be equal to ~query('timestamp')" tQuery) > 208 *-* q~open("read shared") -- will silently fail if > locked > >>> "READY:" > 209 *-* t = q~query("timestamp") -- e. g. 2015-06-06 15:12:08 > >>> "2020-08-21 11:45:51" > 210 *-* tQuery = t~word(1)"T"t~word(2) > >>> "2020-08-21T11:45:51" > 211 *-* self~assertEquals(tLastModified, tQuery, "~lastModified > timestamp" tLastModified" should be equal to ~query('timestamp')" tQuery) > 212 *-* q~close > >>> "READY:" > 215 *-* t = SysGetFileDateTime(f~absolutePath, "write") -- e. g. > 2015-06-06 15:12:08 > >>> "2020-08-21 11:45:51" > 216 *-* tSysGet = t~word(1)"T"t~word(2) > >>> "2020-08-21T11:45:51" > 217 *-* self~assertEquals(tLastModified, tSysGet, "~lastModified > timestamp" tLastModified" should be equal to SysGetFileDateTime() timestamp" > tSysGet) > 220 *-* call SysFileTree f~absolutePath, "FILE.", "FL" -- list files > only; use long timestamps > >>> "0" > 221 *-* tTree = file.1~word(1)"T"file.1~word(2) -- e. g. 2015-06-06 > 15:12:08 > >>> "2020-08-21T11:45:51" > 222 *-* self~assertEquals(tLastModified, tTree, "~lastModified > timestamp" tLastModified" should be equal to SysFileTree() timestamp" tTree) > 227 *-* self~assertEquals("READY:", s~open("both"), "couldn't get > read/write lock for test file '"f~name"'") > 228 *-* f~lastModified = f~lastModified - .TimeSpan~fromDays(180) > 229 *-* end > 187 *-* do 2 -- we'll run two iterations: first w/o, and then with a > read/write lock > 230 *-* s~close > >>> "READY:" > 231 *-* f~delete > >>> "1" > > Hälsningar/Regards/Grüsse, > P.O. Jonsson > 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