slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.35k stars 1.29k forks source link

Tests failed when building (t/thin.t) #1825

Open gege2b opened 10 years ago

gege2b commented 10 years ago

Hi all,

Today I've tried to build Slic3r on a Lubuntu 12.10 32 bit (in a virtual machine, host CPU is 64 bit) and one test have failed.

Here's the output of ./Build.PL

Building and testing Slic3r-XS-0.01 ... OK Successfully installed Slic3r-XS-0.01 1 distribution installed t/angles.t ........... ok
t/arcs.t ............. skipped: arcs are currently disabled t/clean_polylines.t .. ok
t/clipper.t .......... ok
t/collinear.t ........ ok
t/combineinfill.t .... ok
t/config.t ........... ok
t/cooling.t .......... ok
t/custom_gcode.t ..... ok
t/dynamic.t .......... skipped: variable-width paths are currently disabled t/fill.t ............. ok
t/gcode.t ............ ok
t/geometry.t ......... ok
t/layers.t ........... ok
t/loops.t ............ skipped: temporarily disabled t/multi.t ............ ok
t/perimeters.t ....... ok
t/polyclip.t ......... ok
t/print.t ............ ok
t/retraction.t ....... ok
t/shells.t ........... ok
t/skirt_brim.t ....... ok
t/slice.t ............ skipped: temporarily disabled t/support.t .......... ok
t/svg.t .............. ok
t/thin.t ............. 1/1

Failed test 'no superfluous thin walls are generated for toothed profile'

at t/thin.t line 44.

Looks like you failed 1 test of 1.

t/thin.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/threads.t .......... ok
t/vibrationlimit.t ... ok

Test Summary Report

t/thin.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=28, Tests=224, 106 wallclock secs ( 0.13 usr 0.03 sys + 101.36 cusr 1.04 csys = 102.56 CPU) Result: FAIL

And here is the commit bc44611f241a5f1d7ab66f14ffc0b1f3d563fc59 (the latest at this time), which should have fixed this things, I guess

Anyway, this is the first time I try to build slic3r, I have just followed the instructions given on the readme, All went fine until this fail

alranel commented 10 years ago

Are you using the master branch? Can you git pull and try again? Is it still failing? Thank you.

gege2b commented 10 years ago

Hi, Yes, I use the master branch, and he still fail after a git pull It's worst, because now it fails also on t/multi.t test Here is the output :

git status On branch master nothing to commit (working directory clean)

git show commit 7a58457add6bb29d85a250bd2c1f142fecf0248e Author: Alessandro Ranellucci aar@cpan.org Date: Mon Mar 24 01:07:30 2014 +0100 Prevent GUI from crashing when invalid values were written in numeric fields. Includes basic validation. #1709

perl Build.PL App::cpanminus is up to date. (1.7001) Class::XSAccessor is up to date. (1.19) Encode::Locale is up to date. (1.03) ExtUtils::MakeMaker is up to date. (6.92) ExtUtils::ParseXS is up to date. (3.24) skipping R/RJ/RJBS/perl-5.18.2.tar.bz2 File::Spec is up to date. (3.40) Getopt::Long is up to date. (2.42) IO::Scalar is up to date. (2.110) Math::PlanePath is up to date. (114) Module::Build::WithXSpp is up to date. (0.14) Moo is up to date. (1.004002) Scalar::Util is up to date. (1.38) Test::Harness is up to date. (3.30) Test::More is up to date. (1.001003) Time::HiRes is up to date. (1.9726) XML::SAX::ExpatXS is up to date. (1.33) Cleaning up build files Cleaning up configuration files --> Working on ./xs Configuring /home/cbbpn/Slic3r/xs ... OK Building and testing Slic3r-XS-0.01 ... OK Successfully installed Slic3r-XS-0.01 1 distribution installed t/angles.t ........... ok
t/arcs.t ............. skipped: arcs are currently disabled t/clean_polylines.t .. ok
t/clipper.t .......... ok
t/collinear.t ........ ok
t/combineinfill.t .... ok
t/config.t ........... ok
t/cooling.t .......... ok
t/custom_gcode.t ..... ok
t/dynamic.t .......... skipped: variable-width paths are currently disabled t/fill.t ............. ok
t/gcode.t ............ ok
t/geometry.t ......... ok
t/layers.t ........... ok
t/loops.t ............ skipped: temporarily disabled t/multi.t ............ 1/2

Failed test 'all toolchanges happen outside skirt'

at t/multi.t line 58.

t/multi.t ............ 2/2 # Looks like you failed 1 test of 2. t/multi.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/perimeters.t ....... ok
t/polyclip.t ......... ok
t/print.t ............ ok
t/retraction.t ....... ok
t/shells.t ........... ok
t/skirt_brim.t ....... ok
t/slice.t ............ skipped: temporarily disabled t/support.t .......... ok
t/svg.t .............. ok
t/thin.t ............. 1/12

Failed test 'no superfluous thin walls are generated for toothed profile'

at t/thin.t line 44.

Looks like you failed 1 test of 12.

t/thin.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests t/threads.t .......... ok
t/vibrationlimit.t ... ok

Test Summary Report

t/multi.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/thin.t (Wstat: 256 Tests: 12 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=28, Tests=244, 129 wallclock secs ( 0.14 usr 0.03 sys + 106.78 cusr 1.36 csys = 108.31 CPU) Result: FAIL Some tests failed. Please report the failure to the author!

I don't think its related, but if I try to Build.PL --gui, OpenGL fails to configure

llluis commented 10 years ago

Tested the master b4ac63d7499305ab381ed2ab7c03d8a978d9ec61 today and the test still fails.

Windows 7 x64 CitrusPerl 5.14.2.1 x64 wxWidgets 2.9.3 mingW64

App::cpanminus is up to date. (1.7001)
Class::XSAccessor is up to date. (1.19)
Encode::Locale is up to date. (1.03)
ExtUtils::MakeMaker is up to date. (6.92)
ExtUtils::ParseXS is up to date. (3.24)
skipping R/RJ/RJBS/perl-5.18.2.tar.bz2
File::Spec is up to date. (3.40)
Getopt::Long is up to date. (2.42)
IO::Scalar is up to date. (2.110)
Math::PlanePath is up to date. (114)
Module::Build::WithXSpp is up to date. (0.14)
Moo is up to date. (1.004002)
Scalar::Util is up to date. (1.38)
Test::Harness is up to date. (3.30)
Test::More is up to date. (1.001003)
Time::HiRes is up to date. (1.9726)
XML::SAX::ExpatXS is up to date. (1.33)
Cleaning up build files
Cleaning up configuration files
--> Working on ./xs
Configuring D:/RepRapSlicer/Slic3r-master/xs ... OK
Building and testing Slic3r-XS-0.01 ... OK
Successfully installed Slic3r-XS-0.01
1 distribution installed
t\angles.t ........... ok
t\arcs.t ............. skipped: arcs are currently disabled
t\clean_polylines.t .. ok
t\clipper.t .......... ok
t\collinear.t ........ ok
t\combineinfill.t .... ok
t\config.t ........... ok
t\cooling.t .......... ok
t\custom_gcode.t ..... ok
t\dynamic.t .......... skipped: variable-width paths are currently disabled
t\fill.t ............. ok
t\gcode.t ............ ok
t\geometry.t ......... ok
t\layers.t ........... ok
t\loops.t ............ skipped: temporarily disabled
t\multi.t ............ ok
t\perimeters.t ....... ok
t\polyclip.t ......... ok
t\print.t ............ ok
t\retraction.t ....... ok
t\shells.t ........... ok
t\skirt_brim.t ....... ok
t\slice.t ............ skipped: temporarily disabled
t\support.t .......... ok
t\svg.t .............. ok
t\thin.t .............
# Failed test 'no superfluous thin walls are generated for toothed profile'
t\thin.t ............. 1/12 #   at t\thin.t line 44.
# Looks like you failed 1 test of 12.
t\thin.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests
t\threads.t .......... ok
t\vibrationlimit.t ... ok

Test Summary Report
--------
t\thin.t           (Wstat: 256 Tests: 12 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=28, Tests=244, 97 wallclock secs ( 0.22 usr +  0.02 sys =  0.23 CPU)
Result: FAIL
Some tests failed. Please report the failure to the author!
gege2b commented 10 years ago

Hi,

I've tried right now with the last commit Still got the same error except for multi.t which didn't failed like yesterday

all the stuff before, all was OK ``` t/thin.t ............. 1/12 # Failed test 'no superfluous thin walls are generated for toothed profile' # at t/thin.t line 44. # Looks like you failed 1 test of 12. t/thin.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests t/threads.t .......... ok t/vibrationlimit.t ... ok Test Summary Report ------------------- t/thin.t (Wstat: 256 Tests: 12 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=28, Tests=248, 105 wallclock secs ( 0.11 usr 0.04 sys + 99.47 cusr 0.88 csys = 100.50 CPU) Result: FAIL Some tests failed. Please report the failure to the author! git show commit c98c992b4d4187662d9b130b9e2b8fddbebb61e7 ```
alranel commented 10 years ago

Okay, I disabled the failing test. This needs more work.

llluis commented 10 years ago

Just to highlight that I'm using Windows 7 64bits and the test fails too. It seems that it's not only in Linux.

lordofhyphens commented 8 years ago

@alexrj was this test impacted by the new variable-width walls?