Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] [m2e-users] updated http transport, please test

No proxy but my settings were different files, but with the same content, i.e. adding an inactive profile with the jboss repo.
Now I made jenkins use the same settings as CLI build and it passed. Makes no sense to me. I'll try a couple more experiments, see how it goes


On Mon, May 5, 2014 at 2:03 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
So, to sum up, you have the following

* manual build from command line works with either okhttp connector 0.11
  or 0.12
* jenkins build hangs with either connector 0.11 or 0.12

Can you confirm the above?

So my question still remains, have you checked if m2e uses the same
settings.xml both during jenkins build and when you run the build from
command line?

Also, does that system require proxy to access the internet and what is
that proxy if it does?

Also, can you capture wireshark/tcpdump logs of just the hanging test
and the same logs when the test passes from command line?

--
Regards,
Igor


On 2014-05-05, 7:57, Fred Bricon wrote:
Actually I spoke too soon. the test in jenkins still hangs with okhttp 0.11


On Mon, May 5, 2014 at 1:55 PM, Fred Bricon <fbricon@xxxxxxxxx
<mailto:fbricon@xxxxxxxxx>> wrote:

    Yup, jenkins build still stuck at


    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:152)
    at java.net.SocketInputStream.read(SocketInputStream.java:122)
    at com.squareup.okhttp.internal.okio.Okio$2.read(Okio.java:113)
    at
    com.squareup.okhttp.internal.okio.RealBufferedSource.read(RealBufferedSource.java:48)
    at
    com.squareup.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:417)
    at
    com.squareup.okhttp.internal.okio.RealBufferedSource$1.read(RealBufferedSource.java:168)
    at java.io.InputStream.read(InputStream.java:101)
    at
    org.eclipse.m2e.core.internal.index.nexus.AetherClientResourceFetcher.retrieve(AetherClientResourceFetcher.java:87)
    at
    org.apache.maven.index.updater.AbstractResourceFetcher.retrieve(AbstractResourceFetcher.java:35)
    at
    org.apache.maven.index.updater.DefaultIndexUpdater$LocalCacheIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:700)
    at
    org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:829)
    at
    org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:135)
    at
    org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1127)
    at
    org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager.updateIndex(NexusIndexManager.java:1087)
    - locked <0x00000007ef92c5f8> (a java.lang.Object)
    at
    org.eclipse.m2e.core.internal.index.nexus.NexusIndex.updateIndex(NexusIndex.java:145)
    at
    org.eclipse.m2e.tests.internal.index.NexusIndexManagerSearchTest.updateRepo(NexusIndexManagerSearchTest.java:81)
    at
    org.eclipse.m2e.tests.internal.index.NexusIndexManagerSearchTest.setUp(NexusIndexManagerSearchTest.java:55)

    I built the revision before the okhttp update and the jenkins build pass



    On Mon, May 5, 2014 at 1:23 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx
    <mailto:igor@xxxxxxxxxxxxxx>> wrote:

        Fred,

        Is this problem still present in current master?


        --
        Regards,
        Igor

        On 2014-05-02, 7:16, Fred Bricon wrote:

            I have Jenkins server running on a MacMini and no matter what,
            m2e-core-tests time out every time.
            Here's what a threaddump gives me :
            "main" prio=5 tid=0x00007faef380a000 nid=0x507 runnable
            [0x00007fff56d30000]
                 java.lang.Thread.State: RUNNABLE
            at java.net.SocketInputStream.__socketRead0(Native Method)
            at
            java.net.SocketInputStream.__read(SocketInputStream.java:__152)
            at
            java.net.SocketInputStream.__read(SocketInputStream.java:__122)
            at
            com.squareup.okhttp.internal.__okio.Okio$2.read(Okio.java:__113)
            at
            com.squareup.okhttp.internal.__okio.RealBufferedSource.read(__RealBufferedSource.java:48)
            at
            com.squareup.okhttp.internal.__http.HttpConnection$__FixedLengthSource.read(__HttpConnection.java:417)
            at
            com.squareup.okhttp.internal.__okio.RealBufferedSource$1.__read(RealBufferedSource.java:__168)
            at java.io.InputStream.read(__InputStream.java:101)
            at
            org.eclipse.m2e.core.internal.__index.nexus.__AetherClientResourceFetcher.__retrieve(__AetherClientResourceFetcher.__java:87)
            at
            org.apache.maven.index.__updater.__AbstractResourceFetcher.__retrieve(__AbstractResourceFetcher.java:__35)
            at
            org.apache.maven.index.__updater.DefaultIndexUpdater$__LocalCacheIndexAdaptor.__setIndexFile(__DefaultIndexUpdater.java:700)
            at
            org.apache.maven.index.__updater.DefaultIndexUpdater.__fetchAndUpdateIndex(__DefaultIndexUpdater.java:829)
            at
            org.apache.maven.index.__updater.DefaultIndexUpdater.__fetchAndUpdateIndex(__DefaultIndexUpdater.java:135)
            at
            org.eclipse.m2e.core.internal.__index.nexus.NexusIndexManager.__updateRemoteIndex(__NexusIndexManager.java:1127)
            at
            org.eclipse.m2e.core.internal.__index.nexus.NexusIndexManager.__updateIndex(NexusIndexManager.__java:1087)

            - locked <0x00000007f0cf4f00> (a java.lang.Object)
            at
            org.eclipse.m2e.core.internal.__index.nexus.NexusIndex.__updateIndex(NexusIndex.java:__145)
            at
            org.eclipse.m2e.tests.__internal.index.__NexusIndexManagerSearchTest.__updateRepo(__NexusIndexManagerSearchTest.__java:81)
            at
            org.eclipse.m2e.tests.__internal.index.__NexusIndexManagerSearchTest.__setUp(__NexusIndexManagerSearchTest.__java:55)


            "Funny" thing is tests run fine when executed from CLI on
            the same machine


            On Thu, May 1, 2014 at 1:54 PM, Igor Fedorenko
            <igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>
            <mailto:igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>>>

            wrote:

                 There was pretty bad bug in m2e http transport used in
            Luna/1.5 M6 and
                 most of the earlier 1.5 builds [1]. I pushed a fix
            earlier today and new
                 m2e build is available from the snapshot repository
            [2]. I am quite
                 certain that http digest auth and ntlm are still not
            supported, but
                 basic auth and ssl are expected to work reliably now.
            Please test this
                 new m2e version in your environment(s) and report any
            oddities with http
                 transport either here or through bugzilla.


                 [1]
            https://bugs.eclipse.org/bugs/____show_bug.cgi?id=430772
            <https://bugs.eclipse.org/bugs/__show_bug.cgi?id=430772>
                 <https://bugs.eclipse.org/__bugs/show_bug.cgi?id=430772
            <https://bugs.eclipse.org/bugs/show_bug.cgi?id=430772>>
                 [2]

            http://repository.takari.io:____8081/nexus/content/sites/m2e.____extras/m2e/1.5.0/N/LATEST/



            <http://repository.takari.io:__8081/nexus/content/sites/m2e.__extras/m2e/1.5.0/N/LATEST/
            <http://repository.takari.io:8081/nexus/content/sites/m2e.extras/m2e/1.5.0/N/LATEST/>>

                 --
                 Regards,
                 Igor
                 ___________________________________________________

                 m2e-users mailing list
            m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
            <mailto:m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>>
            https://dev.eclipse.org/____mailman/listinfo/m2e-users
            <https://dev.eclipse.org/__mailman/listinfo/m2e-users>

                 <https://dev.eclipse.org/__mailman/listinfo/m2e-users
            <https://dev.eclipse.org/mailman/listinfo/m2e-users>>




            --
            "Have you tried turning it off and on again" - The IT Crowd


            _________________________________________________
            m2e-dev mailing list
            m2e-dev@xxxxxxxxxxx <mailto:m2e-dev@xxxxxxxxxxx>
            https://dev.eclipse.org/__mailman/listinfo/m2e-dev
            <https://dev.eclipse.org/mailman/listinfo/m2e-dev>

        _________________________________________________
        m2e-dev mailing list
        m2e-dev@xxxxxxxxxxx <mailto:m2e-dev@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/m2e-dev

        <https://dev.eclipse.org/mailman/listinfo/m2e-dev>




    --
    "Have you tried turning it off and on again" - The IT Crowd




--
"Have you tried turning it off and on again" - The IT Crowd


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev



--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top