all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gábor Boskovits" <boskovits@gmail.com>
To: Efraim Flashner <efraim@flashner.co.il>,
	Ricardo Wurmus <rekado@elephly.net>,
	Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: java: switch to icedtea-8 as default JDK
Date: Fri, 1 Dec 2017 21:41:17 +0100	[thread overview]
Message-ID: <CAE4v=phZ3iOJpyxfVJ-a4SfgQq5uU2sCAWuR2d1Z+ajywzcj3g@mail.gmail.com> (raw)
In-Reply-To: <20171130192737.GU991@macbook41>

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

Hello!

I've just checked the current build status of packages on hyrda. I could
filter out a few that currently seems not to build anyway, we might try to
fix those first.

I'll send a quick list:

*java-htsjdk@1.129 -> newer version (2.3.0) in master, does not build;
java-testng@6.12
*java-plexus-container-default@1.7.1 -> does not build; java-testng@6.12
*kodi@18.0_alpha-6-f22d62d -> does not build; unbound 1.6.7
*java-eclipse-jetty-servlet@9.4.6 -> does not build;
java-eclipse-jetty-security-9.2.22
*java-eclipse-jetty-servlet@9.2.22 -> does not build;
java-eclipse-jetty-security-9.4.6

The first one with the specific version does build, to be clear, but the
newer version does not.
I've extracted the log segment of those failures:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
java-testng@6.12 - log extract:
TestNG
Total tests run: 1517, Failures: 1, Skips: 0
===============================================

Failures in <suite> :TestNG, <test> :Parallelization
test.thread.parallelization.ParallelByMethodsTestCase4Scenario1.verifyThatTestMethodsRunInParallelThreads()
StackTrace:
 java.lang.AssertionError: Expected 6 test method start event logs to be in
a block of methods executing in parallel. Found an event log of a different
type in the block being processed: [EventLog{Event:
LISTENER_TEST_METHOD_START, Suite: TestSuiteC, Test:
TestSuiteC-FourTestClassTest, Class:
test.thread.parallelization.sample.TestClassBSixMethodsWithDataProviderOnAllMethodsAndNoDepsSample,
Class instance hash code: 2118912967, Method name: testMethodB, Time of
event: 1511159025654, Thread ID: 5556}, EventLog{Event:
TEST_METHOD_EXECUTION, Suite: TestSuiteC, Test:
TestSuiteC-FourTestClassTest, Class:
test.thread.parallelization.sample.TestClassBSixMethodsWithDataProviderOnAllMethodsAndNoDepsSample,
Class instance hash code: 2118912967, Method name: testMethodB, Data
provider param: paramThree, Time of event: 1511159026154, Thread ID: 5556},
EventLog{Event: LISTENER_TEST_METHOD_START, Suite: TestSuiteC, Test:
TestSuiteC-FourTestClassTest, Class:
test.thread.parallelization.sample.TestClassBSixMethodsWithDataProviderOnAllMethodsAndNoDepsSample,
Class instance hash code: 2118912967, Method name: testMethodA, Time of
event: 1511159026244, Thread ID: 5550}, EventLog{Event:
LISTENER_TEST_METHOD_START, Suite: TestSuiteC, Test:
TestSuiteC-FourTestClassTest, Class:
test.thread.parallelization.sample.TestClassBSixMethodsWithDataProviderOnAllMethodsAndNoDepsSample,
Class instance hash code: 2118912967, Method name: testMethodF, Time of
event: 1511159026244, Thread ID: 5560}, EventLog{Event:
LISTENER_TEST_METHOD_START, Suite: TestSuiteC, Test:
TestSuiteC-FourTestClassTest, Class:
test.thread.parallelization.sample.TestClassBSixMethodsWithDataProviderOnAllMethodsAndNoDepsSample,
Class instance hash code: 2118912967, Method name: testMethodC, Time of
event: 1511159026244, Thread ID: 5552}, EventLog{Event:
LISTENER_TEST_METHOD_START, Suite: TestSuiteC, Test:
TestSuiteC-FourTestClassTest, Class:
test.thread.parallelization.sample.TestClassBSixMethodsWithDataProviderOnAllMethodsAndNoDepsSample,
Class instance hash code: 2118912967, Method name: testMethodE, Time of
event: 1511159026244, Thread ID: 5558}] expected [true] but found [false]
at
test.thread.parallelization.BaseParallelizationTest.verifyEventTypeForEventsLogs(Unknown
Source)
at
test.thread.parallelization.BaseParallelizationTest.verifySimultaneousTestMethodListenerStartEvents(Unknown
Source)
at
test.thread.parallelization.BaseParallelizationTest.verifySimultaneousTestMethodListenerStartEvents(Unknown
Source)
at
test.thread.parallelization.BaseParallelizationTest.verifyParallelTestMethodsWithNonParallelDataProvider(Unknown
Source)
at
test.thread.parallelization.ParallelByMethodsTestCase4Scenario1.verifyThatTestMethodsRunInParallelThreads(Unknown
Source)
... Removed 27 stack frames

phase `check' failed after 282.9 seconds

Requires further investigation.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

unbound@1.6.7 - log extract
libtool: link: gcc -I.
-I/gnu/store/ks27x0mf95gir0cdgb9h573xbava6v1k-python-3.5.3/include/python3.5m
-I/gnu/store/m0m6bwzi8lx7kv8zbn3hjrim6flmgnf4-openssl-1.0.2l/include
-I/gnu/store/ldkwm8hwhknpx6651yjgc1231nh8234d-libevent-2.1.8/include
-I/gnu/store/wdlhrg370gm42s7ggyhnvnb4xrzpls1x-expat-2.2.1/include -g -O2
-flto -pthread -o testbound .libs/testbound.o .libs/replay.o
.libs/fake_event.o .libs/testpkts.o .libs/worker.o .libs/acl_list.o
.libs/daemon.o .libs/stats.o .libs/shm_main.o .libs/dns.o .libs/infra.o
.libs/rrset.o .libs/dname.o .libs/msgencode.o .libs/as112.o
.libs/msgparse.o .libs/msgreply.o .libs/packed_rrset.o .libs/iterator.o
.libs/iter_delegpt.o .libs/iter_donotq.o .libs/iter_fwd.o
.libs/iter_hints.o .libs/iter_priv.o .libs/iter_resptype.o
.libs/iter_scrub.o .libs/iter_utils.o .libs/localzone.o .libs/mesh.o
.libs/modstack.o .libs/view.o .libs/outbound_list.o .libs/alloc.o
.libs/config_file.o .libs/configlexer.o .libs/configparser.o
.libs/fptr_wlist.o .libs/locks.o .libs/log.o .libs/mini_event.o
.libs/module.o .libs/net_help.o .libs/random.o .libs/rbtree.o
.libs/regional.o .libs/rtt.o .libs/dnstree.o .libs/lookup3.o
.libs/lruhash.o .libs/slabhash.o .libs/timehist.o .libs/tube.o
.libs/winsock_event.o .libs/autotrust.o .libs/val_anchor.o
.libs/validator.o .libs/val_kcache.o .libs/val_kentry.o .libs/val_neg.o
.libs/val_nsec3.o .libs/val_nsec.o .libs/val_secalgo.o .libs/val_sigcrypt.o
.libs/val_utils.o .libs/dns64.o .libs/cachedb.o .libs/authzone.o
.libs/pythonmod.o .libs/pythonmod_utils.o .libs/respip.o .libs/ub_event.o
.libs/keyraw.o .libs/sbuffer.o .libs/wire2str.o .libs/parse.o
.libs/parseutil.o .libs/rrdef.o .libs/str2wire.o .libs/strlcat.o
.libs/strlcpy.o .libs/reallocarray.o .libs/arc4random.o
.libs/arc4random_uniform.o .libs/explicit_bzero.o .libs/arc4_lock.o
-L/gnu/store/m0m6bwzi8lx7kv8zbn3hjrim6flmgnf4-openssl-1.0.2l/lib
-L/gnu/store/ldkwm8hwhknpx6651yjgc1231nh8234d-libevent-2.1.8/lib
-L/gnu/store/wdlhrg370gm42s7ggyhnvnb4xrzpls1x-expat-2.2.1/lib -lssl
/gnu/store/ldkwm8hwhknpx6651yjgc1231nh8234d-libevent-2.1.8/lib/libevent.so
-L/gnu/store/ks27x0mf95gir0cdgb9h573xbava6v1k-python-3.5.3/lib
-L/gnu/store/ks27x0mf95gir0cdgb9h573xbava6v1k-python-3.5.3/lib/python3.5
-L. -lpython3.5m -lcrypto -pthread -Wl,-rpath
-Wl,/gnu/store/ldkwm8hwhknpx6651yjgc1231nh8234d-libevent-2.1.8/lib
-Wl,-rpath
-Wl,/gnu/store/ldkwm8hwhknpx6651yjgc1231nh8234d-libevent-2.1.8/lib
-Wl,-rpath
-Wl,/gnu/store/m0m6bwzi8lx7kv8zbn3hjrim6flmgnf4-openssl-1.0.2l/lib
LD_PRELOAD=/tmp/nss_preload.so ./unittest
make: *** [Makefile:308: test] Killed
phase `check' failed after 18.3 seconds

Requires further investigation.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

java-eclipse-jetty-security@9.2.22 - log extract
    [junit] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed: 0.75 sec
    [junit] HTTP/1.1 302 Found
    [junit] Date: Mon, 20 Nov 2017 05:32:39 GMT
    [junit] Location: https://wobble.com/ctx/data/info
    [junit] Content-Length: 0
    [junit] Server: Jetty(9.2.z-SNAPSHOT)
    [junit]
    [junit]

BUILD FAILED
/tmp/guix-build-java-eclipse-jetty-security-9.2.22.drv-0/jetty.project-jetty-9.2.22.v20170606/jetty-security/build.xml:1:
Test org.eclipse.jetty.security.ConstraintTest failed

Total time: 3 seconds
phase `check' failed after 4.0 seconds

Requires further investigation.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

java-eclipse-jetty-security@9.4.6 - log extract
BUILD FAILED
/tmp/guix-build-java-eclipse-jetty-security-9.4.6.drv-0/jetty.project-jetty-9.4.6.v20170531/jetty-security/build.xml:1:
Test org.eclipse.jetty.security.ConstraintTest failed

Total time: 12 seconds
phase `check' failed after 13.3 seconds

Requires further investigation.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is how far I could get by now.
What should we do with these?

These are the latest hydra run results by the way, it might well be that
some of these is already fixed.



2017-11-30 20:27 GMT+01:00 Efraim Flashner <efraim@flashner.co.il>:

> On Wed, Nov 29, 2017 at 10:58:48PM -0800, Chris Marusich wrote:
> > Chris Marusich <cmmarusich@gmail.com> writes:
> >
> > >> 1) Confirm that these packages build before making changes.  If any
> > >> fail, fix them first if possible.
> > >>
> > >> ...
> > >>
> > >> I'm going to try step (1) tonight on my laptop.  Is there a way to
> check
> > >> their build status on Hydra, I wonder?  I'm planning to just do it in
> a
> > >> simple shell one-liner like the following:
> > >>
> > >> for pkg in $(</tmp/pkgs); do if guix build --keep-failed $pkg; then
> echo success: $pkg >> /tmp/log; else echo failure: $pkg >> /tmp/log; fi;
> done
> >
> > I tried something like this, and GuixSD crashed while it was building
> > the packages...  Specifically, the following morning, I checked my
> > computer and found that the screen remained blank, the HDD I/O LED was
> > constantly on (as if tons of disk access was taking place), and not even
> > pressing the capslock key would turn on the capslock key LED.  I decided
> > to let the computer sit for the day, but when I got home 8 hours later,
> > nothing had changed.  I power cycled my machine, and after it booted, I
> > found that during the night, my kernel had logged an Oops along with a
> > BUG in /var/log/messages, but I don't really know why it occurred.
> >
> > So, I don't know if any of the packages built successfully or not.  I'll
> > try again tonight, and this time I'll store the results somewhere where
> > I'll (hopefully) be able to see how far it got before crashing.
> > Hopefully it won't crash this time...  If you know of an easier way to
> > check the build status of packages that will be impacted by an icedtea
> > change, please let me know.
> >
> > --
> > Chris
>
> my build script is a little different:
> guix package -A | cut -f1,2 | sed -e 's/\t/@/' | parallel --bar --shuf
> --jobs 1 guix build --no-grafts --fallback
>
> and you could have "guix refresh -l -e '(@ (gnu packages java) icedtea-7)'"
> in place of 'guix package -A'. Mine doesn't take into account packages
> that are already built or dependencies which have already failed, but it
> could be loading all the packages into memory at once is too much. If it
> isn't then perhaps:
> guix build --no-grafts --keep-going < $(guix refresh ... | cut -f1,2 | sed
> -e 's/\t/@/' )
> would also work.
>
>
> --
> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted
>

[-- Attachment #2: Type: text/html, Size: 13712 bytes --]

  reply	other threads:[~2017-12-01 20:41 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17 22:02 java: switch to icedtea-8 as default JDK Ricardo Wurmus
2017-11-22  8:57 ` Chris Marusich
2017-11-22 12:09   ` Ricardo Wurmus
2017-11-22 17:03     ` Chris Marusich
2017-11-24  7:01       ` Gábor Boskovits
2017-11-24 10:15         ` Ricardo Wurmus
2017-11-24 11:46           ` Gábor Boskovits
2017-11-29  6:48     ` Chris Marusich
2017-11-29  7:12       ` Chris Marusich
2017-11-29 19:05         ` Gábor Boskovits
2017-11-29 19:58           ` Ricardo Wurmus
2017-11-30  6:58         ` Chris Marusich
2017-11-30 19:27           ` Efraim Flashner
2017-12-01 20:41             ` Gábor Boskovits [this message]
2017-12-02  7:06           ` Chris Marusich
2017-12-03  9:58             ` Gábor Boskovits
2017-12-03 11:30               ` Gábor Boskovits
2017-12-03 21:46               ` Chris Marusich
2017-12-03 22:04                 ` Gábor Boskovits
2017-12-03 22:08                   ` Gábor Boskovits
2017-12-03 22:20                     ` Gábor Boskovits
2017-12-03 22:25                       ` Gábor Boskovits
2017-12-04 12:03                         ` Gábor Boskovits
2017-12-04 12:18                           ` Gábor Boskovits
2017-12-04 12:21                             ` Gábor Boskovits
2017-12-04 12:33                               ` Gábor Boskovits
2017-12-04 12:59                                 ` Gábor Boskovits
2017-12-04 14:19                                   ` Gábor Boskovits
2017-12-04 15:44                                     ` Gábor Boskovits
2017-12-04 16:34                                       ` Gábor Boskovits
2017-12-04 16:35                                         ` Gábor Boskovits
2017-12-04 19:15                                       ` Leo Famulari
2017-12-05  7:07                                         ` Gábor Boskovits
2017-12-07 17:50                                           ` Gábor Boskovits
2017-12-08  6:13                                             ` Gábor Boskovits
2017-12-08  6:55                                               ` Chris Marusich
2017-12-08  7:01                                                 ` Gábor Boskovits
2017-12-10 15:56                                                   ` Gábor Boskovits
2017-12-12 11:30                                                     ` Gábor Boskovits
2017-12-12 12:27                                                       ` Gábor Boskovits
2017-12-13  2:06                                                   ` Chris Marusich
2017-12-13  8:53                                                     ` Gábor Boskovits
2017-12-13  9:54                                                       ` Gábor Boskovits
2017-12-13  9:59                                                         ` Gábor Boskovits
2017-12-13 10:03                                                           ` Gábor Boskovits
2017-12-13 10:32                                                     ` Efraim Flashner
2017-12-13 11:07                                                       ` Gábor Boskovits
2017-12-13 18:04                                                         ` Gábor Boskovits
2017-12-13 22:50                                                           ` Gábor Boskovits
2017-12-15 13:52                                                             ` Gábor Boskovits
2017-12-15 14:21                                                               ` Gábor Boskovits
2017-12-15 14:33                                                                 ` Gábor Boskovits
2017-12-17  7:39                                                                   ` Gábor Boskovits
2017-12-17 14:26                                                                     ` Ricardo Wurmus
2017-12-17 18:59                                                                       ` Gábor Boskovits
2017-12-18 10:02                                                                         ` Gábor Boskovits
2017-12-18 12:33                                                                           ` Ricardo Wurmus
2017-12-19  8:07                                                                           ` Chris Marusich
2017-12-19  9:11                                                                             ` Gábor Boskovits
2017-12-19 20:58                                                                               ` Gábor Boskovits
2017-12-19 22:11                                                                                 ` Ricardo Wurmus
2017-12-20 10:34                                                                                   ` Gábor Boskovits
2017-12-20 12:29                                                                                     ` Gábor Boskovits
2017-12-21  7:53                                                                                       ` Gábor Boskovits
2018-01-03 13:06                                                                                         ` Gábor Boskovits
2018-01-05 15:44                                                                                           ` Ricardo Wurmus
2018-01-05 16:01                                                                                             ` Gábor Boskovits
2018-01-06 19:29                                                                                               ` Chris Marusich
2018-01-06 20:16                                                                                                 ` Gábor Boskovits
2018-01-07 14:52                                                                                                   ` Gábor Boskovits
2018-01-07 17:25                                                                                                     ` Ricardo Wurmus
2018-01-07 18:19                                                                                                       ` Gábor Boskovits
2018-01-08  2:54                                                                                                     ` Chris Marusich
     [not found]                                                 ` <87d13jhoka.fsf@gmail.com>
2017-12-12 22:49                                                   ` Gábor Boskovits
2017-12-12 22:50                                                     ` Gábor Boskovits
2017-11-29 19:59       ` Ricardo Wurmus

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

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

  git send-email \
    --in-reply-to='CAE4v=phZ3iOJpyxfVJ-a4SfgQq5uU2sCAWuR2d1Z+ajywzcj3g@mail.gmail.com' \
    --to=boskovits@gmail.com \
    --cc=cmmarusich@gmail.com \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.