Skip to content

Test #21: #32

@wkirschenmann

Description

@wkirschenmann
          Test #21:
1/4 Test  #21: test_oth_counters.double_oth_scalar_tests.test_count ......***Failed    3.35 sec

======================================================================
FAIL: test_count (test_oth_counters.double_oth_scalar_tests) [nLoop:2  a:0   b:1]
Checks that instruction count is correct
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/pene_build/Test/test_counters/testCounterGenerator.py", line 161, in test_count
    self.checkwithoutresult(self.counterMode, self.tls, self.precision, self.operation, self.mode,  2, 0, 1)
  File "/tmp/pene_build/Test/test_counters/testCounterGenerator.py", line 126, in checkwithoutresult
    nbOps = self.getNbOps(output, prec, op, mode)
  File "/tmp/pene_build/Test/test_counters/testCounterGenerator.py", line 60, in getNbOps
    self.assertRegex(output, p)
AssertionError: Regex didn't match: 'double *?oth *?scalar *?(?P<value>\\d+)' not found in '===============================================\n    PENE: Pin Enabled Numerical Exploration    \n===============================================\nValidating inputs for version_module\nValidating inputs for counters_module\nChecking configuration: FP instructions count with counter-mode=1\nChecking configuration: FP instructions count with counter-tls=0\nValidating inputs for symbol_list_generator_module\nChecking configuration: symbol list generation - no symbol file will be generated\nValidating inputs for replace_module\nChecking configuration: instruction replacement mode with fp-replace=0\nModules initialization.\nInitialization: FP instructions count.\nSet counters to "trace" instrumentation mode.\nInitialization: symbol list generation.\nInitialization: replace module.\nfp-replace None mode : no instrumentation\nModules initialized.\nThis program is used for tests purposes only. If used to check the ability of the pintool to count operations, input have to be chosen so that the result is 0 to avoid fp->string conversion.\nEnd of execution. Code returned 0.\nDisplaying counters\' information : \n----------------------------------------------------------\nPrec.  Op.     Vect.      Total      sse      avx   avx512\n----------------------------------------------------------\nf2d    cvt    scalar         2        0        2        0\n----------------------------------------------------------\n'

======================================================================
FAIL: test_count (test_oth_counters.double_oth_scalar_tests) [nLoop:9  a:0   b:1]
Checks that instruction count is correct
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/pene_build/Test/test_counters/testCounterGenerator.py", line 163, in test_count
    self.checkwithoutresult(self.counterMode, self.tls, self.precision, self.operation, self.mode, 9, 0, 1)
  File "/tmp/pene_build/Test/test_counters/testCounterGenerator.py", line 126, in checkwithoutresult
    nbOps = self.getNbOps(output, prec, op, mode)
  File "/tmp/pene_build/Test/test_counters/testCounterGenerator.py", line 60, in getNbOps
    self.assertRegex(output, p)
AssertionError: Regex didn't match: 'double *?oth *?scalar *?(?P<value>\\d+)' not found in '===============================================\n    PENE: Pin Enabled Numerical Exploration    \n===============================================\nValidating inputs for version_module\nValidating inputs for counters_module\nChecking configuration: FP instructions count with counter-mode=1\nChecking configuration: FP instructions count with counter-tls=0\nValidating inputs for symbol_list_generator_module\nChecking configuration: symbol list generation - no symbol file will be generated\nValidating inputs for replace_module\nChecking configuration: instruction replacement mode with fp-replace=0\nModules initialization.\nInitialization: FP instructions count.\nSet counters to "trace" instrumentation mode.\nInitialization: symbol list generation.\nInitialization: replace module.\nfp-replace None mode : no instrumentation\nModules initialized.\nThis program is used for tests purposes only. If used to check the ability of the pintool to count operations, input have to be chosen so that the result is 0 to avoid fp->string conversion.\nEnd of execution. Code returned 0.\nDisplaying counters\' information : \n----------------------------------------------------------\nPrec.  Op.     Vect.      Total      sse      avx   avx512\n----------------------------------------------------------\nf2d    cvt    scalar         2        0        2        0\n----------------------------------------------------------\n'

----------------------------------------------------------------------
Ran 1 test in 3.011s


FAILED (failures=2)
the commandline is /mnt/c/Users/Aneo_1/source/repos/PENE/Pin/Linux/pin -t /tmp/pene_build/src/libpene.so -counter-mode 1 -counter-tls 0 -- /tmp/pene_build/Test/test_counters/test_counters_executable oth double scalar 2 0 1
===============================================
    PENE: Pin Enabled Numerical Exploration
===============================================
Validating inputs for version_module
Validating inputs for counters_module
Checking configuration: FP instructions count with counter-mode=1
Checking configuration: FP instructions count with counter-tls=0
Validating inputs for symbol_list_generator_module
Checking configuration: symbol list generation - no symbol file will be generated
Validating inputs for replace_module
Checking configuration: instruction replacement mode with fp-replace=0
Modules initialization.
Initialization: FP instructions count.
Set counters to "trace" instrumentation mode.
Initialization: symbol list generation.
Initialization: replace module.
fp-replace None mode : no instrumentation
Modules initialized.
This program is used for tests purposes only. If used to check the ability of the pintool to count operations, input have to be chosen so that the result is 0 to avoid fp->string conversion.
End of execution. Code returned 0.
Displaying counters' information :
----------------------------------------------------------
Prec.  Op.     Vect.      Total      sse      avx   avx512
----------------------------------------------------------
f2d    cvt    scalar         2        0        2        0
----------------------------------------------------------

the commandline is /mnt/c/Users/Aneo_1/source/repos/PENE/Pin/Linux/pin -t /tmp/pene_build/src/libpene.so -counter-mode 1 -counter-tls 0 -- /tmp/pene_build/Test/test_counters/test_counters_executable oth double scalar 9 0 1
===============================================
    PENE: Pin Enabled Numerical Exploration
===============================================
Validating inputs for version_module
Validating inputs for counters_module
Checking configuration: FP instructions count with counter-mode=1
Checking configuration: FP instructions count with counter-tls=0
Validating inputs for symbol_list_generator_module
Checking configuration: symbol list generation - no symbol file will be generated
Validating inputs for replace_module
Checking configuration: instruction replacement mode with fp-replace=0
Modules initialization.
Initialization: FP instructions count.
Set counters to "trace" instrumentation mode.
Initialization: symbol list generation.
Initialization: replace module.
fp-replace None mode : no instrumentation
Modules initialized.
This program is used for tests purposes only. If used to check the ability of the pintool to count operations, input have to be chosen so that the result is 0 to avoid fp->string conversion.
End of execution. Code returned 0.
Displaying counters' information :
----------------------------------------------------------
Prec.  Op.     Vect.      Total      sse      avx   avx512
----------------------------------------------------------
f2d    cvt    scalar         2        0        2        0
----------------------------------------------------------

Originally posted by @wkirschenmann in #29 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions