Closed kpgriesser closed 4 months ago
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging NO INSPECTION HAS BEEN PERFORMED ON THIS PULL REQUEST! - This PR must be inspected by setting label 'AT: PRE-TEST INSPECTED'.
Is there a special option or environment variable need to tell sst-test-elements where to find the output for its check? When I run sst-test-elements -e test_memHA_RangeCheck
I can see the test output in my local area in sst_test_outputs but the script fails with the message it can't find the file in the sst-elements source are .../src/sst/elements/memHierarhcy/tests/refFiles
I messed up the test filename in my last comment, the filenames should be: Test: memHierarchy/tests/testRangeCheck.py Ref: memHierarchy/tests/refFiles/test_memHA_RangeCheck.out
The test logic is in testsuite_default_memHierarchy_memHA.py in the function memHA_Template
. The template uses the testcase name you pass to it (e.g., "RangeCheck") to identify which files are the test & ref files.
Thanks - should be good to go now. I ran both a passing a failing version of the test to confirm the timeout would fail the test.
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging NO INSPECTION HAS BEEN PERFORMED ON THIS PULL REQUEST! - This PR must be inspected by setting label 'AT: PRE-TEST INSPECTED'.
Status Flag 'Pre-Test Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED by label AT: PRE-TEST INSPECTED! Autotester is Removing Label; this inspection will remain valid until a new commit to source branch is performed.
Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:
Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED
Note: Testing will normally be attempted again in approx. 4 Hrs. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.
Test Name | Status |
---|---|
test_memHA_RangeCheck | FAILED |
Make-dist failure probably means the new reference & test files are missing from memHierarchy/Makefile.am so they aren't present in the distribution.
I've pushed the change to Makefile.am and attempted to test with:
autogen.sh
cd build
make clean && make -j distcheck
This failed with
ERROR: files left in build directory after distclean:
./src/sst/elements/firefly/pyfirefly.inc
./src/sst/elements/mercury/pymercury.inc
./src/sst/elements/ember/pyember.inc
I don't think this error is related to my edited so I pushed my changes
You'll also need to add testRangeCheck.py to Makefile.am
And yes, those errors are unrelated. The make-dist test runs the sst test suite on the distribution generated by make dist
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging NO INSPECTION HAS BEEN PERFORMED ON THIS PULL REQUEST! - This PR must be inspected by setting label 'AT: PRE-TEST INSPECTED'.
ok - thanks. 'make dist' appears to pass with the update to Makefile.am.
Once testRangeCheck.py is added to Makefile.am, we'll get this retested.
done
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging NO INSPECTION HAS BEEN PERFORMED ON THIS PULL REQUEST! - This PR must be inspected by setting label 'AT: PRE-TEST INSPECTED'.
Status Flag 'Pre-Test Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED by label AT: PRE-TEST INSPECTED! Autotester is Removing Label; this inspection will remain valid until a new commit to source branch is performed.
Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:
Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED
Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ gvoskuilen ]!
Status Flag 'Pull Request AutoTester' - Pull Request will be Automerged
Merge on Pull Request# 2376: IS A SUCCESS - Pull Request successfully merged
This PR adds a new parameter, range_check, to the MemNIC component. Setting this to 0 will disable the memory region overlap check.
A test has been added to memHierarchy/tests called testRangeCheck.py. The test sets the range_check parameter to 0 and should complete very quickly. If the range_check is enabled (or the disable is not working) the test will stall for a very long time and, presumably, be killed by the auto test scripts.