Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
strudel2_backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
strudel2_backend
Commits
92ddc557
Commit
92ddc557
authored
4 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
try this
parent
0fef6238
No related branches found
Branches containing commit
No related tags found
3 merge requests
!77
Revert "disable agressive kill and restart"
,
!45
Test
,
!44
Dev
Pipeline
#11984
passed
4 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tes/sshwrapper/__init__.py
+1
-0
1 addition, 0 deletions
tes/sshwrapper/__init__.py
tes/tunnelstat/__init__.py
+0
-2
0 additions, 2 deletions
tes/tunnelstat/__init__.py
with
1 addition
and
2 deletions
tes/sshwrapper/__init__.py
+
1
−
0
View file @
92ddc557
...
...
@@ -202,6 +202,7 @@ class Ssh:
raise
SshCtrlException
(
stderr
.
decode
())
sess
.
lock
.
release
()
logger
.
error
(
'
leaving get_ctrl_master_socket {}
'
,
sess
.
ctrl_processes
[
ctrlsocket
].
returncode
)
return
ctrlsocket
@staticmethod
...
...
This diff is collapsed.
Click to expand it.
tes/tunnelstat/__init__.py
+
0
−
2
View file @
92ddc557
...
...
@@ -146,7 +146,6 @@ class SSHSession:
import
signal
import
logging
import
time
self
.
lock
.
acquire
()
logger
=
logging
.
getLogger
()
logger
.
debug
(
"
shuting down ssh session for {} last seen at {}
"
.
format
(
self
.
authtok
,
self
.
last
))
for
pid
in
self
.
pids
:
...
...
@@ -180,7 +179,6 @@ class SSHSession:
for
tunnel
in
self
.
tunnels
:
tunnel
.
kill
()
(
stdout
,
stderr
)
=
tunnel
.
communicate
()
self
.
lock
.
acquire
()
@staticmethod
def
test_sshsession
(
sess
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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