Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
slapos.core
Commits
2ca2830d
Commit
2ca2830d
authored
Aug 28, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/testcase: snapshot software when installation failed
parent
7609ce78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
slapos/testing/testcase.py
slapos/testing/testcase.py
+1
-0
No files found.
slapos/testing/testcase.py
View file @
2ca2830d
...
@@ -378,6 +378,7 @@ def installSoftwareUrlList(cls, software_url_list, max_retry=10, debug=False):
...
@@ -378,6 +378,7 @@ def installSoftwareUrlList(cls, software_url_list, max_retry=10, debug=False):
checkSoftware
(
cls
.
slap
,
software_url
)
checkSoftware
(
cls
.
slap
,
software_url
)
cls
.
logger
.
debug
(
"Done checking software %s"
,
software_url
)
cls
.
logger
.
debug
(
"Done checking software %s"
,
software_url
)
except
BaseException
as
e
:
except
BaseException
as
e
:
_storeSoftwareSnapshot
(
'setupModule failed installing software'
)
if
not
debug
:
if
not
debug
:
cls
.
logger
.
exception
(
"Error building software, removing"
)
cls
.
logger
.
exception
(
"Error building software, removing"
)
try
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment