[ 
https://issues.apache.org/jira/browse/SOLR-16329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Drob updated SOLR-16329:
-----------------------------
    Description: 
Introduced by 
https://github.com/apache/solr/commit/01c059811a04d2713b34fd0bd54c2a96a1173938

{noformat}
java.nio.file.InvalidPathException: Illegal char <:> at index 2: 
/C:/Users/jenkins/workspace/Solr-main-Windows/solr/modules/s3-repository/build/resources/test/s3.conf
        at 
java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at 
java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at 
java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
        at 
java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232)
        at java.base/java.nio.file.Path.of(Path.java:147)
        at java.base/java.nio.file.Paths.get(Paths.java:69)
        at 
software.amazon.awssdk.profiles.ProfileFileLocation.resolveProfileFilePath(ProfileFileLocation.java:86)
        at 
software.amazon.awssdk.profiles.ProfileFileLocation.credentialsFilePath(ProfileFileLocation.java:58)
        at 
software.amazon.awssdk.profiles.ProfileFileLocation.credentialsFileLocation(ProfileFileLocation.java:77)
        at 
software.amazon.awssdk.profiles.ProfileFile.addCredentialsFile(ProfileFile.java:138)
        at 
software.amazon.awssdk.utils.builder.SdkBuilder.applyMutation(SdkBuilder.java:61)
        at 
software.amazon.awssdk.profiles.ProfileFile.defaultProfileFile(ProfileFile.java:90)
        at 
software.amazon.awssdk.core.retry.RetryMode$Resolver.fromProfileFile(RetryMode.java:161)
        at 
software.amazon.awssdk.core.retry.RetryMode$Resolver.lambda$resolve$0(RetryMode.java:149)
        at 
software.amazon.awssdk.utils.OptionalUtils.firstPresent(OptionalUtils.java:47)
        at 
software.amazon.awssdk.core.retry.RetryMode$Resolver.resolve(RetryMode.java:149)
        at 
org.apache.solr.s3.S3StorageClient.createInternalClient(S3StorageClient.java:144)
        at org.apache.solr.s3.S3StorageClient.<init>(S3StorageClient.java:99)
        at 
org.apache.solr.s3.AbstractS3ClientTest.setUpClient(AbstractS3ClientTest.java:56)
{noformat}

  was:
Introduced by 
https://github.com/apache/solr/commit/01c059811a04d2713b34fd0bd54c2a96a1173938

{noformat}
Illegal char <:> at index 2: 
/C:/Users/jenkins/workspace/Solr-main-Windows/solr/modules/s3-repository/build/resources/test/s3.conf
{noformat}


> Specifying s3.conf file breaks unit tests on Windows
> ----------------------------------------------------
>
>                 Key: SOLR-16329
>                 URL: https://issues.apache.org/jira/browse/SOLR-16329
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mike Drob
>            Priority: Major
>
> Introduced by 
> https://github.com/apache/solr/commit/01c059811a04d2713b34fd0bd54c2a96a1173938
> {noformat}
> java.nio.file.InvalidPathException: Illegal char <:> at index 2: 
> /C:/Users/jenkins/workspace/Solr-main-Windows/solr/modules/s3-repository/build/resources/test/s3.conf
>       at 
> java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
>       at 
> java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
>       at 
> java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
>       at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
>       at 
> java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232)
>       at java.base/java.nio.file.Path.of(Path.java:147)
>       at java.base/java.nio.file.Paths.get(Paths.java:69)
>       at 
> software.amazon.awssdk.profiles.ProfileFileLocation.resolveProfileFilePath(ProfileFileLocation.java:86)
>       at 
> software.amazon.awssdk.profiles.ProfileFileLocation.credentialsFilePath(ProfileFileLocation.java:58)
>       at 
> software.amazon.awssdk.profiles.ProfileFileLocation.credentialsFileLocation(ProfileFileLocation.java:77)
>       at 
> software.amazon.awssdk.profiles.ProfileFile.addCredentialsFile(ProfileFile.java:138)
>       at 
> software.amazon.awssdk.utils.builder.SdkBuilder.applyMutation(SdkBuilder.java:61)
>       at 
> software.amazon.awssdk.profiles.ProfileFile.defaultProfileFile(ProfileFile.java:90)
>       at 
> software.amazon.awssdk.core.retry.RetryMode$Resolver.fromProfileFile(RetryMode.java:161)
>       at 
> software.amazon.awssdk.core.retry.RetryMode$Resolver.lambda$resolve$0(RetryMode.java:149)
>       at 
> software.amazon.awssdk.utils.OptionalUtils.firstPresent(OptionalUtils.java:47)
>       at 
> software.amazon.awssdk.core.retry.RetryMode$Resolver.resolve(RetryMode.java:149)
>       at 
> org.apache.solr.s3.S3StorageClient.createInternalClient(S3StorageClient.java:144)
>       at org.apache.solr.s3.S3StorageClient.<init>(S3StorageClient.java:99)
>       at 
> org.apache.solr.s3.AbstractS3ClientTest.setUpClient(AbstractS3ClientTest.java:56)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to