google / guava

Google core libraries for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failing while building guava version v31.0.1 using mvn clean install

shivsrivastava opened this issue · comments

Description

Package artifact id: guava

source code url: https://github.com/google/guava/tree/v31.0.1

Issue Description: Failing while building guava version v31.0.1 using mvn clean install

JDK Version: 11

Build CMD: mvn clean install

MVN Version: 3.9.6

Error Log:

Failed tests:
testGetStackTraceAsString(com.google.common.base.ThrowablesTest): value of:
testCreateParentDirectories_noPermission(com.google.common.io.MoreFilesTest): expected exception
testGetResource_contextClassLoader(com.google.common.io.ResourcesTest): expected:<...hur ar an mΘar fhada[]
testGetClassPathFromManifest_absoluteJar(com.google.common.reflect.ClassPathTest): value of: getClassPathFromManifest(...).onlyElement()
testGetClassPathFromManifest_multiplePaths(com.google.common.reflect.ClassPathTest): value of : getClassPathFromManifest(...)
testGetClassPathEntry(com.google.common.reflect.ClassPathTest): expected:file:/C:/usr/test/dep.jar but was:file:/usr/test/dep.jar

attachment: build log attached (jdk
failed_jdk_11.txt
11)

OS: windows 11

Example

NA

Expected Behavior

Test cases should be passed with build.

Actual Behavior

Getting Failed.

Packages

No response

Platforms

No response

Checklist

We suppressed (and in some cases fixed) the failures (which are specific to Windows, which we didn't use to test under) last year: #2130

We won't go back at this point and point the v31.0.1 tag to a different commit. But if you want to test 31.0.1 with the the Windows suppressions in place, you can cherry-pick d7c43ab (I think).

We suppressed (and in some cases fixed) the failures (which are specific to Windows, which we didn't use to test under) last year: #2130

We won't go back at this point and point the v31.0.1 tag to a different commit. But if you want to test 31.0.1 with the the Windows suppressions in place, you can cherry-pick d7c43ab (I think).

Thanks a lot, It got worked. But I need to use only v31.0.1 so we can not go for any other version. Please let me know if this commit belongs to same version?

We suppressed (and in some cases fixed) the failures (which are specific to Windows, which we didn't use to test under) last year: #2130
We won't go back at this point and point the v31.0.1 tag to a different commit. But if you want to test 31.0.1 with the the Windows suppressions in place, you can cherry-pick d7c43ab (I think).

Thanks a lot, But I need to use only v31.0.1 so we can not go for any other version. Please let me know if this commit belongs to same version?