[squeak-dev] Confusion! Test failure on test run; Test success on test debug.

rabbit rabbit at callistohouse.org
Fri Dec 23 07:58:47 UTC 2022


More investigation. List of hard test failure, in run and debug:

    #testConstructedBMPString.
    #testConstructedBitString.
    #testConstructedByteArray.
    #testConstructedIA5String.
    #testConstructedPrintableString.
    #testConstructedTeletexString.
    #testConstructedUTF8String.
    #testConstructedUniversalString.
    #testIndefiniteLegthSequence.
    #testMappedAnyDefinedByType.
    #testMappedAnyType.
    #testSequence.
    #testSet.

Next a list of tests which are like #testNull, fail in run, pass in debug.

    #testBMPString.
    #testBoolean.
    #testBigInteger.
    #testBitString.
    #testByteArray.
    #testDefinedImplcitConstructedType.
    #testDefinedUnmappedSequenceType.
    #testDefinedUnmappedSetType.
    #testGeneralString.
    #testGraphicString.
    #testIA5String.
    #testISO646String.
    #testInteger.
    #testMappedImplicitConsctructedType.
    #testNull.
    #testNumericString.
    #testObjectIdentifier.
    #testPrinableString.
    #testReal.
    #testT61String.
    #testTeletexString.
    #testUTCTime.
    #testUniversalString.
    #testUtf8String.
    #testVideotexString.
    #testVisibleString.
    #testReal.

I will be investigating the hard failures COuld anyone provide some 
insight why the others pass in debug, but not run?

Gratefully,
rabbit

On 12/23/22 02:24, rabbit wrote:
>
> I have a test method ASN1Test>>#testNull testing ASN1NullType. Many of 
> the other tests pass in both run and debug, but this one works in 
> debug but fails in run. I do have other errors and 1 other failure, 
> for different reasons. I am investigating them. But I am very confused 
> why this would be the case for ASN1NullType.
>
> thanks!
> - rabbit
>
> First the changes I have been making to achieve Substitution 
> Serialization using ASN1
>
>     #BROKEN Lots of changes. Primary changes plus other refactoring:
>
>     1 - Introduced ASN1Tag class and supporting classTagging
>     2 - Using ELinda in the ASN1Module as the Type registry
>     3 - Expounded on v3.8 protocol messages to support Brokers and
>     Bridges for network fault-tolerance and DDOS resilient
>     communications. (why I ditched the working version of remote, I guess)
>     4 - Created EVatLinda and EVatSubspace, without a Subspace mutex,
>     which rely on the Vat to remove contention. Single-threaded! I
>     subclassed ELinda & ESubspace from these, which includes the
>     Subspace mutex.
>
>     - rabbit
>
> To load ESqueak.alpha, if you wish to help me figure this out, please 
> doIt to:
>
>     Installer ss project: 'Cryptography'; install: 'ESqueak.alpha'.
>
> Total run results in the Test Runner
>
> ASN1NullType test debug success
>
> ASN1NullType test run failure
>
> -- 
> 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧
>   𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨!
>          𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 🐰
>
-- 
𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧
  𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨!
         𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 🐰
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221223/9be34a6f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Text-results.jpg
Type: image/jpeg
Size: 10279 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221223/9be34a6f/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Debugger-ASN1NullType-test-debug-success.jpg
Type: image/jpeg
Size: 91855 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221223/9be34a6f/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Debugger-ASN1NullType-test-run-failure.jpg
Type: image/jpeg
Size: 94153 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221223/9be34a6f/attachment-0005.jpg>


More information about the Squeak-dev mailing list