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

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

Closed
1 task done
shivsrivastava opened this issue Apr 21, 2024 · 3 comments
Closed
1 task done
Labels
type=defect Bug, not working as expected

Comments

@shivsrivastava
Copy link

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

@shivsrivastava shivsrivastava added the type=defect Bug, not working as expected label Apr 21, 2024
@cpovirk
Copy link
Member

cpovirk commented Apr 21, 2024

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).

@cpovirk cpovirk closed this as completed Apr 21, 2024
@shivsrivastava
Copy link
Author

shivsrivastava commented Apr 23, 2024

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?

@shivsrivastava
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type=defect Bug, not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants