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

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

Open
gege2b opened this issue Mar 11, 2014 · 7 comments
Open

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

gege2b opened this issue Mar 11, 2014 · 7 comments

Comments

@gege2b
Copy link
Contributor

gege2b commented Mar 11, 2014

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 bc44611 (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
Copy link
Member

alranel commented Mar 23, 2014

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

@gege2b
Copy link
Contributor Author

gege2b commented Mar 24, 2014

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 7a58457
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
Copy link
Contributor

llluis commented Mar 24, 2014

Tested the master b4ac63d 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
Copy link
Contributor Author

gege2b commented Mar 25, 2014

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
Copy link
Member

alranel commented Mar 25, 2014

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

@llluis
Copy link
Contributor

llluis commented Mar 25, 2014

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 lordofhyphens added this to the 1.4. milestone Jun 27, 2016
@lordofhyphens
Copy link
Member

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

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

No branches or pull requests

4 participants