tedsteiner / OpenStreetMap.jl

Julia OpenStreetMap Package
Other
52 stars 18 forks source link

[PkgEval] OpenStreetMap may have a testing issue on Julia 0.3 (2015-02-13) #66

Closed IainNZ closed 9 years ago

IainNZ commented 9 years ago

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

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

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("OpenStreetMap")' log
INFO: Cloning cache of OpenStreetMap from git://github.com/tedsteiner/OpenStreetMap.jl.git
INFO: Installing Cairo v0.2.24
INFO: Installing Color v0.4.0
INFO: Installing DataStructures v0.3.5
INFO: Installing FixedPointNumbers v0.0.6
INFO: Installing Graphics v0.1.0
INFO: Installing Graphs v0.5.0
INFO: Installing IniFile v0.2.4
INFO: Installing LightXML v0.1.10
INFO: Installing OpenStreetMap v0.7.0
INFO: Installing Tk v0.2.17
INFO: Installing Winston v0.11.7
INFO: Building Cairo
INFO: Building LightXML
INFO: Building Tk
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of OpenStreetMap
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'using OpenStreetMap' log
Julia Version 0.3.5
Commit a05f87b (2015-01-08 22:33 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
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  322k  100  322k    0     0   348k      0 --:--:-- --:--:-- --:--:--  348k
testing read_data ...
elapsed time: 12.105333587 seconds (273812616 bytes allocated, 1.14% gc time)
testing simcity ...
elapsed time: 0.151198825 seconds (4118936 bytes allocated)
testing crop_map ...
elapsed time: 0.793757345 seconds (32035296 bytes allocated)
testing classes ...
elapsed time: 0.125040678 seconds (6366196 bytes allocated)
testing coordinates ...
elapsed time: 0.040347547 seconds (1124892 bytes allocated)
testing routes ...
elapsed time: 1.231563937 seconds (42102808 bytes allocated, 2.68% gc time)
testing plots ...

ERROR: `getgc` has no method matching getgc(::Canvas)
 in anonymous at /home/idunning/pkgtest/.julia/v0.3/Winston/src/tk.jl:23
 in display at /home/idunning/pkgtest/.julia/v0.3/Winston/src/tk.jl:35
 in display at /home/idunning/pkgtest/.julia/v0.3/Winston/src/Winston.jl:2735
 in display at multimedia.jl:149
 in plotMap at /home/idunning/pkgtest/.julia/v0.3/OpenStreetMap/src/plot.jl:173
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in anonymous at no file:56
 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
while loading /home/idunning/pkgtest/.julia/v0.3/OpenStreetMap/test/plots.jl, in expression starting on line 21
while loading /home/idunning/pkgtest/.julia/v0.3/OpenStreetMap/test/runtests.jl, in expression starting on line 10

INFO: Testing OpenStreetMap
============================[ ERROR: OpenStreetMap ]============================

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

================================================================================
INFO: No packages to install, update or remove
ERROR: OpenStreetMap had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:718
 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

>>> end of log
garborg commented 9 years ago

I'm guessing someone will get to this on the Winston end. Lots of (great!) changes on 0.4 recently. If not, I'll try to take a look in a couple days.

tedsteiner commented 9 years ago

Yeah, this is a weird one.

The test version (above) of Winston matches my local version (0.11.7) but the Tk version is one patch newer. But the supposedly missing method, getgc(::Canvas) is in file Tk/src/tkwidget.jl, and that file hasn't been changed since your commit back in October.

Definitely appears to be outside of this package.

tedsteiner commented 9 years ago

Ah, looks like Winston had the same error in their tests, too. https://github.com/nolta/Winston.jl/issues/204

garborg commented 9 years ago

Cool, that sounds right.

tedsteiner commented 9 years ago

Closing this since our tests are passing on Julia 0.3 now.