[FlexJS, Maven] Local build failing occasionally

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[FlexJS, Maven] Local build failing occasionally

piotrz
Hi All,

I'm struggling with FlexJS Maven build "failing". It's about 80% for me. Errors which I'm getting look like related with build of Graphics - once I get this stacktrace [1] in the other modules I'm getting warnings and errors, [2] even that overall compilation indicates that everythings has been build ok.

I didn't report it earlier cause it occurs occasionally.

Any thoughts about that ?

[1] https://paste.apache.org/Qx6e 
[2] https://paste.apache.org/k0cG

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

Alex Harui
Hi Piotr,

These links don't seem to be to full logs.  Both seem to indicate a
problem earlier in the log.  Please check the full log for errors.  I
think sometimes the compiler doesn't get Maven to stop.

-Alex

On 3/28/17, 11:35 AM, "piotrz" <[hidden email]> wrote:

>Hi All,
>
>I'm struggling with FlexJS Maven build "failing". It's about 80% for me.
>Errors which I'm getting look like related with build of Graphics - once I
>get this stacktrace [1] in the other modules I'm getting warnings and
>errors, [2] even that overall compilation indicates that everythings has
>been build ok.
>
>I didn't report it earlier cause it occurs occasionally.
>
>Any thoughts about that ?
>
>[1]
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FQx6e&data=02%7C01%7C%7C5baca9a4441e437f847308d4760a4efe%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636263234023032243&sdata=FMAaqxj5yafx
>3%2FVrMFIQKB5GshXy79JSj8Zzi28%2FKJg%3D&reserved=0
>[2]
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2Fk0cG&data=02%7C01%7C%7C5baca9a4441e437f847308d4760a4efe%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636263234023032243&sdata=zSSlalTZzm7W
>R0iD%2BdDjobwQVK0SbE16KMeMHRpWTMk%3D&reserved=0
>
>Piotr
>
>
>
>-----
>Apache Flex PMC
>[hidden email]
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-Maven-Local-build-failing-occ
>asionally-tp60859.html&data=02%7C01%7C%7C5baca9a4441e437f847308d4760a4efe%
>7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263234023032243&sdata=4rm%
>2F%2BNvP9XSYvK9n46RvHLBg0Vu20Y1MoIJbq5Okk6Q%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

piotrz
Hi Alex,

Pasting full log [1]. I see earlier some warning, but not sure whether they can cause such fail. I'm going through this logs one by one.

1805 bytes written to D:\flex_sdk\Sources\flex-asjs\frameworks\projects\XML\target\XML-0.8.0-SNAPSHOT.swc in 2.009 seconds
C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airglobal-20.0.swc Warning: The definition XML depended on by __AS3__.vec.Vector$object in the SWC C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airglobal-20.0.swc could not be found


C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airglobal-20.0.swc Warning: The definition XMLList depended on by __AS3__.vec.Vector$object in the SWC C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airglobal-20.0.swc could not be found

[1] https://paste.apache.org/ItmA

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

Alex Harui
Hi Piotr,

In this log, on line 2247 is the first error.  After that, everything is
broken.

I haven't looked at the Graphics build since the PixelBender features were
added, but I'm not clear that the .pbj files should be compiled.

HTH,
-Alex

On 3/28/17, 11:56 AM, "piotrz" <[hidden email]> wrote:

>Hi Alex,
>
>Pasting full log [1]. I see earlier some warning, but not sure whether
>they
>can cause such fail. I'm going through this logs one by one.
>
>1805 bytes written to
>D:\flex_sdk\Sources\flex-asjs\frameworks\projects\XML\target\XML-0.8.0-SNA
>PSHOT.swc
>in 2.009 seconds
>C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airgl
>obal-20.0.swc
>Warning: The definition XML depended on by __AS3__.vec.Vector$object in
>the
>SWC
>C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airgl
>obal-20.0.swc
>could not be found
>
>
>C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airgl
>obal-20.0.swc
>Warning: The definition XMLList depended on by __AS3__.vec.Vector$object
>in
>the SWC
>C:\Users\piotr\.m2\repository\com\adobe\air\framework\airglobal\20.0\airgl
>obal-20.0.swc
>could not be found
>
>[1]
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FItmA&data=02%7C01%7C%7Cf257976a7a4b48be3e5e08d4760d533d%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636263246981137373&sdata=A%2B2jWktBlR
>H90ZO2QSSffl9UJ62zFppLZuIE2nv9x48%3D&reserved=0
>
>Piotr
>
>
>
>-----
>Apache Flex PMC
>[hidden email]
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-Maven-Local-build-failing-occ
>asionally-tp60859p60862.html&data=02%7C01%7C%7Cf257976a7a4b48be3e5e08d4760
>d533d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263246981147385&sdat
>a=OgV8g%2BmLx%2FOlinRHzbDqoneDUOc6Rmp8lFGzjGOgVS0%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

piotrz
I was going farther by that, but I don't really understand why errors in this logs, are around XML module not in Graphics.

Graphics need ByteArray. Maybe Harbs or Yishay shed some light on this one.

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

Alex Harui
I believe that Maven runs several COMPCs in parallel, so you will see
mixed output which can be hard to understand.

My guess is that the PBJ files that are downloaded with the new
PixelBender dependency are seen by Maven as a source file to build.  I
think they should be skipped.

-Alex

On 3/28/17, 1:16 PM, "piotrz" <[hidden email]> wrote:

>I was going farther by that, but I don't really understand why errors in
>this
>logs, are around XML module not in Graphics.
>
>Graphics need ByteArray. Maybe Harbs or Yishay shed some light on this
>one.
>
>Piotr
>
>
>
>-----
>Apache Flex PMC
>[hidden email]
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-Maven-Local-build-failing-occ
>asionally-tp60859p60868.html&data=02%7C01%7C%7C6d49ba668358446cf03808d4761
>87b9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263294906585664&sdat
>a=C8JWkY01%2FLmhIzg5jny1dYKaXKcfPLLkEphsLhE9%2B4U%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

Christofer Dutz
Well it only runs them in parallel if you explicitly ask it to.
If you don’t it compiles one module after the other.

Chris

Am 28.03.17, 22:39 schrieb "Alex Harui" <[hidden email]>:

    I believe that Maven runs several COMPCs in parallel, so you will see
    mixed output which can be hard to understand.
   
    My guess is that the PBJ files that are downloaded with the new
    PixelBender dependency are seen by Maven as a source file to build.  I
    think they should be skipped.
   
    -Alex
   
    On 3/28/17, 1:16 PM, "piotrz" <[hidden email]> wrote:
   
    >I was going farther by that, but I don't really understand why errors in
    >this
    >logs, are around XML module not in Graphics.
    >
    >Graphics need ByteArray. Maybe Harbs or Yishay shed some light on this
    >one.
    >
    >Piotr
    >
    >
    >
    >-----
    >Apache Flex PMC
    >[hidden email]
    >--
    >View this message in context:
    >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
    >x-development.2333347.n4.nabble.com%2FFlexJS-Maven-Local-build-failing-occ
    >asionally-tp60859p60868.html&data=02%7C01%7C%7C6d49ba668358446cf03808d4761
    >87b9c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263294906585664&sdat
    >a=C8JWkY01%2FLmhIzg5jny1dYKaXKcfPLLkEphsLhE9%2B4U%3D&reserved=0
    >Sent from the Apache Flex Development mailing list archive at Nabble.com.
   
   

Reply | Threaded
Open this post in threaded view
|

RE: [FlexJS, Maven] Local build failing occasionally

yishayw
In reply to this post by piotrz
I believe the reason Graphics needs ByteArray is so it can read the pixel bender object files.

From: piotrz<mailto:[hidden email]>
Sent: Tuesday, March 28, 2017 11:24 PM
To: [hidden email]<mailto:[hidden email]>
Subject: Re: [FlexJS, Maven] Local build failing occasionally

I was going farther by that, but I don't really understand why errors in this
logs, are around XML module not in Graphics.

Graphics need ByteArray. Maybe Harbs or Yishay shed some light on this one.

Piotr



-----
Apache Flex PMC
[hidden email]
--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Maven-Local-build-failing-occasionally-tp60859p60868.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

piotrz
In reply to this post by Alex Harui
Once I off parallel compilation everything went smoothly.

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS, Maven] Local build failing occasionally

Christofer Dutz
Hi Yishay,

I would be careful with parallel compilation as the compiler internally has a lot of static stuff that multiple parallel executions will mess up randomly (
Hopefully we will have the time to clean this up some time … parallel compilation would be a cool feature to use.

Chris



Am 29.03.17, 10:26 schrieb "piotrz" <[hidden email]>:

    Once I off parallel compilation everything went smoothly.
   
    Piotr
   
   
   
    -----
    Apache Flex PMC
    [hidden email]
    --
    View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Maven-Local-build-failing-occasionally-tp60859p60892.html
    Sent from the Apache Flex Development mailing list archive at Nabble.com.
   

Reply | Threaded
Open this post in threaded view
|

RE: [FlexJS, Maven] Local build failing occasionally

yishayw
I’ll keep that in mind (and so will Piotr)…

From: Christofer Dutz<mailto:[hidden email]>
Sent: Wednesday, March 29, 2017 2:11 PM
To: [hidden email]<mailto:[hidden email]>
Subject: Re: [FlexJS, Maven] Local build failing occasionally

Hi Yishay,

I would be careful with parallel compilation as the compiler internally has a lot of static stuff that multiple parallel executions will mess up randomly (
Hopefully we will have the time to clean this up some time … parallel compilation would be a cool feature to use.

Chris



Am 29.03.17, 10:26 schrieb "piotrz" <[hidden email]>:

    Once I off parallel compilation everything went smoothly.

    Piotr



    -----
    Apache Flex PMC
    [hidden email]
    --
    View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Maven-Local-build-failing-occasionally-tp60859p60892.html
    Sent from the Apache Flex Development mailing list archive at Nabble.com.