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

build: fimDoesNotExist(org.fim.FimTest): Unexpected exception #15

Closed
JPlanche opened this issue Jun 3, 2017 · 2 comments
Closed

build: fimDoesNotExist(org.fim.FimTest): Unexpected exception #15

JPlanche opened this issue Jun 3, 2017 · 2 comments
Assignees
Labels

Comments

@JPlanche
Copy link

JPlanche commented Jun 3, 2017

Hello,

I wanted to build Fim myself, not than I can maintain a fork but in order to use a build which resolves Issue #9.
Anyway, it doesn't work and I don't know what can be wrong.
Thank you for your help!

Here is the end of the output but I can send more informations.

- State #1: 2017/06/03 21:57:28 (10 files - 121,4 MB - generated using hash mode hashAll)
	Comment: Using hash mode hashAll

Added:            file01
Added:            file02
Added:            file03
Added:            file04
Added:            file05
Added:            file06
Added:            file07
Added:            file08
Added:            file09
Added:            file10

10 added

- State #2: 2017/06/03 21:57:50 (20 files - 230,3 MB - generated using hash mode hashSmallBlock)
	Comment: Using hash mode hashSmallBlock

Added:            .fimignore
Added:            dir01/.fimignore
Added:            dir01/ignored_type1
Added:            file12
Added:            ignored_type2
Added:            media.mp4
Copied:           file11 	(was file05)
Duplicated:       file03.dup1 = file03 
Duplicated:       file03.dup2 = file03 
Duplicated:       file07.dup1 = file07 
Date modified:    file02 	last modified: 2017/06/03 21:57:27 -> 2017/06/03 21:57:30
Content modified: file04 	last modified: 2017/06/03 21:57:27 -> 2017/06/03 21:57:29
Content modified: file05 	last modified: 2017/06/03 21:57:28 -> 2017/06/03 21:57:30
Renamed:          file01 -> dir01/file01 
Deleted:          file06

6 added, 1 copied, 3 duplicated, 1 date modified, 2 content modified, 1 renamed, 1 deleted

- State #3: 2017/06/03 21:57:53 (20 files - 234,3 MB - generated from dir01 using hash mode hashSmallBlock)
	Comment: Using hash mode hashSmallBlock

Added:            dir01/file15

1 added

- State #4: 2017/06/03 21:57:54 (22 files - 267,3 MB - generated using hash mode hashSmallBlock)
	Comment: From from sub directory dir01

Added:            file13
Added:            file14

2 added

2017/06/03 21:57:57 - Info  - Searching for duplicate files

2017/06/03 21:57:57 - Info  - Scanning recursively local files, using 'full' mode and automatic scaling
(Hash progress legend for files grouped 10 by 10: # > 1 GB, @ > 200 MB, O > 100 MB, 8 > 50 MB, o > 20 MB, . otherwise)
OO
2017/06/03 21:57:59 - Info  - Scanned 22 files (267,3 MB), using 2 threads, hashed 267,3 MB (avg 267,3 MB/s), during 00:00:01

- Duplicate set #1: duplicated 2 times, 11,4 MB each, 22,8 MB of wasted space
      file03
  [-] file03.dup1
  [-] file03.dup2

- Duplicate set #2: duplicated 1 time, 12,6 MB each, 12,6 MB of wasted space
      file07
  [-] file07.dup1

Removed 3 files and freed 35,4 MB
No duplicate file remains
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.791 sec

Results :

Tests in error: 
  fimDoesNotExist(org.fim.FimTest): Unexpected exception, expected<org.fim.command.exception.BadFimUsageException> but was<org.fim.command.exception.RepositoryException>

Tests run: 249, Failures: 0, Errors: 1, Skipped: 6

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:50 min
[INFO] Finished at: 2017-06-03T21:57:59+02:00
[INFO] Final Memory: 69M/580M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project fim: There are test failures.
[ERROR] 
[...]
@evrignaud evrignaud self-assigned this Jun 6, 2017
@evrignaud evrignaud added the bug label Jun 6, 2017
evrignaud added a commit that referenced this issue Jun 6, 2017
… exception

Avoid to have tests dependent on the execution order.
@evrignaud
Copy link
Owner

Thanks for your returns.
I have fixed the issue, and I'll generate a release.

@evrignaud
Copy link
Owner

You can get Fim 1.2.3 from here https://evrignaud.github.io/fim/#_fim_changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants