MG>see below

________________________________
From: Thorsten Schöning <[email protected]>
Sent: Sunday, September 10, 2017 12:11 PM
To: Martin Gainty
Subject: Re: [AXIS2] Some project builds fail if goal "clean" is not used

Guten Tag Martin Gainty,
am Sonntag, 10. September 2017 um 03:40 schrieben Sie:

There are no exceptions, even though using Process Monitor I can see
that someone tries to delete the files:

> 17:24:02,4152279        java.exe        16280   CreateFile      
> C:\Users\tschoening\Documents\Eclipse\Java 
> Axis2\axis2\modules\metadata\target\test-classes\org\test\proxy\doclitwrapped\FinOpResponse.class
>     ACCESS DENIED   Desired Access: Delete, Disposition: Open, Options: 
> Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, 
> Write, Delete, AllocationSize: n/a

MG>maven-surefire-plugin should *never* delete testcases, maven-surefire-plugin 
should only *execute* testcases

MG>which version java?
MG>which version mvn ?
MG>which version maven-surefire-plugin?
MG>which version axis?
MG>can you place small sample on github and allow me to fork?


As you can see on "ACCESS DENIED", deletion is forbidden, tests
succeed, nothing is logged using "-X" param for Maven.

But the best is yet to come: If I remove "read-only" and am running
the test only again directly afterwards, it still succeeds and Process
Monitor doesn't log any attempt to delete files like the one above.
Even after 10 minutes have passed.
MG>this is a one-time anomaly..much harder to track (probably the reason this 
potential bug *slipped* thru the cracks)

If I "mvn clean test ..." and "mvn test ..." right afterwards, this
time without setting "read-only" in between, Process Monitor logs file
deletions again and things fail again.
MG>yes it seems the first time thru manifests the aberrant deletion

Such things are really annoying. :-)
MG>the testing phase for software is the only validation that a software 
release produces expected results that r reproducible and reliable
MG>you would be surprised how many professional programmers let a bug or 2 slip 
thru in a release
MG>fortunately Kristian, Tibor and Mirko are very responsive to cleaning up 
bugs and will work with you or i to make sure this bug
MG>is identified AND fixed

Mit freundlichen Grüßen,

Thorsten Schöning

MG>Vielen Danke Thorsten!

--
Thorsten Schöning       E-Mail: [email protected]
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
Webpräsenz AM-SoFT IT-Systeme GmbH - Startseite<http://www.am-soft.de/>
www.am-soft.de
AM-SoFT IT-Systeme „Neue Wege entstehen, indem wir sie gehen!“ AM-SoFT GmbH 
IT-Systeme, 1989 in Hameln gegründet, ist EDV-Systemhaus, 
Internet-Service-Provider ...




Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to