The change I made was to change the drive letter for the workspace from c: to 
C:.  That was the only obvious difference between the successful job on 
royale-asjs and the failing job on agent2 and that change made a difference for 
Maven as well.

HTH,
-Alex

On 4/24/20, 12:29 PM, "OmPrakash Muppirala" <[email protected]> wrote:

    On Fri, Apr 24, 2020 at 12:14 AM Alex Harui <[email protected]>
    wrote:
    
    > Om, can you restart your VM?  Jenkins didn't pick up the change I made.
    >
    
    I just restarted it.
    
    
    >
    > Also, I disabled SSH on my VM so we'll see if we get better success rate
    > on Agent 1.  And I happened to see that there were Outbound Port Rules for
    > ports used by RoyaleUnit and Flash.  Not sure if they are required though.
    >
    >
    You are right.  I completely missed the Outbound Port Rules tab on Azure.
    I have added those two on my VM.  Lets see if this works.
    
    
    > -Alex
    >
    > On 4/23/20, 11:27 PM, "Alex Harui" <[email protected]> wrote:
    >
    >     I made a change to agent2 and started royale-asjs-agent2.  Let's see
    > if it gets past that point of failure.
    >
    >     -Alex
    >
    >     On 4/23/20, 10:34 PM, "OmPrakash Muppirala" <[email protected]>
    > wrote:
    >
    >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
    > <[email protected]>
    >         wrote:
    >
    >         > I pinged Yishay off-list to see if we can turn off SSH for a
    > while to see
    >         > if it makes a difference.  Maybe there are a lot of bad actors
    > pounding
    >         > that port and effectively clogging up the socket system.
    >         >
    >         > I ran Chrome last night on my VM.  Maybe it changed the default
    > browser.
    >         >
    >         > For your agent, it seems like something else.  I just looked at
    > the source
    >         > code for TestRun.  It almost seems like an impossible scenario.
    > The
    >         > build.xml sets localTrusted=true, so TestRun should not result
    > in the
    >         > policy-file request but it is somehow.  How do I know which job
    > ran on your
    >         > VM?  Maybe there is a clue further up the logs.
    >         >
    >
    >         I cloned the job.  You should see a new job called
    > royale-asjs-agent2 that
    >         is tied to agent2.  I left royale-asjs tied to agent1
    >         Weird, the royale-asjs on agent1 seems to be passing now :-|
    >
    >
    >         >
    >         > Maybe you can add some debugging output to the
    > royaleunit-ant-tasks.
    >         >
    >         > HTH,
    >         > -Alex
    >         >
    >         > On 4/23/20, 9:41 PM, "OmPrakash Muppirala" 
<[email protected]>
    > wrote:
    >         >
    >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
    > <[email protected]>
    >         > wrote:
    >         >
    >         >     > We started getting that a lot on agent1.  The only thing I
    > can think
    >         > of
    >         >     > that changed was giving you access and trying to enable
    > SSH.  On
    >         > these VMs,
    >         >     > if you want to use a socket on port 1024 to talk to
    > another app on
    >         > the same
    >         >     > VM, do we need to open outbound and/or inbound ports to
    > allow it?
    >         >     >
    >         >     >
    >         >     I doubt if these changes are related.  The port settings on
    > Azure are
    >         > for
    >         >     external connectivity and should not affect internal port
    >         > communications.
    >         >     At least that's what I think.
    >         >     Also, on Agent1, a few times the build was indeed
    > successful.  Wonder
    >         >     what's causing the non-deterministic behavior.
    >         >
    >         >
    >         >     > -Alex
    >         >     >
    >         >     > On 4/23/20, 5:55 PM, "OmPrakash Muppirala" <
    > [email protected]>
    >         > wrote:
    >         >     >
    >         >     >     Hmm, I decided to execute royale-asjs on agent1 and it
    > is
    >         > failing with
    >         >     > a
    >         >     >     similar but different error message, around the same
    > area.
    >         >     >
    >         >     >
    >         >     >
    >         >
    > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2F1127%2Fconsole&amp;data=02%7C01%7Caharui%40adobe.com%7Cd6b7a545b2114b83399c08d7e885c535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233533548589668&amp;sdata=N9eT0nThPXe9sfLMjZ2yaeyKjy5Rw99NOMTqBSlERG8%3D&amp;reserved=0
    >         >     >
    >         >     >     Weird to see the chrome is invoked even though firefox
    > is set to
    >         > be the
    >         >     >     default browser.
    >         >     >
    >         >     >     On Thu, Apr 23, 2020 at 12:29 AM Alex Harui
    >         > <[email protected]>
    >         >     >     wrote:
    >         >     >
    >         >     >     > OK, it may not be trust files.  Did you check to see
    > if my VM
    >         > has
    >         >     > opened
    >         >     >     > port 843 to allow a policy file request?
    >         >     >     >
    >         >     >     > Again, I'm out of time for tonight.  I suggest
    > looking at the
    >         > Royale
    >         >     > code
    >         >     >     > in the call stack to see what it is trying to do.
    >         >     >     >
    > org.apache.royale.test.ant.tasks.TestRun.run(TestRun.java:77)
    >         >     >     >
    >         >     >     > HTH,
    >         >     >     > -Alex
    >         >     >     >
    >         >     >     > On 4/22/20, 11:46 PM, "OmPrakash Muppirala" <
    >         > [email protected]>
    >         >     > wrote:
    >         >     >     >
    >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
    >         >     > <[email protected]>
    >         >     >     >     wrote:
    >         >     >     >
    >         >     >     >     > I’m stopping for tonight, but what is in the
    > two files?
    >         > You
    >         >     > might
    >         >     >     > try
    >         >     >     >     > going to my VM, finding a SWF, loading it in
    >         >     > FlashPlayerDebugger,
    >         >     >     >     > right-click to see the trust info, and see if
    > sockets are
    >         >     > enabled.
    >         >     >     > Also
    >         >     >     >     > make sure you are running the same version of
    >         >     > FlashPlayerDebugger as
    >         >     >     > on my
    >         >     >     >     > VM.
    >         >     >     >     >
    >         >     >     >
    >         >     >     >     I tried everything.  To my eyes, the settings
    > look the
    >         > same.
    >         >     > Although
    >         >     >     > I
    >         >     >     >     dont get how I can right-click to see the trust
    > info,
    >         > sockets
    >         >     > etc.  I
    >         >     >     > see
    >         >     >     >     the menu with `Settings` and `Global Settings`.
    > Neither
    >         > of them
    >         >     > talk
    >         >     >     > about
    >         >     >     >     trust info or sockets.
    >         >     >     >
    >         >     >     >     Thanks,
    >         >     >     >     Om
    >         >     >     >
    >         >     >     >
    >         >     >     >     >
    >         >     >     >     > Good luck,
    >         >     >     >     > -Alex
    >         >     >     >     >
    >         >     >     >     > From: OmPrakash Muppirala <
    > [email protected]>
    >         >     >     >     > Reply-To: "[email protected]" <
    > [email protected]
    >         > >
    >         >     >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
    >         >     >     >     > To: Apache Royale Development <
    > [email protected]>
    >         >     >     >     > Subject: Re: royale-asjs build error
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
    >         >     > <[email protected]
    >         >     >     > >
    >         >     >     >     > wrote:
    >         >     >     >     > Flash Player Trust files?
    >         >     >     >     >
    >         >     >     >     > I copied these two files from he master
    > Jenkins server.
    >         > It
    >         >     > still
    >         >     >     > seems to
    >         >     >     >     > fail on the same error:
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     > [cid:ii_k9b0mukn0]
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     > On 4/21/20, 5:08 PM, "OmPrakash Muppirala" <
    >         >     > [email protected]
    >         >     >     > <mailto:
    >         >     >     >     > [email protected]>> wrote:
    >         >     >     >     >
    >         >     >     >     >     This is part of my port of certain jobs
    > from Master
    >         > to
    >         >     > Agent2 on
    >         >     >     > the
    >         >     >     >     >     Jenkins CI server.
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     >     I am seeing this error.  Any idea what
    > could be going
    >         >     > wrong here?
    >         >     >     >     >
    >         >     >     >     >     BUILD
    >         >     > FAILEDc:\jenkins\workspace\royale-asjs\build.xml:667: The
    >         >     >     >     >     following error occurred while executing
    > this line:
    >         >     >     >     >
    >         >  c:\jenkins\workspace\royale-asjs\frameworks\build.xml:118:
    >         >     > The
    >         >     >     >     >     following error occurred while executing
    > this line:
    >         >     >     >     >
    >         >  c:\jenkins\workspace\royale-asjs\frameworks\build.xml:383:
    >         >     > The
    >         >     >     >     >     following error occurred while executing
    > this line:
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > c:\jenkins\workspace\royale-asjs\frameworks\projects\Basic\build.xml:68:
    >         >     >     >     >     The following error occurred while
    > executing this
    >         > line:
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
c:\jenkins\workspace\royale-asjs\frameworks\projects\Basic\src\test\royale\build.xml:100:
    >         >     >     >     >     java.util.concurrent.ExecutionException:
    > command
    >         >     >     >     >     [<policy-file-request/>] not understood
    >         >     >     >     >         at
    > java.util.concurrent.FutureTask.report(Unknown
    >         >     > Source)
    >         >     >     >     >         at
    > java.util.concurrent.FutureTask.get(Unknown
    >         > Source)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.royale.test.ant.tasks.TestRun.run(TestRun.java:77)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.royale.test.ant.tasks.RoyaleUnitTask.execute(RoyaleUnitTask.java:192)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    >         >     >     >     >         at
    >         > sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    >         >     > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    > java.lang.reflect.Method.invoke(Unknown
    >         > Source)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Task.perform(Task.java:348)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Target.execute(Target.java:435)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.Target.performTasks(Target.java:456)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    >         >     >     >     >         at
    >         > sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    >         >     > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    > java.lang.reflect.Method.invoke(Unknown
    >         > Source)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Task.perform(Task.java:348)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Target.execute(Target.java:435)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.Target.performTasks(Target.java:456)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    >         >     >     >     >         at
    >         > sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    >         >     > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    > java.lang.reflect.Method.invoke(Unknown
    >         > Source)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Task.perform(Task.java:348)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Target.execute(Target.java:435)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.Target.performTasks(Target.java:456)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    >         >     >     >     >         at
    >         > sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    >         >     > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    > java.lang.reflect.Method.invoke(Unknown
    >         > Source)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Task.perform(Task.java:348)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Target.execute(Target.java:435)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.Target.performTasks(Target.java:456)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    >         >     >     >     >         at
    >         > sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    >         >     > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    >         >     >     > Source)
    >         >     >     >     >         at
    > java.lang.reflect.Method.invoke(Unknown
    >         > Source)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Task.perform(Task.java:348)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Target.execute(Target.java:435)
    >         >     >     >     >         at
    >         >     > org.apache.tools.ant.Target.performTasks(Target.java:456)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >
    > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Main.runBuild(Main.java:857)
    >         >     >     >     >         at
    >         > org.apache.tools.ant.Main.startAnt(Main.java:236)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
    >         >     >     >     >         at
    >         >     >     >
    > org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
    >         >     >     >     >     Caused by: command
    > [<policy-file-request/>] not
    >         > understood
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.royale.test.ant.RoyaleUnitSocketThread.parseInboundMessages(RoyaleUnitSocketThread.java:128)
    >         >     >     >     >         at
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
org.apache.royale.test.ant.RoyaleUnitSocketThread.call(RoyaleUnitSocketThread.java:66)
    >         >     >     >     >         at
    > java.util.concurrent.FutureTask.run(Unknown
    >         > Source)
    >         >     >     >     >         at
    >         >     > java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
    >         >     >     >     > Source)
    >         >     >     >     >         at
    >         >     > java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
    >         >     >     >     > Source)
    >         >     >     >     >         at java.lang.Thread.run(Unknown 
Source)
    >         >     >     >     >
    >         >     >     >     >     Total time: 13 minutes 31 seconds
    >         >     >     >     >     Picked up JAVA_TOOL_OPTIONS:
    > -Dfile.encoding=UTF-8
    >         > -Xms384m
    >         >     >     > -Xmx1024m
    >         >     >     >     >     Build step 'Invoke Ant' marked build as
    > failure
    >         >     >     >     >     Skipped archiving because build is not
    > successful
    >         >     >     >     >     Sending e-mails to: [email protected]
    > <mailto:
    >         >     >     > [email protected]
    >         >     >     >     > >
    >         >     >     >     >     Finished: FAILURE
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     >     Full console log here:
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2F1108%2Fconsole&amp;data=02%7C01%7Caharui%40adobe.com%7Cd6b7a545b2114b83399c08d7e885c535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233533548589668&amp;sdata=xeRcLjcoB8xDcG2AtO2ut6hoYA3Mpsoff2o0Xh45%2Bgc%3D&amp;reserved=0
    >         >     >     >     > <
    >         >     >     >     >
    >         >     >     >
    >         >     >
    >         >
    > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2F1108%2Fconsole&amp;data=02%7C01%7Caharui%40adobe.com%7Cd6b7a545b2114b83399c08d7e885c535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233533548589668&amp;sdata=xeRcLjcoB8xDcG2AtO2ut6hoYA3Mpsoff2o0Xh45%2Bgc%3D&amp;reserved=0
    >         >     >     >     > >
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >
    >         >     >     >
    >         >     >     >
    >         >     >
    >         >     >
    >         >     >
    >         >
    >         >
    >         >
    >
    >
    >
    >
    >
    

Reply via email to