[jira] [Created] (CARBONDATA-1114) Failed to run tests in windows env

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-1114) Failed to run tests in windows env

Akash R Nilugal (Jira)
xuchuanyin created CARBONDATA-1114:
--------------------------------------

             Summary: Failed to run tests in windows env
                 Key: CARBONDATA-1114
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1114
             Project: CarbonData
          Issue Type: Bug
          Components: build
    Affects Versions: 1.2.0
         Environment: windows7 64bit
            Reporter: xuchuanyin
            Priority: Minor


when run build command "mvn clean package -Pspark-2.1 -Dspark.version=2.1.0 -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true" in windows env, there are some failures in tests as below:

--MODULE:processing---
Failed tests:
  LocalFileLockTest.testingLocalFileLockingByAcquiring2Locks:64 null
Tests in error:
  ZooKeeperLockingTest.testZooKeeperLockingByTryingToAcquire2Locks:98 ? StringIndexOutOfBounds
Tests run: 13, Failures: 1, Errors: 1, Skipped: 1

--MODULE:core---
Failed tests:
  AbsoluteTableIdentifierTest.gettablePathTest:89 null
  DFSFileHolderImplUnitTest.testDouble:129
Expected: is <7.3083355198552433E18>
     but: was <8.0305922754531471E18>
  DFSFileHolderImplUnitTest.testReadByteArray:84
Expected: is [<72>]
     but: was [<99>]
  DFSFileHolderImplUnitTest.testReadByteArrayWithFilePath:90
Expected: is [<108>, <108>]
     but: was [<114>, <101>]
  DFSFileHolderImplUnitTest.testReadInt:112
Expected: is <1701604463>
     but: was <1869767968>
  DFSFileHolderImplUnitTest.testReadIntWithFileName:118
Expected: is <1701604463>
     but: was <1869767968>
  DFSFileHolderImplUnitTest.testReadLong:96
Expected: is <7308335519855243122L>
     but: was <8030592275453146721L>
  FileFactoryImplUnitTest.testCreateNewFileWithDefaultFileType:85 null
  FileFactoryImplUnitTest.testCreateNewLockFileWithDefaultFileType:90 null
  FileFactoryImplUnitTest.testCreateNewLockFileWithViewFsFileType:95 null
  FileHolderImplUnitTest.testDouble:130
Expected: is <7.3083355198552433E18>
     but: was <8.0305922754531471E18>
  FileHolderImplUnitTest.testReadByteArray:87
Expected: is [<72>]
     but: was [<99>]
  FileHolderImplUnitTest.testReadByteArrayWithFilePath:93
Expected: is [<108>, <108>]
     but: was [<114>, <101>]
  FileHolderImplUnitTest.testReadInt:113
Expected: is <1701604463>
     but: was <1869767968>
  FileHolderImplUnitTest.testReadIntWithFileName:119
Expected: is <1701604463>
     but: was <1869767968>
  FileHolderImplUnitTest.testReadLong:99
Expected: is <7308335519855243122L>
     but: was <8030592275453146721L>
  LocalCarbonFileTest.testRenameForce:123 null
  LocalCarbonFileTest.testsetLastModifiedTime:139 null
Tests run: 841, Failures: 18, Errors: 0, Skipped: 0



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (CARBONDATA-1114) Failed to run tests in windows env

Erlu Chen
Hi, xuchuanyin

I think lots of failed test cases may caused by the reason that window path is different from linux path.

I have tested in my MAC with local mode.

All test cases you mentioned are passed.

Regards.
Chenerlu.