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

Gradle/Java: Could not determine a usable local IP for this machine. #850

Closed
pboos opened this issue Aug 10, 2016 · 17 comments
Closed

Gradle/Java: Could not determine a usable local IP for this machine. #850

pboos opened this issue Aug 10, 2016 · 17 comments

Comments

@pboos
Copy link

pboos commented Aug 10, 2016

Running ./gradlew assembleDebug in a Android Project results in the error Could not determine a usable local IP for this machine.

  • Expected results
    Run through nicely (at least until some android stuff not found errors show up).
  • Actual results (with terminal output if applicable)
pboos@DESKTOP-GHRHLQK:/mnt/c/Users/test/Development/Work/android-sleeptimer$ ./gradlew assembleDebug --stacktrace
Picked up _JAVA_OPTIONS: -Xint

FAILURE: Build failed with an exception.

* What went wrong:
Could not open cp_settings class cache for settings file '/mnt/c/Users/test/Development/Work/android-sleeptimer/settings.gradle' (/home/pboos/.gradle/caches/2.10/scripts/settings_8nri5so654pdmedmordwp861f/cp_settings).
> Could not determine a usable local IP for this machine.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.cache.CacheOpenException: Could not open cp_settings class cache for settings file '/mnt/c/Users/test/Development/Work/android-sleeptimer/settings.gradle' (/home/pboos/.gradle/caches/2.10/scripts/settings_8nri5so654pdmedmordwp861f/cp_settings).
        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:48)
        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:28)
        at org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:80)
        at org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory.java:50)
        at org.gradle.cache.internal.DefaultCacheRepository$PersistentCacheBuilder.doOpen(DefaultCacheRepository.java:138)
        at org.gradle.cache.internal.DefaultCacheRepository$AbstractCacheBuilder.open(DefaultCacheRepository.java:121)
        at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:63)
        at org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:60)
        at org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:41)
        at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:50)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:121)
        at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:72)
        at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:62)
        at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:37)
        at org.gradle.initialization.NotifyingSettingsProcessor$1.create(NotifyingSettingsProcessor.java:42)
        at org.gradle.initialization.NotifyingSettingsProcessor$1.create(NotifyingSettingsProcessor.java:39)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.initialization.NotifyingSettingsProcessor.process(NotifyingSettingsProcessor.java:39)
        at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:90)
        at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:47)
        at org.gradle.initialization.NotifyingSettingsLoader.findAndLoadSettings(NotifyingSettingsLoader.java:33)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:119)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
Caused by: java.lang.RuntimeException: Could not determine a usable local IP for this machine.
        at org.gradle.messaging.remote.internal.inet.InetAddressFactory.findLocalBindingAddress(InetAddressFactory.java:115)
        at org.gradle.cache.internal.FileLockCommunicator.<init>(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:79)
        at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:67)
        at org.gradle.cache.internal.DefaultCacheAccess.open(DefaultCacheAccess.java:86)
        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:46)
        ... 55 more
Caused by: java.net.SocketException: Cannot assign requested address
        at org.gradle.messaging.remote.internal.inet.InetAddressFactory.init(InetAddressFactory.java:146)
        at org.gradle.messaging.remote.internal.inet.InetAddressFactory.findLocalBindingAddress(InetAddressFactory.java:111)
        ... 62 more


BUILD FAILED

Total time: 2.503 secs
  • Your Windows build number
    14393.10
  • Steps / commands required to reproduce the error
1. Install Oracle Java 1.8 JDK
2. Create an android project
3. export _JAVA_OPTIONS="-Xint
  • Strace of the failing command
execve("./gradlew", ["./gradlew", "assembleDebug", "--stacktrace"], [/* 17 vars */]) = 0
brk(0)                                  = 0xd06000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e40010000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=19102, ...}) = 0
mmap(NULL, 19102, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9e40016000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0
mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e3f830000
mprotect(0x7f9e3f9ea000, 2097152, PROT_NONE) = 0
mmap(0x7f9e3fbea000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f9e3fbea000
mmap(0x7f9e3fbf0000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9e3fbf0000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e40000000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e3fff0000
arch_prctl(ARCH_SET_FS, 0x7f9e3fff0740) = 0
mprotect(0x7f9e3fbea000, 16384, PROT_READ) = 0
mprotect(0x605000, 4096, PROT_READ)     = 0
mprotect(0x7f9e3fe22000, 4096, PROT_READ) = 0
munmap(0x7f9e40016000, 19102)           = 0
brk(0)                                  = 0xd06000
brk(0xd27000)                           = 0xd27000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2919792, ...}) = 0
mmap(NULL, 2919792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9e3f567000
close(3)                                = 0
execve("/usr/local/bin/bash", ["bash", "./gradlew", "assembleDebug", "--stacktrace"], [/* 17 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/bin/bash", ["bash", "./gradlew", "assembleDebug", "--stacktrace"], [/* 17 vars */]) = -1 ENOENT (No such file or directory)
execve("/bin/bash", ["bash", "./gradlew", "assembleDebug", "--stacktrace"], [/* 17 vars */]) = 0
brk(0)                                  = 0x1ed7000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5f48f30000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=19102, ...}) = 0
mmap(NULL, 19102, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5f48f2b000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\303\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=167096, ...}) = 0
mmap(NULL, 2264288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5f489d0000
mprotect(0x7f5f489f5000, 2093056, PROT_NONE) = 0
mmap(0x7f5f48bf4000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f5f48bf4000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14664, ...}) = 0
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5f487c0000
mprotect(0x7f5f487c3000, 2093056, PROT_NONE) = 0
mmap(0x7f5f489c2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f5f489c2000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5f48f20000
mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5f483f0000
mprotect(0x7f5f485aa000, 2097152, PROT_NONE) = 0
mmap(0x7f5f487aa000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f5f487aa000
mmap(0x7f5f487b0000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5f487b0000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5f48f10000
arch_prctl(ARCH_SET_FS, 0x7f5f48f10740) = 0
mprotect(0x7f5f487aa000, 16384, PROT_READ) = 0
mprotect(0x7f5f489c2000, 4096, PROT_READ) = 0
mprotect(0x7f5f48bf4000, 16384, PROT_READ) = 0
mprotect(0x6ef000, 4096, PROT_READ)     = 0
mprotect(0x7f5f48e22000, 4096, PROT_READ) = 0
munmap(0x7f5f48f2b000, 19102)           = 0
open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
close(3)                                = 0
brk(0)                                  = 0x1ed7000
brk(0x1ed8000)                          = 0x1ed8000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2919792, ...}) = 0
mmap(NULL, 2919792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5f48127000
close(3)                                = 0
brk(0x1ed9000)                          = 0x1ed9000
brk(0x1eda000)                          = 0x1eda000
getuid()                                = 1000
getgid()                                = 1000
geteuid()                               = 1000
getegid()                               = 1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1470832772
brk(0x1edb000)                          = 0x1edb000
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5f48f00000
read(3, "MemTotal:        8388084 kB\nMemF"..., 1024) = 1024
close(3)                                = 0
munmap(0x7f5f48f00000, 4096)            = 0
brk(0x1edc000)                          = 0x1edc000
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f8c05866cb0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe8ffe26cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe8ffe26cb0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
uname({sys="Linux", node="DESKTOP-GHRHLQK", ...}) = 0
brk(0x1edd000)                          = 0x1edd000
brk(0x1ede000)                          = 0x1ede000
stat("/mnt/c/Users/test/Development/Work/android-sleeptimer", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat(".", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
getpid()                                = 2681
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0
mmap(NULL, 26258, PROT_READ, MAP_SHARED, 3, 0) = 0x7f5f48f29000
close(3)                                = 0
getppid()                               = 2678
stat(".", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/usr/local/bin/bash", 0x7fffeea2b460) = -1 ENOENT (No such file or directory)
stat("/usr/bin/bash", 0x7fffeea2b460)   = -1 ENOENT (No such file or directory)
stat("/bin/bash", {st_mode=S_IFREG|0755, st_size=1021112, ...}) = 0
stat("/bin/bash", {st_mode=S_IFREG|0755, st_size=1021112, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/bin/bash", X_OK)               = 0
stat("/bin/bash", {st_mode=S_IFREG|0755, st_size=1021112, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/bin/bash", R_OK)               = 0
stat("/bin/bash", {st_mode=S_IFREG|0755, st_size=1021112, ...}) = 0
stat("/bin/bash", {st_mode=S_IFREG|0755, st_size=1021112, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/bin/bash", X_OK)               = 0
stat("/bin/bash", {st_mode=S_IFREG|0755, st_size=1021112, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/bin/bash", R_OK)               = 0
gettimeofday({1470832772, 847062}, NULL) = 0
brk(0x1edf000)                          = 0x1edf000
brk(0x1ee0000)                          = 0x1ee0000
getpgrp()                               = 2678
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
brk(0x1ee1000)                          = 0x1ee1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("./gradlew", O_RDONLY)             = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffeea2b740) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR)                   = 0
read(3, "#!/usr/bin/env bash\n\n###########"..., 80) = 80
lseek(3, 0, SEEK_SET)                   = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=2*1024, rlim_max=2*1024}) = 0
fcntl(255, F_GETFD)                     = -1 EBADF (Bad file descriptor)
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl(255, F_SETFD, FD_CLOEXEC)         = 0
fcntl(255, F_GETFL)                     = 0 (flags O_RDONLY)
fstat(255, {st_mode=S_IFREG|0777, st_size=5080, ...}) = 0
lseek(255, 0, SEEK_CUR)                 = 0
brk(0x1ee3000)                          = 0x1ee3000
brk(0x1ee4000)                          = 0x1ee4000
read(255, "#!/usr/bin/env bash\n\n###########"..., 5080) = 5080
brk(0x1ee5000)                          = 0x1ee5000
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -4678, SEEK_CUR)             = 402
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f48f10a10) = 2682
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2682, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 2682
wait4(-1, 0x7fffeea2a918, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
close(4)                                = 0
read(3, "gradlew\n", 128)               = 8
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "\n# Use the maximum available, or"..., 5080) = 4678
brk(0x1ee6000)                          = 0x1ee6000
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -4294, SEEK_CUR)             = 786
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f48f10a10) = 2683
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2683, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 2683
wait4(-1, 0x7fffeea2a9f8, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
close(4)                                = 0
read(3, "Linux\n", 128)                 = 6
brk(0x1ee7000)                          = 0x1ee7000
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "\n# For Cygwin, ensure paths are "..., 5080) = 4294
lstat("./gradlew", {st_mode=S_IFREG|0777, st_size=5080, ...}) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -3801, SEEK_CUR)             = 1279
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f48f10a10) = 2684
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2684, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 2684
wait4(-1, 0x7fffeea2a8d8, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
close(4)                                = 0
read(3, "/mnt/c/Users/test/Development/Wo"..., 128) = 54
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "cd \"`dirname \\\"$PRG\\\"`/\" >&-\nAPP"..., 5080) = 3801
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -3772, SEEK_CUR)             = 1308
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f48f10a10) = 2685
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
close(4)                                = 0
read(3, ".\n", 128)                     = 2
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2685, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 2685
wait4(-1, 0x7fffeea2aad8, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 2
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
fcntl(1, F_GETFD)                       = 0
fcntl(1, F_DUPFD, 10)                   = 10
fcntl(1, F_GETFD)                       = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
close(1)                                = 0
stat("/mnt", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/mnt/c", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat("/mnt/c/Users/test", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users/test/Development", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users/test/Development/Work", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users/test/Development/Work/android-sleeptimer", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
chdir("/mnt/c/Users/test/Development/Work/android-sleeptimer") = 0
dup2(10, 1)                             = 1
fcntl(10, F_GETFD)                      = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
read(255, "APP_HOME=\"`pwd -P`\"\ncd \"$SAVED\" "..., 5080) = 3772
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -3752, SEEK_CUR)             = 1328
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f48f10a10) = 2686
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2686, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 2686
wait4(-1, 0x7fffeea2a8d8, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
close(4)                                = 0
read(3, "/mnt/c/Users/test/Development/Wo"..., 128) = 54
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "cd \"$SAVED\" >&-\n\nCLASSPATH=$APP_"..., 5080) = 3752
fcntl(1, F_GETFD)                       = 0
fcntl(1, F_DUPFD, 10)                   = 10
fcntl(1, F_GETFD)                       = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
close(1)                                = 0
stat("/mnt", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/mnt/c", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat("/mnt/c/Users/test", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users/test/Development", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users/test/Development/Work", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/mnt/c/Users/test/Development/Work/android-sleeptimer", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
chdir("/mnt/c/Users/test/Development/Work/android-sleeptimer") = 0
dup2(10, 1)                             = 1
fcntl(10, F_GETFD)                      = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
brk(0x1ee8000)                          = 0x1ee8000
brk(0x1ee9000)                          = 0x1ee9000
stat(".", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/usr/local/bin/which", 0x7fffeea2b140) = -1 ENOENT (No such file or directory)
stat("/usr/bin/which", {st_mode=S_IFREG|0755, st_size=946, ...}) = 0
stat("/usr/bin/which", {st_mode=S_IFREG|0755, st_size=946, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/which", X_OK)          = 0
stat("/usr/bin/which", {st_mode=S_IFREG|0755, st_size=946, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/which", R_OK)          = 0
stat("/usr/bin/which", {st_mode=S_IFREG|0755, st_size=946, ...}) = 0
stat("/usr/bin/which", {st_mode=S_IFREG|0755, st_size=946, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/which", X_OK)          = 0
stat("/usr/bin/which", {st_mode=S_IFREG|0755, st_size=946, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/which", R_OK)          = 0
brk(0x1eea000)                          = 0x1eea000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
lseek(255, -2916, SEEK_CUR)             = 2164
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f48f10a10) = 2687
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2687, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 2687
wait4(-1, 0x7fffeea2aa68, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "\n# Increase the maximum file des"..., 5080) = 2916
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -2402, SEEK_CUR)             = 2678
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f48f10a10) = 2688
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2688, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 2688
wait4(-1, 0x7fffeea2a7f8, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
close(4)                                = 0
read(3, "2048\n", 128)                  = 5
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {0x4438a0, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=2*1024, rlim_max=2*1024}) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=2*1024, rlim_max=2*1024}) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=2*1024, rlim_max=2*1024}) = 0
read(255, "\n# For Darwin, add options to sp"..., 5080) = 2402
brk(0x1eeb000)                          = 0x1eeb000
brk(0x1eec000)                          = 0x1eec000
brk(0x1eed000)                          = 0x1eed000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat(".", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
stat("/usr/local/bin/java", 0x7fffeea2b390) = -1 ENOENT (No such file or directory)
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=7734, ...}) = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=7734, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/java", X_OK)           = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=7734, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/java", R_OK)           = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=7734, ...}) = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=7734, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/java", X_OK)           = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=7734, ...}) = 0
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
getgid()                                = 1000
access("/usr/bin/java", R_OK)           = 0
brk(0x1eee000)                          = 0x1eee000
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f5f48426cb0}, {SIG_IGN, [], SA_RESTORER, 0x7f5f48426cb0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7f5f48426cb0}, 8) = 0
execve("/usr/bin/java", ["java", "-Dorg.gradle.appname=gradlew", "-classpath", "/mnt/c/Users/test/Development/Wo"..., "org.gradle.wrapper.GradleWrapper"..., "assembleDebug", "--stacktrace"], [/* 16 vars */]) = 0
brk(0)                                  = 0x145b000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2e67800000
readlink("/proc/self/exe", "/usr/lib/jvm/java-8-oracle/jre/b"..., 4096) = 39
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/tls/x86_64", 0x7fffd3943570) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/tls", 0x7fffd3943570) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/x86_64", 0x7fffd3943570) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/tls/x86_64", 0x7fffd3943570) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/tls", 0x7fffd3943570) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/x86_64", 0x7fffd3943570) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=19102, ...}) = 0
mmap(NULL, 19102, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2e677fb000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0po\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=141574, ...}) = 0
mmap(NULL, 2217264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2e671e0000
mprotect(0x7f2e671f9000, 2093056, PROT_NONE) = 0
mmap(0x7f2e673f8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7f2e673f8000
mmap(0x7f2e673fa000, 13616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2e673fa000
close(3)                                = 0
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/libjli.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20#\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=102352, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2e677f0000
mmap(NULL, 2184904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2e66fc0000
mprotect(0x7f2e66fd5000, 2097152, PROT_NONE) = 0
mmap(0x7f2e671d5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f2e671d5000
close(3)                                = 0
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14664, ...}) = 0
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2e66db0000
mprotect(0x7f2e66db3000, 2093056, PROT_NONE) = 0
mmap(0x7f2e66fb2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f2e66fb2000
close(3)                                = 0
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0
mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2e669e0000
mprotect(0x7f2e66b9a000, 2097152, PROT_NONE) = 0
mmap(0x7f2e66d9a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f2e66d9a000
mmap(0x7f2e66da0000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2e66da0000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2e677e0000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2e677d0000
arch_prctl(ARCH_SET_FS, 0x7f2e677d0740) = 0
mprotect(0x7f2e66d9a000, 16384, PROT_READ) = 0
mprotect(0x7f2e66fb2000, 4096, PROT_READ) = 0
mprotect(0x7f2e673f8000, 4096, PROT_READ) = 0
mprotect(0x7f2e67622000, 4096, PROT_READ) = 0
munmap(0x7f2e677fb000, 19102)           = 0
set_tid_address(0x7f2e677d0a10)         = 2681
set_robust_list(0x7f2e677d0a20, 24)     = 0
futex(0x7fffd3943db0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f2e677d0740) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f2e671e69f0, [], SA_RESTORER|SA_SIGINFO, 0x7f2e671f0330}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f2e671e6a80, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f2e671f0330}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}) = 0
brk(0)                                  = 0x145b000
brk(0x147c000)                          = 0x147c000
readlink("/proc/self/exe", "/usr/lib/jvm/java-8-oracle/jre/b"..., 4096) = 39
access("/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so", F_OK) = 0
open("/usr/lib/jvm/java-8-oracle/jre/lib/amd64/jvm.cfg", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=627, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2e677c0000
read(3, "# Copyright (c) 2003, 2013, Orac"..., 512) = 512
read(3, "option, but that too is unsuppor"..., 512) = 115
read(3, "", 512)                        = 0
close(3)                                = 0
munmap(0x7f2e677c0000, 4096)            = 0
stat("/usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so", {st_mode=S_IFREG|0755, st_size=16973827, ...}) = 0
futex(0x7f2e66fb30d0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\347!\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=16973827, ...}) = 0
mmap(NULL, 16702088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2e659f2000
mprotect(0x7f2e666bd000, 2093056, PROT_NONE) = 0
mmap(0x7f2e668bc000, 888832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xcca000) = 0x7f2e668bc000
mmap(0x7f2e66995000, 305800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2e66995000
close(3)                                = 0
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/jli/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-8-oracle/jre/bin/../lib/amd64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=19102, ...}) = 0
mmap(NULL, 19102, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2e677fb000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1071552, ...}) = 0
mmap(NULL, 3166568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2e656e0000
mprotect(0x7f2e657e5000, 2093056, PROT_NONE) = 0
mmap(0x7f2e659e4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x104000) = 0x7f2e659e4000
close(3)                                = 0
mprotect(0x7f2e659e4000, 4096, PROT_READ) = 0
munmap(0x7f2e677fb000, 19102)           = 0
mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f2e676c0000
mprotect(0x7f2e676c0000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f2e677bffb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f2e677c09d0, tls=0x7f2e677c0700, child_tidptr=0x7f2e677c09d0) = 2689
futex(0x7f2e677c09d0, FUTEX_WAIT, 2689, NULL
  • Required packages and commands to install
    oracle java 1.8 jdk, a gradle project with the gradle wrapper inside (Version 2.10)
@jadbox
Copy link

jadbox commented Oct 4, 2016

Same issue here

@AndrewWestberg
Copy link

Anyone have any work-arounds? In addition to gradle, I'm also seeing issues related to usable local IPs when running hbase shell.

@alexnv
Copy link

alexnv commented Oct 12, 2016

same issue

@wbaeck
Copy link

wbaeck commented Oct 12, 2016

same issue here

@mikethebeer
Copy link

mikethebeer commented Oct 12, 2016

this seeems to be an common issue with socket binding to IPv6 (see #982)

java.lang.RuntimeException: Could not determine a usable local IP for this machine.
        at org.gradle.internal.remote.internal.inet.InetAddressFactory.getLocalBindingAddress(InetAddressFactory.java:89)
        at org.gradle.cache.internal.FileLockCommunicator.<init>(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:80)
        at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:68)
        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:107)
        at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:122)
        at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:80)

@sunilmut
Copy link
Member

@mikethebeer - Which Windows build are you running? A lot of the IPV6 problems have been resolved in the newer (14936+) Windows Insider build, as also mentioned in #982.

@mikethebeer
Copy link

@sunilmut I'm on the 14393+ release. Yeah, I think also this issue will disappear on the newer insider build. I just wanted to mention that it might be related to the IPv6 issue that you have on the 14393 builds - However, thanks for coming back to me 👍

@anhnt
Copy link

anhnt commented Oct 22, 2016

any ideas how to resolve this issue?

@hntee
Copy link

hntee commented Oct 25, 2016

+1

@mikethebeer
Copy link

@sunilmut I can confirm that this issue does not happen anymore on Windows Insider builds that have the IPv6 fixes in it 👍

@sunilmut
Copy link
Member

Thanks @mikethebeer for confirming the fix.
@ALL - as mentioned previously, the latest Windows Insider build has the fix for this issue, if you can move to the insider program. It will also be available in the next generally publicly available Windows release, but there is no ETA for that at the moment.

@fieldju
Copy link

fieldju commented Dec 10, 2016

Is this fix out in the wild yet?, I checked for updates, Windows is saying my machine is up to date, and I still cant execute any Gradle commands.

@aseering
Copy link
Contributor

Have you joined the Insider program? It is available there.

It will be shipped to stable Windows with the next major release (the "Creator's" release); you can follow that release's schedule in the news / elsewhere online.

@just-chillin
Copy link

just-chillin commented Mar 1, 2017

Is there a way to fix this issue without upgrading to the insider builds? I'd rather stay on the stable channel for windows.

@benhillis
Copy link
Member

@abounding - Not that I know of. Creators update is coming in the next few months so you won't have to wait too long.

@jjmomentum
Copy link

I have the latest Windows update, which should be the Creator's update, and I'm still seeing this error...

@coderdude1
Copy link

@jjmomentum you need to update the WSL after updating to the CU.

https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/

I nuked and started over fwiw, everything works fine

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