Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

[PkgEval] MeCab may have a testing issue on Julia 0.3 (2014-09-16) #1

Closed
IainNZ opened this issue Sep 16, 2014 · 4 comments
Closed

Comments

@IainNZ
Copy link

IainNZ commented Sep 16, 2014

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

  • On 2014-09-16 the testing status was N/A - new package.
  • On 2014-09-16 the testing status changed to Tests fail, but package loads.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("MeCab")' log
INFO: Cloning cache of MeCab from git://github.com/chezou/MeCab.jl.git
INFO: Installing MeCab v0.0.1
INFO: Package database updated

>>> 'using MeCab' log
Julia Version 0.3.1-pre+26
Commit 91ba8a9 (2014-08-26 16:55 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

>>> test log
ERROR: error compiling Mecab: error compiling Mecab: could not load module libmecab: libmecab: cannot open shared object file: No such file or directory
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_1717 at /home/idunning/julia03/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.3/MeCab/test/runtests.jl, in expression starting on line 5

INFO: Testing MeCab
================================[ ERROR: MeCab ]================================

failed process: Process(`/home/idunning/julia03/usr/bin/julia /home/idunning/pkgtest/.julia/v0.3/MeCab/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: MeCab had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:711
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:67
 in process_options at ./client.jl:213
 in _start at ./client.jl:354
 in _start_3B_1717 at /home/idunning/julia03/usr/bin/../lib/julia/sys.so


>>> end of log
@IainNZ
Copy link
Author

IainNZ commented Sep 16, 2014

Hi @chezou
We have two options:

  • Exclude your package from automatic testing. Many packages who don't automatically install binaries are excluded currently.
  • You add binary support.

Let me know what your plans are!

@chezou
Copy link
Owner

chezou commented Sep 16, 2014

@IainNZ I've already install binary on before_install using certain gist, and travis CI passes.
I think the script takes too long time to test because it installs from source code.

What should I do?

@chezou
Copy link
Owner

chezou commented Sep 18, 2014

I understand what you meen. PackageEvaluator.jl is independent with travis CI, so I have to exclude my package or I should automatically install binary.

I choose ignore automatic test.

@IainNZ
Copy link
Author

IainNZ commented Sep 18, 2014

OK :)

@IainNZ IainNZ closed this as completed Sep 18, 2014
IainNZ added a commit to JuliaCI/PackageEvaluator.jl that referenced this issue Sep 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants