[ 
https://issues.apache.org/jira/browse/NIFI-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603856#comment-16603856
 ] 

ASF GitHub Bot commented on NIFI-5574:
--------------------------------------

Github user jtstorck commented on the issue:

    https://github.com/apache/nifi/pull/2988
  
    I created a Windows 10 VM via VirtualBox on my mac.  With a fresh install 
of:
    
    - java
    ```
    java version "1.8.0_181"
    Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
    ```
    - maven
    ```
    Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T11:33:14-07:00)
    Maven home: C:\Users\Jeff\dev\apache-maven-3.5.4
    Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program 
Files\Java\jre1.8.0_181
    Default locale: en_US, platform encoding: Cp1252
    OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
    ```
    I'm running into a build issue, with some failing tests:
    ```
    [ERROR]   TestStandardProcessSession.testBatchQueuedHaveSameQueuedTime:1690 
Queued times should not be equal.. Actual: 1536116092889
    ```
    and quite a few `TestFileSystemRepository` tests due to issues in 
setup/shutdown like the following:
    ```
    [ERROR] 
org.apache.nifi.controller.repository.TestFileSystemRepository.testBogusFile(org.apache.nifi.controller.repository.TestFileSystemRepository)
    [ERROR]   Run 1: TestFileSystemRepository.setup:84 Unable to delete 
target\content_repository\1\1536116075082-1 expected null, but 
was:<target\content_repository\1\1536116075082-1>
    [ERROR]   Run 2: TestFileSystemRepository.shutdown:94 NullPointer
    ```
    This is probably due something related to running Windows in a VM and how I 
created it and/or the virtual disk.  Tomorrow morning I'll try building on my 
Windows desktop to see if the same failures occur.


> Windows 'mvn clean install' fails on Groovy Tests
> -------------------------------------------------
>
>                 Key: NIFI-5574
>                 URL: https://issues.apache.org/jira/browse/NIFI-5574
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: 1.7.1
>         Environment: Windows
>            Reporter: Nicholas Lewis
>            Assignee: Jeff Storck
>            Priority: Major
>              Labels: bootstrap, environment, test, windows
>
> Referenced in a recent [PR 
> discussion|https://github.com/apache/nifi/pull/2987#discussion_r215021556]:
>  
>  
> At the moment my windows installs fail on this NifiGroovyTest, where it tries 
> to generate and reference a linux style path. I saw a recent email discussion 
> that seemed to bring up a similar issue 
> [here|http://apache-nifi.1125220.n5.nabble.com/Build-Failure-for-project-nifi-toolkit-cli-td24180.html].
> _mvn -version_
> {code}
> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 
> 2017-10-18T02:58:13-05:00)
> `Maven` home: C:\Program Files\apache-maven-3.5.2
> Java version: 1.8.0_151, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_151\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: `"windows"`
> {code}
> {code}
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.nifi.NiFiGroovyTest
> [ERROR] Tests run: 8, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.667 
> s <<< FAILURE! - in org.apache.nifi.NiFiGroovyTest
> [ERROR] 
> testInitializePropertiesShouldSetBootstrapKeyFromFile(org.apache.nifi.NiFiGroovyTest)
>   Time elapsed: 0.495 s  <<< ERROR!
> java.nio.file.InvalidPathException: Illegal char <:> at index 2: 
> /C:/Users/nlewis/Desktop/Projects/NIFI/nickOfficialNifi/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-runtime/target/test-classes/\NiFiProperties\password-testInitializePropertiesShouldSetBootstrapKeyFromFile.txt
>         at 
> org.apache.nifi.NiFiGroovyTest.testInitializePropertiesShouldSetBootstrapKeyFromFile(NiFiGroovyTest.groovy:161)
> [ERROR] 
> testMainShouldHandleMalformedBootstrapKeyFromFile(org.apache.nifi.NiFiGroovyTest)
>   Time elapsed: 0.001 s  <<< ERROR!
> java.nio.file.InvalidPathException: Illegal char <:> at index 2: 
> /C:/Users/nlewis/Desktop/Projects/NIFI/nickOfficialNifi/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-runtime/target/test-classes/\NiFiProperties\password-testMainShouldHandleMalformedBootstrapKeyFromFile.txt
>         at 
> org.apache.nifi.NiFiGroovyTest.testMainShouldHandleMalformedBootstrapKeyFromFile(NiFiGroovyTest.groovy:141)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> NiFiGroovyTest.testInitializePropertiesShouldSetBootstrapKeyFromFile:161 ▒ 
> InvalidPath
> [ERROR]   
> NiFiGroovyTest.testMainShouldHandleMalformedBootstrapKeyFromFile:141 ▒ 
> InvalidPath
> [INFO]
> [ERROR] Tests run: 8, Failures: 0, Errors: 2, Skipped: 0
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to