Build #5,094

Build plan for the master branch

Build: #5094 failed Scheduled with changes by Mahmoud Ben Hassine <mbenhassine@vmware.com>

Build result summary

Details

Completed
Duration
8 seconds
Labels
None
Agent
bamboo-12.af.pivotal.io
Revision
29f701cd0c050405b092721d8dacb46461f2f163 29f701cd0c050405b092721d8dacb46461f2f163
Fixed in
#5095 (Scheduled)
No failed test found. A possible compilation error occurred.

Responsible

No one has taken responsibility for this failure

Code commits

Author Commit Message Commit date
Mahmoud Ben Hassine <mbenhassine@vmware.com> Mahmoud Ben Hassine <mbenhassine@vmware.com> 29f701cd0c050405b092721d8dacb46461f2f163 29f701cd0c050405b092721d8dacb46461f2f163 Fix link to STS in README
Mahmoud Ben Hassine <mbenhassine@vmware.com> Mahmoud Ben Hassine <mbenhassine@vmware.com> eaeb415521c29cecc6ca3c9a57104c2486927162 eaeb415521c29cecc6ca3c9a57104c2486927162 Remove outdated IDE specific resources
Mahmoud Ben Hassine <mbenhassine@vmware.com> Mahmoud Ben Hassine <mbenhassine@vmware.com> 329457e672366251b2e68909fa05a8575fe2100e 329457e672366251b2e68909fa05a8575fe2100e Remove irrelevant test
The test `testCompareNewWithOldAfterCopy` does
not work on linux/unix unless a `Thread.sleep`
is added before the file copying (see cbcf28c3).

This test does not work on windows neither,
because it is based on apache commons
`FileUtils.copyFile` which does not honor
`preserveFileDate=false` on windows.

The following test works on linux/unix
but not on windows:

```
@Test
public void testLastModifiedAfterCopy() throws IOException {
    File existing = new FileSystemResource(FILE_PATH).getFile();
    File temp = new File("target/temp.txt");
    assertFalse(temp.exists());
    FileUtils.copyFile(existing, temp, false);
    assertTrue(temp.lastModified() > existing.lastModified());
}
```

On windows, even though `preserveFileDate=false`,
the last modification date of the copy is equal
(ie preserved) to the one of the original file,
which is not the case on linux/unix. Trying to
use an alternative like `java.nio.file.Files#copy`
does not work since it only offers the ability
to either copy file attributes or replace the
existing file (which is not the idea of this test).

This test does not add any value and should have
been removed since a long time (see TODO in 12d6613).

Error summary for Default Job

The job generated some errors, drill down into the full build log for more details.

Error: Cannot perform an interactive login from a non TTY device