Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gekkofs
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
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
gekkofs
Commits
274ca10d
Commit
274ca10d
authored
1 year ago
by
Ramon Nou
Browse files
Options
Downloads
Patches
Plain Diff
PosixPath cannot be used in env (Python sh)
Change all env PosixPath to str
parent
6ad676de
No related branches found
No related tags found
1 merge request
!169
Resolve "Remove Parallax Testing"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/integration/harness/gkfs.py
+17
-17
17 additions, 17 deletions
tests/integration/harness/gkfs.py
with
17 additions
and
17 deletions
tests/integration/harness/gkfs.py
+
17
−
17
View file @
274ca10d
...
...
@@ -238,8 +238,8 @@ class Daemon:
self
.
_patched_env
=
{
'
LD_LIBRARY_PATH
'
:
libdirs
,
'
GKFS_HOSTS_FILE
'
:
self
.
cwd
/
gkfs_hosts_file
,
'
GKFS_DAEMON_LOG_PATH
'
:
self
.
logdir
/
gkfs_daemon_log_file
,
'
GKFS_HOSTS_FILE
'
:
str
(
self
.
cwd
/
gkfs_hosts_file
)
,
'
GKFS_DAEMON_LOG_PATH
'
:
str
(
self
.
logdir
/
gkfs_daemon_log_file
)
,
'
GKFS_DAEMON_LOG_LEVEL
'
:
gkfs_daemon_log_level
,
}
self
.
_env
.
update
(
self
.
_patched_env
)
...
...
@@ -416,10 +416,10 @@ class Client:
self
.
_patched_env
=
{
'
LD_LIBRARY_PATH
'
:
libdirs
,
'
LD_PRELOAD
'
:
self
.
_preload_library
,
'
LIBGKFS_HOSTS_FILE
'
:
self
.
cwd
/
gkfs_hosts_file
,
'
LD_PRELOAD
'
:
str
(
self
.
_preload_library
)
,
'
LIBGKFS_HOSTS_FILE
'
:
str
(
self
.
cwd
/
gkfs_hosts_file
)
,
'
LIBGKFS_LOG
'
:
gkfs_client_log_level
,
'
LIBGKFS_LOG_OUTPUT
'
:
self
.
_workspace
.
logdir
/
gkfs_client_log_file
,
'
LIBGKFS_LOG_OUTPUT
'
:
str
(
self
.
_workspace
.
logdir
/
gkfs_client_log_file
)
,
'
LIBGKFS_LOG_SYSCALL_FILTER
'
:
gkfs_client_log_syscall_filter
}
...
...
@@ -517,10 +517,10 @@ class ShellClient:
self
.
_patched_env
=
{
'
LD_LIBRARY_PATH
'
:
libdirs
,
'
LD_PRELOAD
'
:
self
.
_preload_library
,
'
LIBGKFS_HOSTS_FILE
'
:
self
.
cwd
/
gkfs_hosts_file
,
'
LD_PRELOAD
'
:
str
(
self
.
_preload_library
)
,
'
LIBGKFS_HOSTS_FILE
'
:
str
(
self
.
cwd
/
gkfs_hosts_file
)
,
'
LIBGKFS_LOG
'
:
gkfs_client_log_level
,
'
LIBGKFS_LOG_OUTPUT
'
:
self
.
_workspace
.
logdir
/
gkfs_client_log_file
'
LIBGKFS_LOG_OUTPUT
'
:
str
(
self
.
_workspace
.
logdir
/
gkfs_client_log_file
)
}
self
.
_env
.
update
(
self
.
_patched_env
)
...
...
@@ -717,8 +717,8 @@ class FwdDaemon:
self
.
_patched_env
=
{
'
LD_LIBRARY_PATH
'
:
libdirs
,
'
GKFS_HOSTS_FILE
'
:
self
.
cwd
/
gkfwd_hosts_file
,
'
GKFS_DAEMON_LOG_PATH
'
:
self
.
logdir
/
gkfwd_daemon_log_file
,
'
GKFS_HOSTS_FILE
'
:
str
(
self
.
cwd
/
gkfwd_hosts_file
)
,
'
GKFS_DAEMON_LOG_PATH
'
:
str
(
self
.
logdir
/
gkfwd_daemon_log_file
)
,
'
GKFS_DAEMON_LOG_LEVEL
'
:
gkfwd_daemon_log_level
}
self
.
_env
.
update
(
self
.
_patched_env
)
...
...
@@ -899,10 +899,10 @@ class FwdClient:
self
.
_patched_env
=
{
'
LD_LIBRARY_PATH
'
:
libdirs
,
'
LD_PRELOAD
'
:
self
.
_preload_library
,
'
LIBGKFS_HOSTS_FILE
'
:
self
.
cwd
/
gkfwd_hosts_file
,
'
LIBGKFS_FORWARDING_MAP_FILE
'
:
self
.
cwd
/
gkfwd_forwarding_map_file_local
,
'
LIBGKFS_HOSTS_FILE
'
:
str
(
self
.
cwd
/
gkfwd_hosts_file
)
,
'
LIBGKFS_FORWARDING_MAP_FILE
'
:
str
(
self
.
cwd
/
gkfwd_forwarding_map_file_local
)
,
'
LIBGKFS_LOG
'
:
gkfs_client_log_level
,
'
LIBGKFS_LOG_OUTPUT
'
:
self
.
_workspace
.
logdir
/
gkfwd_client_log_file_local
'
LIBGKFS_LOG_OUTPUT
'
:
str
(
self
.
_workspace
.
logdir
/
gkfwd_client_log_file_local
)
}
self
.
_env
.
update
(
self
.
_patched_env
)
...
...
@@ -988,11 +988,11 @@ class ShellFwdClient:
self
.
_patched_env
=
{
'
LD_LIBRARY_PATH
'
:
libdirs
,
'
LD_PRELOAD
'
:
self
.
_preload_library
,
'
LIBGKFS_HOSTS_FILE
'
:
self
.
cwd
/
gkfwd_hosts_file
,
'
LIBGKFS_FORWARDING_MAP_FILE
'
:
self
.
cwd
/
gkfwd_forwarding_map_file
,
'
LD_PRELOAD
'
:
str
(
self
.
_preload_library
)
,
'
LIBGKFS_HOSTS_FILE
'
:
str
(
self
.
cwd
/
gkfwd_hosts_file
)
,
'
LIBGKFS_FORWARDING_MAP_FILE
'
:
str
(
self
.
cwd
/
gkfwd_forwarding_map_file
)
,
'
LIBGKFS_LOG
'
:
gkfwd_client_log_level
,
'
LIBGKFS_LOG_OUTPUT
'
:
self
.
_workspace
.
logdir
/
gkfwd_client_log_file
'
LIBGKFS_LOG_OUTPUT
'
:
str
(
self
.
_workspace
.
logdir
/
gkfwd_client_log_file
)
}
self
.
_env
.
update
(
self
.
_patched_env
)
...
...
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