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

Make test failed with one error #931

Closed
mikedl opened this issue Feb 9, 2013 · 7 comments
Closed

Make test failed with one error #931

mikedl opened this issue Feb 9, 2013 · 7 comments

Comments

@mikedl
Copy link

mikedl commented Feb 9, 2013

==> Dumping message...

Summary: Make test failed with one error
Reported by: `michaeld.lynch@gmail.com`

Here's the error message from make test:

Test Summary Report
-------------------
t/pmc/os.t                                (Wstat: 256 Tests: 35 Failed: 1)
Failed test:  30
Non-zero exit status: 1
t/perl/Parrot_Docs.t                      (Wstat: 256 Tests: 24 Failed: 1)
Failed test:  12
Non-zero exit status: 1
Files=452, Tests=14424, 286 wallclock secs ( 5.78 usr  1.34 sys + 158.53 cusr 55.18 csys = 220.83 CPU)
Result: FAIL
make: *** [test_core] Error 1

I'm running on:
Linux ubuntu 3.5.0-23-generic #35-Ubuntu SMP Thu Jan 24 13:15:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Mike


---
osname= linux
osvers= 3.2.0-23-generic
arch=   x86_64-linux-gnu-thread-multi
cc=     cc

---
Flags:
    category=install
    severity=medium
    ack=no

---
Summary of my parrot 5.0.0 (r1) configuration:
  configdate='Sat Feb  9 17:12:14 2013 GMT'
  Platform:
    osname=linux, archname=x86_64-linux-gnu-thread-multi
    perl=/usr/bin/perl
  Compiler:
    cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector  -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT',
  Linker and Libraries:
    link='cc', linkflags=' -fstack-protector -L/usr/local/lib -Wl,-E',
    ld='cc', ldflags=' -fstack-protector -L/usr/local/lib',
    cc_ldflags='',
    libs='-ldl -lm -lpthread -lcrypt -lrt -lreadline '
  Dynamic Linking:
    cc_shared='-fPIC',
    link_dynamic='-Wl,-E',
    ld_share_flags='-shared -L/usr/local/lib -fstack-protector -fPIC',
    ld_load_flags='-shared -L/usr/local/lib -fstack-protector -fPIC'
  Extensions:
    o='.o', a='.a', exe='',
    share_ext='.so', load_ext='.so'
  Misc Programs:
    ar='ar', ranlib=':',
    make='make', make_set_make='#'
  Types:
    iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
    ptrsize=8,  byteorder=12345678, 
    nv=double, numvalsize=8, doublesize=8, longdoublesize=16

---
Environment:
    HOME =/home/mike
    LANG =en_US.UTF-8
    LANGUAGE  (unset)
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH =/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/jdk1.7.0_10/bin
    SHELL =/bin/bash
@jkeenan
Copy link
Contributor

jkeenan commented Feb 9, 2013

On 2/9/13 12:39 PM, Mike Lynch wrote:

==> Dumping message...
Summary: Make test failed with one error

Reported by: michaeld.lynch@gmail.com

Here's the error message from make test:

Test Summary Report

t/pmc/os.t (Wstat: 256 Tests: 35 Failed: 1)
Failed test: 30
Non-zero exit status: 1
t/perl/Parrot_Docs.t (Wstat: 256 Tests: 24 Failed: 1)
Failed test: 12
Non-zero exit status: 1
Files=452, Tests=14424, 286 wallclock secs ( 5.78 usr 1.34 sys + 158.53 cusr 55.18 csys = 220.83 CPU)
Result: FAIL
make: *** [test_core] Error 1

I'm running on:
Linux ubuntu 3.5.0-23-generic #35-Ubuntu SMP Thu Jan 24 13:15:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Would it be possible to post the output of this command?

 prove -v t/pmc/os.t t/perl/Parrot_Docs.t

Thank you very much.
Jim Keenan

@mikedl
Copy link
Author

mikedl commented Feb 9, 2013

mike@ubuntu:~/mike_win/parrot-5.0.0$ prove -v t/pmc/os.t t/perl/Parrot_Docs.t
t/pmc/os.t ............ 
1..35
ok 1 - Test cwd
ok 2 - Test bad cwd
ok 3 - Test chdir
ok 4 - Test bad chdir
ok 5 - Test mkdir
ok 6 - Test bad mkdir
ok 7 - Test rm call in a directory
ok 8 - Test that rm removed the directory
ok 9 - Test bad rm calls
ok 10 - Test OS.stat
ok 11 - test bad stat
ok 12 - Test OS.readdir
ok 13 - Test OS.readdir with ord >127
ok 14 - Test bad OS.readdir
ok 15 - Test OS.rename
ok 16 - file was really renamed
ok 17 - Test bad OS.rename
ok 18 - Test OS.lstat
ok 19 - Test rm call in a file
ok 20 - Test that rm removed file
ok 21 - Test symlink
ok 22 - symlink was really created
ok 23 - Test link
ok 24 - hard link to file was really created
ok 25 - Test dirlink
ok 26 - Test umask
ok 27 # skip chroot not available if not root
ok 28 - Test get_user_id
ok 29 - Test chmod
not ok 30 - really did chmod

#   Failed test 'really did chmod'
#   at t/pmc/os.t line 707.
ok 31 - Test chmod
ok 32 - Test can_read
ok 33 - Test can_write
ok 34 - Test can_execute
ok 35 - loadlib 'os' deprecation
# Looks like you failed 1 test of 35.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/35 subtests 
    (less 1 skipped subtest: 33 okay)
t/perl/Parrot_Docs.t .. 
1..24
ok 1 - use Parrot::Docs::POD2HTML;
ok 2 - use Parrot::Docs::Directory;
ok 3 - use Parrot::Docs::File;
ok 4 - use Parrot::Docs::Item;
ok 5 - use Parrot::Docs::Group;
ok 6 - use Parrot::Docs::Section;
ok 7 - href_path
ok 8 - files_of_type succeed
ok 9 - files_of_type fail
ok 10 - is_of_type succeed
ok 11 - is_of_type fail
not ok 12 - short_description

#   Failed test 'short_description'
#   at t/perl/Parrot_Docs.t line 52.
#          got: ''
#     expected: 'Docs-Related File'
ok 13 - contains_pod no
ok 14 - contains_pod yes, no errors
ok 15 - num_pod_errors none
ok 16 - contains_pod yes, errors
ok 17 - num_pod_errors one
ok 18 - pod_errors
ok 19 - new item
ok 20 - new group
ok 21 - name
ok 22 - new section
ok 23 - index.html
ok 24 - write_html
# Looks like you failed 1 test of 24.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/24 subtests 

Test Summary Report
-------------------
t/pmc/os.t          (Wstat: 256 Tests: 35 Failed: 1)
  Failed test:  30
  Non-zero exit status: 1
t/perl/Parrot_Docs.t (Wstat: 256 Tests: 24 Failed: 1)
  Failed test:  12
  Non-zero exit status: 1
Files=2, Tests=59,  1 wallclock secs ( 0.05 usr  0.01 sys +  0.38 cusr  0.18 csys =  0.62 CPU)
Result: FAIL

@leto
Copy link
Member

leto commented Mar 24, 2013

Seems like the "really did chmod" test should provide better diagnostics when the test fails.

@leto
Copy link
Member

leto commented Mar 25, 2013

@mikedl are you still getting this with Parrot 5.1.0 or 5.2.0 ?

@jkeenan
Copy link
Contributor

jkeenan commented Mar 25, 2013

Could the problem in t/pmc/os.t be related to this?

$ ack '\b07777' t
t/pmc/os.t
706:    my $filemode = (stat("test_f_c"))[2] & 07777;

07777 looks fishy. There's only one instance of it under t/. Shouldn't it simply be: 0777?

@paultcochrane
Copy link
Contributor

The failing test mentioned above no longer fails (in 6.1.0-devel). Could this issue be marked as resolved?

@rurban
Copy link
Member

rurban commented Mar 19, 2014

Only fails in mingw32, see #1063

@rurban rurban closed this as completed Mar 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants