hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1

Jenkins JIRA | Jesse Glick | 3 years ago
  1. 0

    Starting with the integration of JNR in 1.518, the {{login}} CLI command fails on Windows: {code:none} hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1 at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:882) at hudson.cli.ClientAuthenticationCache.save(ClientAuthenticationCache.java:109) at hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:97) at hudson.cli.LoginCommand.run(LoginCommand.java:37) at ... Caused by: java.io.IOException: Remote call on CLI channel from /127.0.0.1 failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:898) ... 24 more Caused by: java.lang.NoClassDefFoundError: jnr/ffi/util/ref/internal/Finalizer$ShutDown at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at jnr.ffi.util.ref.FinalizableReferenceQueue.getStartFinalizer(FinalizableReferenceQueue.java:292) at jnr.ffi.util.ref.FinalizableReferenceQueue.<clinit>(FinalizableReferenceQueue.java:90) at jnr.ffi.provider.jffi.NativeFinalizer.<init>(NativeFinalizer.java:9) at jnr.ffi.provider.jffi.NativeFinalizer$SingletonHolder.<clinit>(NativeFinalizer.java:12) at jnr.ffi.provider.jffi.NativeFinalizer.getInstance(NativeFinalizer.java:16) at jnr.ffi.provider.jffi.TransientNativeMemory$Magazine.<init>(TransientNativeMemory.java:110) at jnr.ffi.provider.jffi.TransientNativeMemory.allocate(TransientNativeMemory.java:53) at jnr.ffi.provider.jffi.NativeMemoryManager.allocateDirect(NativeMemoryManager.java:45) at jnr.ffi.Memory.allocateDirect(Memory.java:124) at jnr.posix.WString$1.toNative(WString.java:33) at jnr.posix.WString$1.toNative(WString.java:26) at jnr.posix.WindowsLibC$jnr$ffi$0._wchmod(Unknown Source) at jnr.posix.WindowsPOSIX.chmod(WindowsPOSIX.java:136) at jnr.posix.CheckedPOSIX.chmod(CheckedPOSIX.java:49) at jnr.posix.LazyPOSIX.chmod(LazyPOSIX.java:51) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:121) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:109) at ... Caused by: java.lang.ClassNotFoundException: jnr.ffi.util.ref.internal.Finalizer$ShutDown at java.net.URLClassLoader$1.run(Unknown Source) at ... ... 31 more{code}

    Jenkins JIRA | 3 years ago | Jesse Glick
    hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1
  2. 0

    Starting with the integration of JNR in 1.518, the {{login}} CLI command fails on Windows: {code:none} hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1 at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:882) at hudson.cli.ClientAuthenticationCache.save(ClientAuthenticationCache.java:109) at hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:97) at hudson.cli.LoginCommand.run(LoginCommand.java:37) at ... Caused by: java.io.IOException: Remote call on CLI channel from /127.0.0.1 failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:898) ... 24 more Caused by: java.lang.NoClassDefFoundError: jnr/ffi/util/ref/internal/Finalizer$ShutDown at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at jnr.ffi.util.ref.FinalizableReferenceQueue.getStartFinalizer(FinalizableReferenceQueue.java:292) at jnr.ffi.util.ref.FinalizableReferenceQueue.<clinit>(FinalizableReferenceQueue.java:90) at jnr.ffi.provider.jffi.NativeFinalizer.<init>(NativeFinalizer.java:9) at jnr.ffi.provider.jffi.NativeFinalizer$SingletonHolder.<clinit>(NativeFinalizer.java:12) at jnr.ffi.provider.jffi.NativeFinalizer.getInstance(NativeFinalizer.java:16) at jnr.ffi.provider.jffi.TransientNativeMemory$Magazine.<init>(TransientNativeMemory.java:110) at jnr.ffi.provider.jffi.TransientNativeMemory.allocate(TransientNativeMemory.java:53) at jnr.ffi.provider.jffi.NativeMemoryManager.allocateDirect(NativeMemoryManager.java:45) at jnr.ffi.Memory.allocateDirect(Memory.java:124) at jnr.posix.WString$1.toNative(WString.java:33) at jnr.posix.WString$1.toNative(WString.java:26) at jnr.posix.WindowsLibC$jnr$ffi$0._wchmod(Unknown Source) at jnr.posix.WindowsPOSIX.chmod(WindowsPOSIX.java:136) at jnr.posix.CheckedPOSIX.chmod(CheckedPOSIX.java:49) at jnr.posix.LazyPOSIX.chmod(LazyPOSIX.java:51) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:121) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:109) at ... Caused by: java.lang.ClassNotFoundException: jnr.ffi.util.ref.internal.Finalizer$ShutDown at java.net.URLClassLoader$1.run(Unknown Source) at ... ... 31 more{code}

    Jenkins JIRA | 3 years ago | Jesse Glick
    hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1
  3. 0

    I'm getting errors when attempting to use the Jenkins 2.2.1 Testlink Plugin in a Master/Slave configuration. I've tried this with various master/slave combinations, e.g. Linux/Windows, Linux/Linux, Windows/Windows. The failure seems to be stemming from "Caused by: java.io.NotSerializableException: br.eti.kinoshita.tap4j.consumer.TapConsumerImpl" The output follows. Any help would be greatly appreciated. --- Output --- Retrieving TestLink details about test project, test plan and build. Using TestLink Test Project: [test1], ID: [1]. Using TestLink Test Plan: [plan1], ID: [171]. Using TestLink Build: [build1], ID: [1]. Retrieving list of automated test cases from TestLink. Found [1] TestLink Automated Test Cases. Found TestLink test case: TestCase [id=173, name=case1, testSuiteId=null, testProjectId=null, authorLogin=null, summary=, steps=[], preconditions=null, testImportance=null, executionType=2, order=null, internalId=null, checkDuplicatedName=null, actionOnDuplicatedName=null, versionId=174, version=1, parentId=null, customFields=[], executionStatus=n]. Retrieving list of custom fields for test case. Retrieving custom field TESTLINK_TESTCASE_TAP. Custom field TESTLINK_TESTCASE_TAP value: case1. Sorting automated test cases by TestLink test plan execution order. Blank single test command. Skipping single test command execution. Creating list of environment variables for test case execution. Merging build environment variables with TestLink environment variables. Executing iterative test command: [echo TESTLINK_TESTCASE_NAME= $TESTLINK_TESTCASE_NAME]. [testlink2] $ C:/hudson/workspace/testlink2/ testlink_temporary_1563237416540892088.bat && exit %%ERRORLEVEL%% TESTLINK_TESTCASE_NAME=$TESTLINK_TESTCASE_NAME Looking for the test results of TestLink test cases. FATAL: remote file operation failed: C:/hudson/workspace/testlink2 at hudson.remoting.Channel@4a710a3e:10.250.242.122 hudson.util.IOException2: remote file operation failed: C:/hudson/ workspace/testlink2 at hudson.remoting.Channel@4a710a3e:10.250.242.122 at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java: 517) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild $AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.Build$RunnerImpl.build(Build.java:174) at hudson.model.Build$RunnerImpl.doRun(Build.java:138) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java: 416) at hudson.model.Run.run(Run.java:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java: 88) at hudson.model.Executor.run(Executor.java:137) Caused by: java.io.IOException: Unable to serialize hudson.FilePath $FileCallableWrapper@6cbd9138 at hudson.remoting.UserRequest.serialize(UserRequest.java:162) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:629) at hudson.FilePath.act(FilePath.java:742) ... 11 more Caused by: java.io.NotSerializableException: br.eti.kinoshita.tap4j.consumer.TapConsumerImpl at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1081) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 302) at hudson.remoting.UserRequest._serialize(UserRequest.java:151) at hudson.remoting.UserRequest.serialize(UserRequest.java:160) ... 14 more

    Jenkins JIRA | 6 years ago | Chris Vernon
    hudson.util.IOException2: remote file operation failed: C:/hudson/ workspace/testlink2 at hudson.remoting.Channel@4a710a3e:10.250.242.122
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm getting errors when attempting to use the Jenkins 2.2.1 Testlink Plugin in a Master/Slave configuration. I've tried this with various master/slave combinations, e.g. Linux/Windows, Linux/Linux, Windows/Windows. The failure seems to be stemming from "Caused by: java.io.NotSerializableException: br.eti.kinoshita.tap4j.consumer.TapConsumerImpl" The output follows. Any help would be greatly appreciated. --- Output --- Retrieving TestLink details about test project, test plan and build. Using TestLink Test Project: [test1], ID: [1]. Using TestLink Test Plan: [plan1], ID: [171]. Using TestLink Build: [build1], ID: [1]. Retrieving list of automated test cases from TestLink. Found [1] TestLink Automated Test Cases. Found TestLink test case: TestCase [id=173, name=case1, testSuiteId=null, testProjectId=null, authorLogin=null, summary=, steps=[], preconditions=null, testImportance=null, executionType=2, order=null, internalId=null, checkDuplicatedName=null, actionOnDuplicatedName=null, versionId=174, version=1, parentId=null, customFields=[], executionStatus=n]. Retrieving list of custom fields for test case. Retrieving custom field TESTLINK_TESTCASE_TAP. Custom field TESTLINK_TESTCASE_TAP value: case1. Sorting automated test cases by TestLink test plan execution order. Blank single test command. Skipping single test command execution. Creating list of environment variables for test case execution. Merging build environment variables with TestLink environment variables. Executing iterative test command: [echo TESTLINK_TESTCASE_NAME= $TESTLINK_TESTCASE_NAME]. [testlink2] $ C:/hudson/workspace/testlink2/ testlink_temporary_1563237416540892088.bat && exit %%ERRORLEVEL%% TESTLINK_TESTCASE_NAME=$TESTLINK_TESTCASE_NAME Looking for the test results of TestLink test cases. FATAL: remote file operation failed: C:/hudson/workspace/testlink2 at hudson.remoting.Channel@4a710a3e:10.250.242.122 hudson.util.IOException2: remote file operation failed: C:/hudson/ workspace/testlink2 at hudson.remoting.Channel@4a710a3e:10.250.242.122 at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java: 517) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild $AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.Build$RunnerImpl.build(Build.java:174) at hudson.model.Build$RunnerImpl.doRun(Build.java:138) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java: 416) at hudson.model.Run.run(Run.java:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java: 88) at hudson.model.Executor.run(Executor.java:137) Caused by: java.io.IOException: Unable to serialize hudson.FilePath $FileCallableWrapper@6cbd9138 at hudson.remoting.UserRequest.serialize(UserRequest.java:162) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:629) at hudson.FilePath.act(FilePath.java:742) ... 11 more Caused by: java.io.NotSerializableException: br.eti.kinoshita.tap4j.consumer.TapConsumerImpl at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1081) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java: 1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java: 1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java: 1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java: 1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 302) at hudson.remoting.UserRequest._serialize(UserRequest.java:151) at hudson.remoting.UserRequest.serialize(UserRequest.java:160) ... 14 more

    Jenkins JIRA | 6 years ago | Chris Vernon
    hudson.util.IOException2: remote file operation failed: C:/hudson/ workspace/testlink2 at hudson.remoting.Channel@4a710a3e:10.250.242.122
  6. 0

    Which settings.xml is used by jenkins slave?

    Stack Overflow | 5 years ago | Riduidel
    hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\Autocat at hudson.remoting.Channel@ee5bc4:ndx-PC-winXP

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.util.IOException2

      remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1

      at hudson.FilePath.act()
    2. Hudson
      LoginCommand.run
      1. hudson.FilePath.act(FilePath.java:905)
      2. hudson.FilePath.act(FilePath.java:882)
      3. hudson.cli.ClientAuthenticationCache.save(ClientAuthenticationCache.java:109)
      4. hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:97)
      5. hudson.cli.LoginCommand.run(LoginCommand.java:37)
      5 frames