You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Janardhan Pulivarthi <ja...@gmail.com> on 2022/01/18 14:27:44 UTC
--no-transfer-progress might be causing the some tests to fail
Hi Maven team,
A test is failing consistently for us when maven build is triggered
along with --no-transfer-progress option.
We are using the following operation to build a jar, against which the
test was run:
mvn --no-transfer-progress clean package -P distribution
Thank you,
Janardhan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: --no-transfer-progress might be causing the some tests to fail
Posted by Janardhan Pulivarthi <ja...@gmail.com>.
Hi,
> it sounds like a subject for the users mailing list and not for the dev
> list.
My bad, sorry. Will do from the next time.
> I would be asking what version of maven are you using? what java version?
> Could you try upgrading to the latest maven version.
I am using the latest maven version, and Java 11 (OpenJDK
distribution). It seems the culprit is the flaky test on our(my) side,
I did the testing on multiple platforms. The different tests are
failing on different platforms which is symptom of unpredictability in
some of our tests.
> I might have a similar problem as yours. In my case, there was.a problem
> in GitHub Actions where it disconnects HTTP connections when there's
> no output for a certain period of time.
> https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080
I checked all the dependencies downloaded properly, other than a
warning "[WARNING] Could not transfer metadata
net.minidev:json-smart/maven-metadata.xml from/to
maven-default-http-blocker (http://0.0.0.0/): transfer failed for
http://0.0.0.0/net/minidev/json-smart/maven-metadata.xml" there is no
problem with downloads.
Thanks a lot,
Janardhan
On Thu, Jan 20, 2022 at 2:12 AM John Patrick <nh...@gmail.com> wrote:
>
> I would be asking what version of maven are you using? what java version?
> Could you try upgrading to the latest maven version.
> Could you try upgrading to the latest of all plugins being used.
>
> My standard maven options for cicd are "--batch-mode --no-transfer-progress --show-version -fae -U" and never seen and issue like that personally.
>
> John
>
>
> On Wed, 19 Jan 2022 at 19:42, Karl Heinz Marbaise <kh...@gmx.de> wrote:
>>
>> Hi,
>>
>> it sounds like a subject for the users mailing list and not for the dev
>> list.
>>
>>
>> On 18.01.22 15:27, Janardhan Pulivarthi wrote:
>> > Hi Maven team,
>> >
>> > A test is failing consistently for us when maven build is triggered
>> > along with --no-transfer-progress option.
>>
>> do you have a full example of such case?
>>
>> Otherwise it's impossilbe to even speculate...
>>
>> Kind regards
>> Karl Heinz Marbaise
>>
>> >
>> > We are using the following operation to build a jar, against which the
>> > test was run:
>> >
>> > mvn --no-transfer-progress clean package -P distribution
>> >
>> > Thank you,
>> > Janardhan
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: dev-help@maven.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: --no-transfer-progress might be causing the some tests to fail
Posted by John Patrick <nh...@gmail.com>.
I would be asking what version of maven are you using? what java version?
Could you try upgrading to the latest maven version.
Could you try upgrading to the latest of all plugins being used.
My standard maven options for cicd are "--batch-mode --no-transfer-progress
--show-version -fae -U" and never seen and issue like that personally.
John
On Wed, 19 Jan 2022 at 19:42, Karl Heinz Marbaise <kh...@gmx.de> wrote:
> Hi,
>
> it sounds like a subject for the users mailing list and not for the dev
> list.
>
>
> On 18.01.22 15:27, Janardhan Pulivarthi wrote:
> > Hi Maven team,
> >
> > A test is failing consistently for us when maven build is triggered
> > along with --no-transfer-progress option.
>
> do you have a full example of such case?
>
> Otherwise it's impossilbe to even speculate...
>
> Kind regards
> Karl Heinz Marbaise
>
> >
> > We are using the following operation to build a jar, against which the
> > test was run:
> >
> > mvn --no-transfer-progress clean package -P distribution
> >
> > Thank you,
> > Janardhan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: --no-transfer-progress might be causing the some tests to fail
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,
it sounds like a subject for the users mailing list and not for the dev
list.
On 18.01.22 15:27, Janardhan Pulivarthi wrote:
> Hi Maven team,
>
> A test is failing consistently for us when maven build is triggered
> along with --no-transfer-progress option.
do you have a full example of such case?
Otherwise it's impossilbe to even speculate...
Kind regards
Karl Heinz Marbaise
>
> We are using the following operation to build a jar, against which the
> test was run:
>
> mvn --no-transfer-progress clean package -P distribution
>
> Thank you,
> Janardhan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: --no-transfer-progress might be causing the some tests to fail
Posted by Michael Osipov <mi...@apache.org>.
Am 2022-01-18 um 15:27 schrieb Janardhan Pulivarthi:
> Hi Maven team,
>
> A test is failing consistently for us when maven build is triggered
> along with --no-transfer-progress option.
>
> We are using the following operation to build a jar, against which the
> test was run:
>
> mvn --no-transfer-progress clean package -P distribution
Here is the solution to your problem:
Regards,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: --no-transfer-progress might be causing the some tests to fail
Posted by Tomo Suzuki <su...@google.com.INVALID>.
I'm not sure what the exact problem is in your environment when using
"--no-transfer-progress". You may want to share more details (stacktrace
and error messages).
I might have a similar problem as yours. In my case, there was.a problem
in GitHub Actions where it disconnects HTTP connections when there's
no output for a certain period of time.
https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080
On Tue, Jan 18, 2022 at 9:28 AM Janardhan Pulivarthi <
janardhan.pulivarthi@gmail.com> wrote:
> Hi Maven team,
>
> A test is failing consistently for us when maven build is triggered
> along with --no-transfer-progress option.
>
> We are using the following operation to build a jar, against which the
> test was run:
>
> mvn --no-transfer-progress clean package -P distribution
>
> Thank you,
> Janardhan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Regards,
Tomo