This repository was archived by the owner on Apr 22, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
Can't authorize at svn server #5
Copy link
Copy link
Open
Description
Behaviour
docker container logs showing it can't authorize at svn server using provided credentials
Steps to reproduce this issue
- Configure config.json to access SVN server using
svn
protocol: "svn://server.domain.com" git svn clone
to the /data/id/repo folder since without it container showing "not a working copy" error.- Launch the docker-compose
NOTICE: I'm using SASL authentication at the SVN server
Expected behaviour
Normal git svn fetch
expected
Actual behaviour
docker-compose logs -f
showing:
svn2git_mirror | [staging]
svn2git_mirror | [staging] ## Rebasing...
svn2git_mirror | [staging] #<Thread:0x000055ea56923f10@/usr/lib/ruby/gems/2.5.0/gems/svn2git-2.4.0/lib/svn2git/migration.rb:404 run> terminated with exception (report_on_exception is true):
svn2git_mirror | [staging] /usr/lib/ruby/gems/2.5.0/gems/svn2git-2.4.0/lib/svn2git/migration.rb:405:in `block (2 levels) in run_command': undefined method `chomp' for nil:NilClass (NoMethodError)
svn2git_mirror | [staging] from /usr/lib/ruby/gems/2.5.0/gems/svn2git-2.4.0/lib/svn2git/migration.rb:405:in `loop'
svn2git_mirror | [staging] from /usr/lib/ruby/gems/2.5.0/gems/svn2git-2.4.0/lib/svn2git/migration.rb:405:in `block in run_command'
svn2git_mirror | [staging] command failed:
svn2git_mirror | [staging] git svn fetch
svn2git_mirror | [staging] Authentication realm: <svn://dev.domain.com:3690>
svn2git_mirror | [staging] Password for 'username':
svn2git_mirror | [staging] Authentication realm: <svn://dev.domain.com:3690>
svn2git_mirror | [staging] Username: Use of uninitialized value $ret in chomp at /usr/share/perl5/vendor_perl/Git.pm line 596.
svn2git_mirror | [staging] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/vendor_perl/Git/SVN/Prompt.pm line 20.
svn2git_mirror | [staging] Password for '':
svn2git_mirror | [staging] Can't create session: Unable to connect to a repository at URL 'svn://dev.agritask.com/scantask/pestscout/staging': SASL authentication error: SASL(-7): invalid parameter supplied: Parameter Error in plugin_common.c near line 364 at /usr/share/perl5/vendor_perl/Git/SVN.pm line 148.
Configuration
- Docker version 17.05.0-ce, build 89658be
- docker-compose version 1.9.0, build 2585387
- Ubuntu 18.04
- Include all necessary configuration files : except config.json everything is by default.
[
{
"id": "staging",
"cron": "*/1 * * * *",
"svn2git": {
"repo": "svn://dev.domain.com/folder/staging",
"username": "username",
"password": "piecugnhpieurhgnieuh",
"options": ""
},
"git": {
"user": "username",
"hostname": "gitlab.domain.xyz",
"port": 10022,
"repo": "developers/staging"
},
"authors": [
{
Docker info
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 5
Server Version: 17.05.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 5.1.17-x86_64-linode128
Operating System: Ubuntu 16.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.773GiB
Name: devmain4
ID: YHLG:7UCD:XV4D:SOYP:2GMW:WRKV:F3WS
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Probably, that's my own stupidity but help needed.