Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gocmd sync gives error when used with "--bulk_upload" flag #63

Open
jnimoth opened this issue Dec 5, 2024 · 0 comments
Open

gocmd sync gives error when used with "--bulk_upload" flag #63

jnimoth opened this issue Dec 5, 2024 · 0 comments

Comments

@jnimoth
Copy link

jnimoth commented Dec 5, 2024

Similar to the other issue from today, I also tried the "--bulk_upload" flag. Using it results for me in an error and not synchronization being done.

user@ssh:~/gocommands/latest$ ./gocmd sync -d --bulk_upload ~/Downloads/varian_agilent i:gocmd_sync_no_bulk_dir
time="2024-12-05 18:19:16.800" level=debug msg="use sessionID - 3535676" function=ProcessCommonFlags package=flag
time="2024-12-05 18:19:16.800" level=debug msg="reading icommands configuration file \"/home/user/.irods/irods_environment.json\"" function=Load package=icommands struct=ICommandsEnvironmentManager
time="2024-12-05 18:19:16.802" level=debug msg="reading icommands password file \"/home/user/.irods/.irodsA\"" function=Load package=icommands struct=ICommandsEnvironmentManager
time="2024-12-05 18:19:16.802" level=debug msg="run bput with args: [--diff --recursive --sync -d --bulk_upload /home/user/Downloads/varian_agilent i:gocmd_sync_no_bulk_dir]" function=syncLocalToIRODS package=subcmd struct=SyncCommand
time="2024-12-05 18:19:16.802" level=debug msg="use sessionID - 3535676" function=ProcessCommonFlags package=flag
time="2024-12-05 18:19:16.803" level=debug msg="reading icommands configuration file \"/home/user/.irods/irods_environment.json\"" function=Load package=icommands struct=ICommandsEnvironmentManager
time="2024-12-05 18:19:16.803" level=debug msg="reading icommands password file \"/home/user/.irods/.irodsA\"" function=Load package=icommands struct=ICommandsEnvironmentManager
time="2024-12-05 18:19:16.804" level=debug msg="Connecting to store-test.data.rug.nl:1247" function=connectTCP package=connection struct=IRODSConnection
time="2024-12-05 18:19:16.808" level=debug msg="Start up an iRODS connection" function=startup package=connection struct=IRODSConnection
time="2024-12-05 18:19:17.332" level=debug msg="Start up CS Negotiation" function=startup package=connection struct=IRODSConnection
time="2024-12-05 18:19:17.332" level=debug msg="Client policy \"CS_NEG_REQUIRE\", server policy \"CS_NEG_DONT_CARE\"" function=startup package=connection struct=IRODSConnection
time="2024-12-05 18:19:17.336" level=debug msg="Start up SSL" function=sslStartup package=connection struct=IRODSConnection
time="2024-12-05 18:19:17.377" level=debug msg="Logging in using pam authentication method" function=loginPAMWithToken package=connection struct=IRODSConnection
time="2024-12-05 18:19:17.616" level=debug msg="Reuse an idle connection" function=Get package=session struct=ConnectionPool
time="2024-12-05 18:19:17.630" level=debug msg="failed to commit transaction" error=SYS_NO_API_PRIV function=endTransaction package=session struct=IRODSSession
time="2024-12-05 18:19:17.806" level=debug msg="Returning a connection" function=Return package=session struct=ConnectionPool
time="2024-12-05 18:19:17.807" level=debug msg="Reuse an idle connection" function=Get package=session struct=ConnectionPool
time="2024-12-05 18:19:17.807" level=debug msg="Connecting to store-test.data.rug.nl:1247" function=connectTCP package=connection struct=IRODSConnection
time="2024-12-05 18:19:17.810" level=debug msg="Start up an iRODS connection" function=startup package=connection struct=IRODSConnection
time="2024-12-05 18:19:18.301" level=debug msg="Start up CS Negotiation" function=startup package=connection struct=IRODSConnection
time="2024-12-05 18:19:18.301" level=debug msg="Client policy \"CS_NEG_REQUIRE\", server policy \"CS_NEG_DONT_CARE\"" function=startup package=connection struct=IRODSConnection
time="2024-12-05 18:19:18.303" level=debug msg="Start up SSL" function=sslStartup package=connection struct=IRODSConnection
time="2024-12-05 18:19:18.343" level=debug msg="Logging in using pam authentication method" function=loginPAMWithToken package=connection struct=IRODSConnection
time="2024-12-05 18:19:18.566" level=debug msg="Created a new connection" function=Get package=session struct=ConnectionPool
time="2024-12-05 18:19:19.517" level=debug msg="Returning a connection" function=Return package=session struct=ConnectionPool
time="2024-12-05 18:19:20.404" level=debug msg="Returning a connection" function=Return package=session struct=ConnectionPool
time="2024-12-05 18:19:20.405" level=debug msg="use default staging path \"/testrug/home/[email protected]/.gocmd_staging\" for target \"/testrug/home/[email protected]\"" function=getStagingDir package=subcmd struct=BputCommand
time="2024-12-05 18:19:20.405" level=debug msg="Disconnecting the connection" function=Disconnect package=connection struct=IRODSConnection
time="2024-12-05 18:19:20.407" level=debug msg="Disconnecting the connection" function=Disconnect package=connection struct=IRODSConnection
time="2024-12-05 18:19:20.409" level=error msg="failed to sync (from local):\n    github.com/cyverse/gocommands/cmd/subcmd.(*SyncCommand).Process\n        /github/workspace/cmd/subcmd/sync.go:114\n  - failed to sync (from local to iRODS):\n    github.com/cyverse/gocommands/cmd/subcmd.(*SyncCommand).syncLocal\n        /github/workspace/cmd/subcmd/sync.go:138\n  - failed to get a common root directory for source paths:\n    github.com/cyverse/gocommands/cmd/subcmd.(*BputCommand).Process\n        /github/workspace/cmd/subcmd/bput.go:206\n  - data object/collection not found for path \"\"" function=main package=main
failed to sync (from local):
    github.com/cyverse/gocommands/cmd/subcmd.(*SyncCommand).Process
        /github/workspace/cmd/subcmd/sync.go:114
  - failed to sync (from local to iRODS):
    github.com/cyverse/gocommands/cmd/subcmd.(*SyncCommand).syncLocal
        /github/workspace/cmd/subcmd/sync.go:138
  - failed to get a common root directory for source paths:
    github.com/cyverse/gocommands/cmd/subcmd.(*BputCommand).Process
        /github/workspace/cmd/subcmd/bput.go:206
  - data object/collection not found for path ""
File or directory "" is not found!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant