Skip to content

Test Failure #82

Description

@ds300

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions