Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ppc32: 86% tests passed, 9 tests failed out of 63: some tests fail to account for bitness and/or endianness, it seems #652

Open
barracuda156 opened this issue Feb 24, 2023 · 0 comments

Comments

@barracuda156
Copy link
Contributor

There are a few failures on macOS ppc32:

86% tests passed, 9 tests failed out of 63

Total Test time (real) = 1315.81 sec

The following tests FAILED:
	  4 - bin-c-json (Subprocess aborted)
	 17 - bin-functional-range (Subprocess aborted)
	 20 - bin-internal-io-utils (Subprocess aborted)
	 21 - bin-internal-lang-expr (Subprocess aborted)
	 40 - bin-internal-lang-tokenizer-misc (Subprocess aborted)
	 50 - bin-internal-utils-string (Subprocess aborted)
	 55 - bin-loops-forLoop (Subprocess aborted)
	 60 - bin-types-json (Subprocess aborted)
	 61 - bin-types-primitive (Subprocess aborted)
4/63 Testing: bin-c-json
4/63 Test: bin-c-json
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/c/json"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-c-json" start time: Feb 25 05:24 CST
Output:
----------------------------------------------------------
left : [0]
right: [1864401510]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/c/json.cpp
    Line     : 164
    Function : testTypes
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 json                testTypes()                                       
      2 json                main                                              
      1 json                start                                             
================================================================================

<end of output>
Test time =   0.10 sec
----------------------------------------------------------
Test Failed.
"bin-c-json" end time: Feb 25 05:24 CST
"bin-c-json" time elapsed: 00:00:00
17/63 Testing: bin-functional-range
17/63 Test: bin-functional-range
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/functional/range"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-functional-range" start time: Feb 25 05:36 CST
Output:
----------------------------------------------------------
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/functional/range.cpp
    Line     : 104
    Function : testEvery
    Message  : Assertion Failed: Value not true
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 range               testEvery()                                       
      2 range               main                                              
      1 range               start                                             
================================================================================

<end of output>
Test time =  12.38 sec
----------------------------------------------------------
Test Failed.
"bin-functional-range" end time: Feb 25 05:36 CST
"bin-functional-range" time elapsed: 00:00:12
20/63 Testing: bin-internal-io-utils
20/63 Test: bin-internal-io-utils
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/internal/io/utils"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-internal-io-utils" start time: Feb 25 05:36 CST
Output:
----------------------------------------------------------
left : [start208351553877729918492436078783504471179082463261329874119379180341851407036170749266910053130222042109805655846281192236836335360782699948033364886989763439941394626936125701457218472760659977397761460099456595922723195695950019062626952485852721116973089181214839611650098181711601427134173202419118338681541493062631175626174701364916619769595269533842829646601258246162107177272519135803913715419144154817001531595503178662597917064766991109774408108300106120749239022590772811362509298107564352582338422923411553558975544113826659825466152872808674317549709081081592111060693915820875658102223567884586414696958682179196394812274085083268808746236802923269866372537553862111733207437776080423601938569482161209954889518144744081603587856581325942144199699112904713421514493941212348214333364790854058743917972604635162293943342385458508362978714698168067691312844678001544694956758316909186432826519787401257535234337572720721483621982802026157982802026157]
right: [start208351553877729918492436078783504471179082463261329874119379180341851407036170749266910053130222042109805655846281192236836335360782699948033364886989763439941394626936125701457218472760659977397761460099456595922723195695950019062626952485852721116973089181214839611650098181711601427134173202419118338681541493062631175626174701364916619769595269533842829646601258246162107177272519135803913715419144154817001531595503178662597917064766991109774408108300106120749239022590772811362509298107564352582338422923411553558975544113826659825466152872808674317549709081081592111060693915820875658102223567884586414696958682179196394812274085083268808746236802923269866372537553862111733207437776080423601938569482161209954889518144744081603587856581325942144199699112904713421514493941212348214333364790854058743917972604635162293943342385458508362978714698168067691312844678001544694956758316909186432826519787401257535234337572720721483621982802026157]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/internal/io/utils.cpp
    Line     : 166
    Function : testIOMethods
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 utils               testIOMethods()                                   
      2 utils               main                                              
      1 utils               start                                             
================================================================================

<end of output>
Test time =   0.07 sec
----------------------------------------------------------
Test Failed.
"bin-internal-io-utils" end time: Feb 25 05:36 CST
"bin-internal-io-utils" time elapsed: 00:00:00
21/63 Testing: bin-internal-lang-expr
21/63 Test: bin-internal-lang-expr
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/internal/lang/expr"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-internal-lang-expr" start time: Feb 25 05:36 CST
. . .
�[34m(source)�[39m:1:9: �[31mError�[39m: Expected identifier or proper expression before
delete [] foo
        �[32m^�[39m
left : [3.19892]
right: [3.19893]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/internal/lang/expr.cpp
    Line     : 542
    Function : testEval
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 expr                testEval()                                        
      2 expr                main                                              
      1 expr                start                                             
================================================================================

<end of output>
Test time =   0.16 sec
----------------------------------------------------------
Test Failed.
"bin-internal-lang-expr" end time: Feb 25 05:36 CST
"bin-internal-lang-expr" time elapsed: 00:00:00
40/63 Testing: bin-internal-lang-tokenizer-misc
40/63 Test: bin-internal-lang-tokenizer-misc
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/internal/lang/tokenizer/misc"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-internal-lang-tokenizer-misc" start time: Feb 25 05:36 CST
Output:
----------------------------------------------------------
left : [68719476735]
right: [-2408570368]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/internal/lang/tokenizer/misc.cpp
    Line     : 51
    Function : testPrimitiveMethods
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 misc                testPrimitiveMethods()                            
      2 misc                main                                              
      1 misc                start                                             
================================================================================

<end of output>
Test time =   0.09 sec
----------------------------------------------------------
Test Failed.
"bin-internal-lang-tokenizer-misc" end time: Feb 25 05:36 CST
"bin-internal-lang-tokenizer-misc" time elapsed: 00:00:00
50/63 Testing: bin-internal-utils-string
50/63 Test: bin-internal-utils-string
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/internal/utils/string"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-internal-utils-string" start time: Feb 25 05:36 CST
Output:
----------------------------------------------------------
left : [0 bytes]
right: [4 GB]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/internal/utils/string.cpp
    Line     : 158
    Function : testHex
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 string              testHex()                                         
      2 string              main                                              
      1 string              start                                             
================================================================================

<end of output>
Test time =   0.08 sec
----------------------------------------------------------
Test Failed.
"bin-internal-utils-string" end time: Feb 25 05:36 CST
"bin-internal-utils-string" time elapsed: 00:00:00
55/63 Testing: bin-loops-forLoop
55/63 Test: bin-loops-forLoop
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/loops/forLoop"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-loops-forLoop" start time: Feb 25 05:36 CST
Output:
----------------------------------------------------------
[CUDA] mode is not enabled, defaulting to [Serial] mode
[HIP] mode is not enabled, defaulting to [Serial] mode
Testing mode: Serial
left : [0]
right: [-1]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/loops/forLoop.cpp
    Line     : 61
    Function : testOuterForLoops
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 forLoop             testOuterForLoops(occa::device)                   
      2 forLoop             main                                              
      1 forLoop             start                                             
================================================================================

<end of output>
Test time =  18.88 sec
----------------------------------------------------------
Test Failed.
"bin-loops-forLoop" end time: Feb 25 05:36 CST
"bin-loops-forLoop" time elapsed: 00:00:18
60/63 Testing: bin-types-json
60/63 Test: bin-types-json
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/types/json"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-types-json" start time: Feb 25 05:46 CST
Output:
----------------------------------------------------------
left : [0.1]
right: [0.1]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/types/json.cpp
    Line     : 123
    Function : testNumber
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 json                testNumber()                                      
      2 json                main                                              
      1 json                start                                             
================================================================================

<end of output>
Test time =   0.11 sec
----------------------------------------------------------
Test Failed.
"bin-types-json" end time: Feb 25 05:46 CST
"bin-types-json" time elapsed: 00:00:00
61/63 Testing: bin-types-primitive
61/63 Test: bin-types-primitive
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests/bin/types/primitive"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/build/tests
"bin-types-primitive" start time: Feb 25 05:46 CST
Output:
----------------------------------------------------------
left : [15]
right: [0]
terminate called after throwing an instance of 'occa::exception'
  what():  
---[ Error ]--------------------------------------------------------------------
    File     : /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_libocca/libocca/work/occa-1.5.0/tests/src/types/primitive.cpp
    Line     : 123
    Function : testLoad
    Message  : Assertion Failed: Values are not equal
    Stack
      4 libocca.dylib       occa::error(std::string const&, std::string const&, int, std::string const&)
      3 primitive           testLoad()                                        
      2 primitive           main                                              
      1 primitive           start                                             
================================================================================

<end of output>
Test time =   0.07 sec
----------------------------------------------------------
Test Failed.
"bin-types-primitive" end time: Feb 25 05:46 CST
"bin-types-primitive" time elapsed: 00:00:00

Complete log:
10.6.8_ppc32_tests.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant