Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dedal
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
dedal
Commits
92f210b5
Commit
92f210b5
authored
1 month ago
by
Jithu Murugan
Browse files
Options
Downloads
Patches
Plain Diff
- Added a 10 minute timeout for testing if any specific command hangs on subprocess.run command!
parent
c3166ff5
No related branches found
No related tags found
2 merge requests
!6
ci(dedal): implement coverage calculation for the library
,
!4
feat(spack_operation): implement setup_spack_env functionality
Pipeline
#59686
failed with stages
in 1 minute and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dedal/utils/utils.py
+1
-1
1 addition, 1 deletion
dedal/utils/utils.py
with
1 addition
and
1 deletion
dedal/utils/utils.py
+
1
−
1
View file @
92f210b5
...
...
@@ -30,7 +30,7 @@ def run_command(*args, logger=logging.getLogger(__name__), info_msg: str = '', e
exception
=
None
,
**
kwargs
):
try
:
logger
.
info
(
f
'
{
info_msg
}
: args:
{
args
}
'
)
return
subprocess
.
run
(
args
,
**
kwargs
)
return
subprocess
.
run
(
args
,
**
kwargs
,
timeout
=
10
*
60
)
except
subprocess
.
CalledProcessError
as
e
:
if
exception_msg
is
not
None
:
logger
.
error
(
f
"
{
exception_msg
}
:
{
e
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Jithu Murugan
@jmurugan
mentioned in commit
997d22b0
·
1 month ago
mentioned in commit
997d22b0
mentioned in commit 997d22b052d32246d67b4f702c0e816a88029618
Toggle commit list
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment