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

Test Failure #82

Open
ds300 opened this issue Jul 18, 2012 · 0 comments
Open

Test Failure #82

ds300 opened this issue Jul 18, 2012 · 0 comments

Comments

@ds300
Copy link
Contributor

ds300 commented Jul 18, 2012

I ran the build script thusly:

mvn -Dgpg.skip=true -P release install

and got the following error:

... [everything before here omitted]
[INFO] xcount: Merging and aggregating results (100% complete)
The following options are required: -oe, --output-entries -oef, --output-entry-features -of, --output-features -i, --input 
Usage: count [options]
  Options:
    -c, --charset                   The character set encoding to use for both
                                    reading input and writing output files.
                                    Default: UTF-8
    -C, --chunk-size                Number of lines per work unit. Larger value
                                    increase performance and memory usage.
                                    Default: 1000000
    -Xe, --entries-index-file       Index file for enumerating entries.
    -Ee, --enumerated-entries       Whether tokens in the first column of the
                                    input file are indexed.
                                    Default: false
    -Ef, --enumerated-features      Whether entries in the second column of the
                                    input file are indexed.
                                    Default: false
    -et, --enumerator-type          Options: [Memory, JDBC]
                                    Default: Memory
    -Xf, --features-index-file      Index file for enumerating features.
    -h, --help                      Display this help message.
                                    Default: false
  * -i, --input                     Input instances file
  * -oe, --output-entries           Output entry frequencies file
  * -oef, --output-entry-features   Output entry-feature frequencies file
  * -of, --output-features          Output feature frequencies file
    -T, --temporary-directory       Directory used for holding temporary files.
                                    Default: /var/folders/td/6hvym23x1zj0gpdk1kkyl7780000gp/T/tmp-<uniqueid>.tmp
    -t, --threads                   Number of threads to use.
                                    Default: 2
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.379 sec <<< FAILURE!

Results :

Tests in error: 
  testRunOnFruitAPITinyChunk(uk.ac.susx.mlcl.byblo.commands.ExternalCountCommandTest): java.lang.AssertionError: Enumerated value is null; there is no item ascociated with index 368.

Tests run: 222, Failures: 0, Errors: 1, Skipped: 14

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.852s
[INFO] Finished at: Wed Jul 18 13:54:37 BST 2012
[INFO] Final Memory: 15M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project Byblo: There are test failures.
[ERROR] 
[ERROR] Please refer to /Volumes/LocalScratchHD/LocalHome/ds300/Documents/twitter/Byblo src/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

surefire-reports/TEST-uk.ac.susx.mlcl.byblo.commands.ExternalCountCommandTest.xml looks like this: https://gist.github.com/3136078

If you need more info, let me know.

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

No branches or pull requests

1 participant