accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3799) PluginIT hangs as a part of release process
Date Mon, 11 May 2015 21:05:00 GMT


Christopher Tubbs commented on ACCUMULO-3799:

ITs are incompatible with jar sealing, because they use the built jars, and some of our ITs
have classes in the same package as our artifacts (presumably to access package-visible class
members exposed for testing).

In general, this is probably a bad practice anyway, because ITs should really only use the
public API, rather than test internals (by definition/scope of "integration test").

Our release profile should leave jar-sealing disabled during release:prepare, when ITs are
run, but should simultaneously enable jar-sealing and disable ITs for the release:perform

> PluginIT hangs as a part of release process
> -------------------------------------------
>                 Key: ACCUMULO-3799
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>              Labels: 1.7.0_QA
>             Fix For: 1.8.0, 1.7.1
> I'm seeing PluginIT hang when I'm building RCs. The tabletservers have died
> {noformat}
> 2015-05-11 16:33:18,039 ERROR [org.apache.accumulo.tserver.TabletServer] tserver.TabletServer
( - Uncaught exception in TabletServer.main, exiting
> java.lang.SecurityException: sealing violation: package org.apache.accumulo.server is
>         at
>         at
>         at$100(
>         at$
>         at$
>         at Method)
>         at
>         at java.lang.ClassLoader.loadClass(
>         at sun.misc.Launcher$AppClassLoader.loadClass(
>         at java.lang.ClassLoader.loadClass(
>         at org.apache.accumulo.tserver.TabletServer.<init>(
>         at org.apache.accumulo.tserver.TabletServer.main(
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke(
>         at org.apache.accumulo.start.Main$
>         at
> {noformat}
> A quick read, it seems like the test is bringing in another version of this package outside
of the jar? Another point, there should really be a timeout on this test so that it doesn't
hang the build indefinitely.
> To the best of my recollection, this doesn't happen during the normal build (probably
because we don't seal the jars then).

This message was sent by Atlassian JIRA

View raw message