user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Alyssa Ross <hi@alyssa.is>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: Test failures in build sandbox
Date: Tue, 24 Sep 2019 22:12:32 +0000	[thread overview]
Message-ID: <87r245tkbz.fsf@alyssa.is> (raw)
In-Reply-To: <20190924040123.6jbtvpadnk6negox@whir>

[-- Attachment #1: Type: text/plain, Size: 4516 bytes --]

Eric Wong <e@80x24.org> writes:

>> (It may be of note however that I did not have Xapian enabled.  Trying
>> to build with that caused a host of other failures that were beyond my
>> ability to troubleshoot, so I decided to just give up on running the
>> tests for now, since they seem very dependent on the environment and the
>> environment inside our build sandboxes is so different from what
>> public-inbox will have on a running system anyway.)
>
> I don't know much about Nix, but I hope/expect public-inbox
> tests to work on every reasonably modern Unix-like OS which
> Perl5, git, and SQLite run on.
>
> If you post logs of the failures you encountered, it would
> improve the chances that somebody here (maybe not me) can
> help fix them.  Thanks.

As requested, following a test log, edited down to just failures /
successes with error output:

PERL_DL_NONLAZY=1 "/nix/store/5r85g4zzk0djffzs47zaimvkxfmbpp3q-perl-5.30.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/convert-compact.t ........ 1/? error: unable to create temporary file: Operation not permitted
fatal: failed to write object
t/search.t ................. fatal: Could not make /build/pi-search-i646IK/a.git/branches/ writable by group
t/search.t ................. 1/?
#   Failed test 'git init (main)'
#   at t/search.t line 20.
#          got: '0'
#     expected: '32768'

#   Failed test 'undefined permission is group'
#   at t/search.t line 40.
#          got: '0'
#     expected: '432'
t/search.t ................. 92/?
#   Failed test 'sharedRepository respected for msgmap.sqlite3'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for public-inbox'
#   at t/search.t line 455.
#          got: '493'
#     expected: '1528'

#   Failed test 'sharedRepository respected for xapian15'
#   at t/search.t line 455.
#          got: '493'
#     expected: '1528'

#   Failed test 'sharedRepository respected for docdata.glass'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for flintlock'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for iamglass'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for over.sqlite3'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for over.sqlite3-journal'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for position.glass'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for postlist.glass'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for spelling.glass'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for synonym.glass'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'

#   Failed test 'sharedRepository respected for termlist.glass'
#   at t/search.t line 455.
#          got: '420'
#     expected: '432'
# Looks like you failed 15 tests of 114.
t/search.t ................. Dubious, test returned 15 (wstat 3840, 0xf00)
Failed 15/114 subtests
t/v2writable.t ............. 3/? error: unable to create temporary file: Operation not permitted
fatal: failed to write object
t/v2writable.t ............. 48/? error: unable to create temporary file: Operation not permitted
fatal: failed to write object
t/v2writable.t ............. 97/? error: unable to create temporary file: Operation not permitted
fatal: failed to write object
error: unable to create temporary file: Operation not permitted
fatal: failed to write object
t/v2writable.t ............. 101/? error: unable to create temporary file: Operation not permitted
fatal: failed to write object
t/v2writable.t ............. ok

Test Summary Report
-------------------
t/search.t               (Wstat: 3840 Tests: 114 Failed: 15)
  Failed tests:  1, 3, 93-105
  Non-zero exit status: 15
Files=84, Tests=2967, 574 wallclock secs ( 1.03 usr  0.21 sys + 85.43 cusr 102.57 csys = 189.24 CPU)
Result: FAIL
Failed 1/84 test programs. 15/2967 subtests failed.
make: *** [Makefile:1050: test_dynamic] Error 255

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-09-24 22:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-15 13:48 [PATCH] t/spawn: fix with unusual env locations Alyssa Ross
2019-09-15 18:55 ` Eric Wong
2019-09-24  1:11   ` Alyssa Ross
2019-09-24  4:01     ` Eric Wong
2019-09-24 22:12       ` Alyssa Ross [this message]
2019-09-26  8:44         ` Test failures in build sandbox Eric Wong
2019-10-02 23:23           ` Alyssa Ross
2019-10-03  0:46             ` Alyssa Ross
2019-10-03  1:28               ` Eric Wong
2019-10-03  1:43                 ` Alyssa Ross
2019-10-03  7:57                   ` [PATCH] t/search: bail out on `git init --shared' failures Eric Wong
2019-10-03 10:15                     ` Alyssa Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r245tkbz.fsf@alyssa.is \
    --to=hi@alyssa.is \
    --cc=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).