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

P2p ping #246

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
23 changes: 20 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ pipeline {
run_in_pyenv('make -C sPyNNaker8NewModelTemplate/c_models')
run_in_pyenv('make -C SpiNNakerGraphFrontEnd/gfe_examples')
run_in_pyenv('make -C SpiNNakerGraphFrontEnd/gfe_integration_tests/')
// Keep for later
// run_in_pyenv('make -C SpiNNakerGraphFrontEnd/link_test/')
run_in_pyenv('make -C SpiNNGym/c_code')
run_in_pyenv('make -C MarkovChainMonteCarlo/c_models')
run_in_pyenv('make -C SpiNNaker_PDP2/c_code')
Expand Down Expand Up @@ -286,10 +288,24 @@ pipeline {
when {
environment name: 'THE_JOB', value: 'Integration_Tests_Cron_Job'
}
environment {
SPALLOC_PASSWORD = credentials('spalloc-password')
}
steps {
create_spynnaker_config()
create_gfe_config()
// Keep for later
/* catchError(stageResult: 'FAILURE', catchInterruptions: false) {
run_pytest('SpiNNakerGraphFrontEnd/link_test/run_link_test.py', 12000, 'test_links', 'integration', '16')
}
catchError(stageResult: 'FAILURE', catchInterruptions: false) {
create_spynnaker_config()
run_pytest('sPyNNaker/test_whole_board', 12000, 'test_whole_machine', 'integration', '16')
run_pytest('sPyNNaker/test_whole_board/test_borders.py', 12000, 'test_borders', 'integration', '16')
}
catchError(stageResult: 'FAILURE', catchInterruptions: false) {
run_pytest('sPyNNaker/test_whole_board/test_board_sets.py', 12000, 'test_board_sets', 'integration', '16')
} */
catchError(stageResult: 'FAILURE', catchInterruptions: false) {
run_pytest('sPyNNaker/test_whole_board/test_whole_board.py', 12000, 'test_whole_machine', 'integration', '16')
}
}
}
Expand Down Expand Up @@ -335,7 +351,8 @@ def run_pytest(String tests, int timeout, String results, String covfile, String
covfile += '_cov.xml'
sh 'echo "<testsuite tests="0"></testsuite>" > ' + resfile
run_in_pyenv('py.test ' + tests +
' -rs -n ' + threads + ' --forked --show-progress --cov-config=.coveragerc --cov-branch ' +
' -rs -n ' + threads + ' --forked --maxschedchunk=1 --show-progress' +
' --cov-config=.coveragerc --cov-branch ' +
'--cov spynnaker8 --cov spynnaker --cov spinn_front_end_common --cov pacman ' +
'--cov data_specification --cov spinnman --cov spinn_machine --cov spalloc ' +
'--cov spinn_utilities --cov spinnaker_graph_front_end ' +
Expand Down