Issues with test & make [was Time for 3.1.7 ?]

Faré fahree at gmail.com
Sun Jan 31 01:40:31 UTC 2016


> I'm still finding oddities in the test process inside/outside of make.
>
> First test on ccl failed on test-sysdef-asdf.script (inside make
> test-all-no-upgrade-no-stop):
>
>
> Load ASDF with proper configuration: should find asdf.asd from the
> source above
> ;Loading #P"/Users/rpg/lisp/asdf/asdf.asd"...
> ;Loading #P"/Users/rpg/lisp/asdf/uiop/uiop.asd"...
> ;Loading
> #P"/Users/rpg/lisp/asdf/build/fasls/ccl-1.10-f96-macosx-x64/asdf/build/asdf.dx64fsl"...
> ; Upgrading ASDF from version 3.1.6.11 to version 3.1.6.12
> TEST ABORTED: These two expressions fail comparison with EQUAL:
>  NIL evaluates to NIL
>  (SYSTEM-SOURCE-FILE (FIND-SYSTEM :ASDF)) evaluates to
> #P"/Users/rpg/lisp/asdf/asdf.asd"
>  (21065C10) : 1 (RAW-PRINT-BACKTRACE
>                  :STREAM
>                  #<BASIC-CHARACTER-OUTPUT-STREAM UTF-8 (FILE/1)
> #x30200044C77D>
>                  :COUNT
>                  69
>                  :CONDITION
>                  #<SIMPLE-ERROR #x302000B2215D>) 181
>   (&KEY :STREAM :COUNT :CONDITION)
>    STREAM: #<BASIC-CHARACTER-OUTPUT-STREAM UTF-8 (FILE/1) #x30200044C77D>
>    COUNT: 69
>    CONDITION: #<SIMPLE-ERROR #x302000B2215D>
>
>   *DEBUG-IO*: #<BASIC-CHARACTER-OUTPUT-STREAM UTF-8 (FILE/1) #x30200044C77D>
>
> this failure occurs in this block:
>
> (DBG "Load ASDF with proper configuration: should find asdf.asd from the
> source above")
> (initialize-source-registry
>  `(:source-registry
>    (:directory ,*asdf-directory*)
>    (:directory ,*uiop-directory*)
>    :ignore-inherited-configuration))
> (clear-system "asdf")
> (load-system :asdf)
> ;; This time we found it, but it was skipped because the version was the
> same
> (assert-equal nil (system-source-file (find-system :asdf)))
>
> Note the remarks about upgrading from one pre-release version of ASDF to
> another.  This suggests to me that there's some leakage of prior state
> into the tests -- something isn't properly cleared.
>
>
> Second test of make test l=ccl t=test-sysdef-asdf.script succeeds.
>
> I suspect that there's some leakage of state in the filesystem
>
That's weird. This kind of failure doesn't fit in my understanding of
what could happen, unless you have two make processes running in
parallel in the same filesystem. That said, I admit most of the useful
knowledge is paged out of my active memory.

I admit that working on both bazel.io and asdf makes me sorry for both
systems in some way and want to have a best of both worlds. But not so
much that I've started working on it yet.

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
When you've seen one nuclear war, you've seen them all.



More information about the asdf-devel mailing list