Error while querying interface name in HP Nonstop


(tx) #1

Hi,

we are running Gradle build script in HP Nonstop. An exception is thrown immediately after the script is executed but it is not aborting the process. The build continues processing and getting completed successfully. We are using gradle wrapper and gradle version is 3.3. Here is the exception along with debug output:

11:29:13.060 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Executing build fe9604fd-efca-4e5f-aba9-c3f7e0cc60b5.1 in daemon client {pid=1191182342}
11:29:13.087 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface #SN1
11:29:13.089 [WARN] [org.gradle.internal.remote.internal.inet.InetAddresses] Error while querying interface name:#SN1 (#SN1) for IP addresses
java.net.SocketException: No such device or address (errno:4006)
_ at java.net.NetworkInterface.isLoopback0(Native Method)_
_ at java.net.NetworkInterface.isLoopback(NetworkInterface.java:390)_
_ at org.gradle.internal.remote.internal.inet.InetAddresses.analyzeNetworkInterface(InetAddresses.java:57)_
_ at org.gradle.internal.remote.internal.inet.InetAddresses.analyzeNetworkInterfaces(InetAddresses.java:50)_
_ at org.gradle.internal.remote.internal.inet.InetAddresses.(InetAddresses.java:40)_
_ at org.gradle.internal.remote.internal.inet.InetAddressFactory.init(InetAddressFactory.java:100)_
_ at org.gradle.internal.remote.internal.inet.InetAddressFactory.getLocalBindingAddress(InetAddressFactory.java:85)_
_ at org.gradle.cache.internal.FileLockCommunicator.(FileLockCommunicator.java:38)_
_ at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.getCommunicator(DefaultFileLockContentionHandler.java:153)_
_ at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.reservePort(DefaultFileLockContentionHandler.java:145)_
_ at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:85)_
_ at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:73)_
_ at org.gradle.cache.internal.OnDemandFileAccess.readFile(OnDemandFileAccess.java:36)_
_ at org.gradle.cache.internal.SimpleStateCache.get(SimpleStateCache.java:47)_
_ at org.gradle.cache.internal.FileIntegrityViolationSuppressingPersistentStateCacheDecorator.get(FileIntegrityViolationSuppressingPersistentStateCacheDecorator.java:31)_
_ at org.gradle.launcher.daemon.registry.PersistentDaemonRegistry.getAll(PersistentDaemonRegistry.java:69)_
_ at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connect(DefaultDaemonConnector.java:112)_
_ at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:127)_
_ at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:81)_
_ at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)_
_ at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)_
_ at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:244)_
_ at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:217)_
_ at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:33)_
_ at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)_
_ at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)_
_ at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)_
_ at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:210)_
_ at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:174)_
_ at org.gradle.launcher.Main.doAction(Main.java:33)_
_ at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)_
_ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)_
_ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)_
_ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_
_ at java.lang.reflect.Method.invoke(Method.java:606)_
_ at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)_
_ at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)_
_ at org.gradle.launcher.GradleMain.main(GradleMain.java:23)_
_ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)_
_ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)_
_ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_
_ at java.lang.reflect.Method.invoke(Method.java:606)_
_ at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:31)_
_ at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)_
_ at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)_
11:29:13.113 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface #LOOP0
11:29:13.115 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? true
11:29:13.117 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a multicast interface? false
11:29:13.119 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /127.0.0.1
11:29:13.120 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] No multicast interfaces, using fallbacks
11:29:13.163 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
11:29:13.172 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.

Does anyone experienced the same exception? We do have #SN1 interface but dont know why gradle couldn’t find it.