You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by OmPrakash Muppirala <bi...@gmail.com> on 2020/04/22 00:07:23 UTC

royale-asjs build error

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: dev@royale.apache.org
Finished: FAILURE



Full console log here:

http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/1108/console

Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
It definitely went farther along.  Now it is breaking at something else.
I will keep debugging this over the weekend.

On Fri, Apr 24, 2020 at 6:51 PM OmPrakash Muppirala <bi...@gmail.com>
wrote:

>
>
> On Fri, Apr 24, 2020 at 5:43 PM Alex Harui <ah...@adobe.com.invalid>
> wrote:
>
>> Om, the next difference between logs is this on agent 2:
>>
>> [royaleunit] Entry
>> [C:\jenkins\workspace\royale-asjs-agent2\frameworks\projects\Basic\src\test\royale]
>> already available in local trust file at
>> [C:\windows\system32\config\systemprofile\AppData\Roaming\Macromedia\Flash
>> Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
>>
>> This implies that the build is running as SYSTEM or ADMIN and may need to
>> run as user as it does on agent 1.  Trust info written to this location
>> wouldn't be seen by the player if the player is launched as a user.
>>
>>
> Great catch.  I have fixed this by having the server login as ApacheRoyale
> by default.  Let see if this fixes the issue.
>
>
>> HTH,
>> -Alex
>>
>> On 4/24/20, 12:33 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>>
>>     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" <bi...@gmail.com>
>> wrote:
>>
>>         On Fri, Apr 24, 2020 at 12:14 AM Alex Harui
>> <ah...@adobe.com.invalid>
>>         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" <ah...@adobe.com.INVALID>
>> 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" <
>> bigosmallm@gmail.com>
>>         > wrote:
>>         >
>>         >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
>>         > <ah...@adobe.com.invalid>
>>         >         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" <
>> bigosmallm@gmail.com>
>>         > wrote:
>>         >         >
>>         >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
>>         > <ah...@adobe.com.invalid>
>>         >         > 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" <
>>         > bigosmallm@gmail.com>
>>         >         > 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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&amp;sdata=OeOracwBoODdtjNi4jUE2MapqRWECohqcmxKSddmvvs%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
>>         >         > <ah...@adobe.com.invalid>
>>         >         >     >     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" <
>>         >         > bigosmallm@gmail.com>
>>         >         >     > wrote:
>>         >         >     >     >
>>         >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex
>> Harui
>>         >         >     > <ah...@adobe.com.invalid>
>>         >         >     >     >     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 <
>>         > bigosmallm@gmail.com>
>>         >         >     >     >     > Reply-To: "dev@royale.apache.org" <
>>         > dev@royale.apache.org
>>         >         > >
>>         >         >     >     >     > Date: Wednesday, April 22, 2020 at
>> 12:30 AM
>>         >         >     >     >     > To: Apache Royale Development <
>>         > dev@royale.apache.org>
>>         >         >     >     >     > Subject: Re: royale-asjs build error
>>         >         >     >     >     >
>>         >         >     >     >     >
>>         >         >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM
>> Alex Harui
>>         >         >     > <aharui@adobe.com.invalid
>>         >         >     >     > >
>>         >         >     >     >     > 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" <
>>         >         >     > bigosmallm@gmail.com
>>         >         >     >     > <mailto:
>>         >         >     >     >     > bigosmallm@gmail.com>> 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:
>> dev@royale.apache.org
>>         > <mailto:
>>         >         >     >     > dev@royale.apache.org
>>         >         >     >     >     > >
>>         >         >     >     >     >     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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&amp;sdata=GdV3HlJCLA9mKNhpuSZ%2FmQloUV1g6HjK1hQlkOXbc14%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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998335192&amp;sdata=CCjCMUzsbO1hgH92XgNe4Lt%2BHCr%2BtxCepmS%2BfKaJJoU%3D&amp;reserved=0
>>         >         >     >     >     > >
>>         >         >     >     >     >
>>         >         >     >     >     >
>>         >         >     >     >
>>         >         >     >     >
>>         >         >     >     >
>>         >         >     >
>>         >         >     >
>>         >         >     >
>>         >         >
>>         >         >
>>         >         >
>>         >
>>         >
>>         >
>>         >
>>         >
>>
>>
>>
>>
>>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
To double-check:

1) The mm.cfg contains:

ErrorReportingEnable=1
TraceOutputFileEnable=1


2) It is located at %HOMEDRIVE%/%HOMEPATH%

3) Your flashplayerdebugger is a projector debugger and not just a projector.  Mine is 10MB

HTH,
-Alex


On 4/24/20, 7:31 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

    On Fri, Apr 24, 2020 at 7:25 PM Alex Harui <ah...@adobe.com.invalid> wrote:
    
    > Yay, got past the socket error.
    
    
    Yass
    
    
    > FTR, on my VM, I think Jenkins is installed as a service and only that
    > service is running as User.
    >
    
    Yes, I have done the same thing on mine now.
    
    
    >
    > Now you got the error that you need the mm.cfg in the appropriate place
    > with the appropriate settings.  Try taking the one from my VM.
    >
    
    I had already copied the one in your VM. I copied the trust file from your
    VM as well.  Trying again now.
    
    
    >
    > HTH,
    > -Alex
    >
    > On 4/24/20, 6:52 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
    >
    >     On Fri, Apr 24, 2020 at 5:43 PM Alex Harui <ah...@adobe.com.invalid>
    > wrote:
    >
    >     > Om, the next difference between logs is this on agent 2:
    >     >
    >     > [royaleunit] Entry
    >     >
    > [C:\jenkins\workspace\royale-asjs-agent2\frameworks\projects\Basic\src\test\royale]
    >     > already available in local trust file at
    >     >
    > [C:\windows\system32\config\systemprofile\AppData\Roaming\Macromedia\Flash
    >     > Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
    >     >
    >     > This implies that the build is running as SYSTEM or ADMIN and may
    > need to
    >     > run as user as it does on agent 1.  Trust info written to this
    > location
    >     > wouldn't be seen by the player if the player is launched as a user.
    >     >
    >     >
    >     Great catch.  I have fixed this by having the server login as
    > ApacheRoyale
    >     by default.  Let see if this fixes the issue.
    >
    >
    >     > HTH,
    >     > -Alex
    >     >
    >     > On 4/24/20, 12:33 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
    >     >
    >     >     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" <
    > bigosmallm@gmail.com>
    >     > wrote:
    >     >
    >     >         On Fri, Apr 24, 2020 at 12:14 AM Alex Harui
    >     > <ah...@adobe.com.invalid>
    >     >         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"
    > <ah...@adobe.com.INVALID>
    >     > 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" <
    >     > bigosmallm@gmail.com>
    >     >         > wrote:
    >     >         >
    >     >         >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
    >     >         > <ah...@adobe.com.invalid>
    >     >         >         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" <
    >     > bigosmallm@gmail.com>
    >     >         > wrote:
    >     >         >         >
    >     >         >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
    >     >         > <ah...@adobe.com.invalid>
    >     >         >         > 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"
    > <
    >     >         > bigosmallm@gmail.com>
    >     >         >         > 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%7Cecb2ecdbdbc54e4d1cb008d7e8c0c35a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233786923446109&amp;sdata=sLckCNZjElHEz6sBEmvctY5qmwd2s5raqJkRib0SOmY%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
    >     >         >         > <ah...@adobe.com.invalid>
    >     >         >         >     >     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" <
    >     >         >         > bigosmallm@gmail.com>
    >     >         >         >     > wrote:
    >     >         >         >     >     >
    >     >         >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM
    > Alex
    >     > Harui
    >     >         >         >     > <ah...@adobe.com.invalid>
    >     >         >         >     >     >     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 <
    >     >         > bigosmallm@gmail.com>
    >     >         >         >     >     >     > Reply-To: "
    > dev@royale.apache.org" <
    >     >         > dev@royale.apache.org
    >     >         >         > >
    >     >         >         >     >     >     > Date: Wednesday, April 22,
    > 2020 at
    >     > 12:30 AM
    >     >         >         >     >     >     > To: Apache Royale Development <
    >     >         > dev@royale.apache.org>
    >     >         >         >     >     >     > Subject: Re: royale-asjs build
    > error
    >     >         >         >     >     >     >
    >     >         >         >     >     >     >
    >     >         >         >     >     >     > On Tue, Apr 21, 2020 at 9:01
    > PM Alex
    >     > Harui
    >     >         >         >     > <aharui@adobe.com.invalid
    >     >         >         >     >     > >
    >     >         >         >     >     >     > 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" <
    >     >         >         >     > bigosmallm@gmail.com
    >     >         >         >     >     > <mailto:
    >     >         >         >     >     >     > bigosmallm@gmail.com>> 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:
    >     > dev@royale.apache.org
    >     >         > <mailto:
    >     >         >         >     >     > dev@royale.apache.org
    >     >         >         >     >     >     > >
    >     >         >         >     >     >     >     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%7Cecb2ecdbdbc54e4d1cb008d7e8c0c35a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233786923446109&amp;sdata=EJIUX9vbrPDKWoo5ugxCcAahOLTJDWgMRRC2vQBKLQY%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%7Cecb2ecdbdbc54e4d1cb008d7e8c0c35a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233786923446109&amp;sdata=EJIUX9vbrPDKWoo5ugxCcAahOLTJDWgMRRC2vQBKLQY%3D&amp;reserved=0
    >     >         >         >     >     >     > >
    >     >         >         >     >     >     >
    >     >         >         >     >     >     >
    >     >         >         >     >     >
    >     >         >         >     >     >
    >     >         >         >     >     >
    >     >         >         >     >
    >     >         >         >     >
    >     >         >         >     >
    >     >         >         >
    >     >         >         >
    >     >         >         >
    >     >         >
    >     >         >
    >     >         >
    >     >         >
    >     >         >
    >     >
    >     >
    >     >
    >     >
    >     >
    >
    >
    >
    


Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Fri, Apr 24, 2020 at 7:25 PM Alex Harui <ah...@adobe.com.invalid> wrote:

> Yay, got past the socket error.


Yass


> FTR, on my VM, I think Jenkins is installed as a service and only that
> service is running as User.
>

Yes, I have done the same thing on mine now.


>
> Now you got the error that you need the mm.cfg in the appropriate place
> with the appropriate settings.  Try taking the one from my VM.
>

I had already copied the one in your VM. I copied the trust file from your
VM as well.  Trying again now.


>
> HTH,
> -Alex
>
> On 4/24/20, 6:52 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>
>     On Fri, Apr 24, 2020 at 5:43 PM Alex Harui <ah...@adobe.com.invalid>
> wrote:
>
>     > Om, the next difference between logs is this on agent 2:
>     >
>     > [royaleunit] Entry
>     >
> [C:\jenkins\workspace\royale-asjs-agent2\frameworks\projects\Basic\src\test\royale]
>     > already available in local trust file at
>     >
> [C:\windows\system32\config\systemprofile\AppData\Roaming\Macromedia\Flash
>     > Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
>     >
>     > This implies that the build is running as SYSTEM or ADMIN and may
> need to
>     > run as user as it does on agent 1.  Trust info written to this
> location
>     > wouldn't be seen by the player if the player is launched as a user.
>     >
>     >
>     Great catch.  I have fixed this by having the server login as
> ApacheRoyale
>     by default.  Let see if this fixes the issue.
>
>
>     > HTH,
>     > -Alex
>     >
>     > On 4/24/20, 12:33 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>     >
>     >     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" <
> bigosmallm@gmail.com>
>     > wrote:
>     >
>     >         On Fri, Apr 24, 2020 at 12:14 AM Alex Harui
>     > <ah...@adobe.com.invalid>
>     >         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"
> <ah...@adobe.com.INVALID>
>     > 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" <
>     > bigosmallm@gmail.com>
>     >         > wrote:
>     >         >
>     >         >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
>     >         > <ah...@adobe.com.invalid>
>     >         >         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" <
>     > bigosmallm@gmail.com>
>     >         > wrote:
>     >         >         >
>     >         >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
>     >         > <ah...@adobe.com.invalid>
>     >         >         > 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"
> <
>     >         > bigosmallm@gmail.com>
>     >         >         > 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%7Cbd44c40a642c4eacc04d08d7e8bb4ed2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233763532501583&amp;sdata=4eDk9yXsw58SKrXpfu223hgW9cDNN9Y%2Fz2QjYwvFSbc%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
>     >         >         > <ah...@adobe.com.invalid>
>     >         >         >     >     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" <
>     >         >         > bigosmallm@gmail.com>
>     >         >         >     > wrote:
>     >         >         >     >     >
>     >         >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM
> Alex
>     > Harui
>     >         >         >     > <ah...@adobe.com.invalid>
>     >         >         >     >     >     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 <
>     >         > bigosmallm@gmail.com>
>     >         >         >     >     >     > Reply-To: "
> dev@royale.apache.org" <
>     >         > dev@royale.apache.org
>     >         >         > >
>     >         >         >     >     >     > Date: Wednesday, April 22,
> 2020 at
>     > 12:30 AM
>     >         >         >     >     >     > To: Apache Royale Development <
>     >         > dev@royale.apache.org>
>     >         >         >     >     >     > Subject: Re: royale-asjs build
> error
>     >         >         >     >     >     >
>     >         >         >     >     >     >
>     >         >         >     >     >     > On Tue, Apr 21, 2020 at 9:01
> PM Alex
>     > Harui
>     >         >         >     > <aharui@adobe.com.invalid
>     >         >         >     >     > >
>     >         >         >     >     >     > 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" <
>     >         >         >     > bigosmallm@gmail.com
>     >         >         >     >     > <mailto:
>     >         >         >     >     >     > bigosmallm@gmail.com>> 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:
>     > dev@royale.apache.org
>     >         > <mailto:
>     >         >         >     >     > dev@royale.apache.org
>     >         >         >     >     >     > >
>     >         >         >     >     >     >     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%7Cbd44c40a642c4eacc04d08d7e8bb4ed2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233763532501583&amp;sdata=ZmfkjfbQ8if75ytU92cJVJ7kg3ckbpvKlgt1caVMWIY%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%7Cbd44c40a642c4eacc04d08d7e8bb4ed2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233763532501583&amp;sdata=ZmfkjfbQ8if75ytU92cJVJ7kg3ckbpvKlgt1caVMWIY%3D&amp;reserved=0
>     >         >         >     >     >     > >
>     >         >         >     >     >     >
>     >         >         >     >     >     >
>     >         >         >     >     >
>     >         >         >     >     >
>     >         >         >     >     >
>     >         >         >     >
>     >         >         >     >
>     >         >         >     >
>     >         >         >
>     >         >         >
>     >         >         >
>     >         >
>     >         >
>     >         >
>     >         >
>     >         >
>     >
>     >
>     >
>     >
>     >
>
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Yay, got past the socket error.  FTR, on my VM, I think Jenkins is installed as a service and only that service is running as User.

Now you got the error that you need the mm.cfg in the appropriate place with the appropriate settings.  Try taking the one from my VM.

HTH,
-Alex

On 4/24/20, 6:52 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

    On Fri, Apr 24, 2020 at 5:43 PM Alex Harui <ah...@adobe.com.invalid> wrote:
    
    > Om, the next difference between logs is this on agent 2:
    >
    > [royaleunit] Entry
    > [C:\jenkins\workspace\royale-asjs-agent2\frameworks\projects\Basic\src\test\royale]
    > already available in local trust file at
    > [C:\windows\system32\config\systemprofile\AppData\Roaming\Macromedia\Flash
    > Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
    >
    > This implies that the build is running as SYSTEM or ADMIN and may need to
    > run as user as it does on agent 1.  Trust info written to this location
    > wouldn't be seen by the player if the player is launched as a user.
    >
    >
    Great catch.  I have fixed this by having the server login as ApacheRoyale
    by default.  Let see if this fixes the issue.
    
    
    > HTH,
    > -Alex
    >
    > On 4/24/20, 12:33 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
    >
    >     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" <bi...@gmail.com>
    > wrote:
    >
    >         On Fri, Apr 24, 2020 at 12:14 AM Alex Harui
    > <ah...@adobe.com.invalid>
    >         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" <ah...@adobe.com.INVALID>
    > 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" <
    > bigosmallm@gmail.com>
    >         > wrote:
    >         >
    >         >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
    >         > <ah...@adobe.com.invalid>
    >         >         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" <
    > bigosmallm@gmail.com>
    >         > wrote:
    >         >         >
    >         >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
    >         > <ah...@adobe.com.invalid>
    >         >         > 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" <
    >         > bigosmallm@gmail.com>
    >         >         > 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%7Cbd44c40a642c4eacc04d08d7e8bb4ed2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233763532501583&amp;sdata=4eDk9yXsw58SKrXpfu223hgW9cDNN9Y%2Fz2QjYwvFSbc%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
    >         >         > <ah...@adobe.com.invalid>
    >         >         >     >     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" <
    >         >         > bigosmallm@gmail.com>
    >         >         >     > wrote:
    >         >         >     >     >
    >         >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex
    > Harui
    >         >         >     > <ah...@adobe.com.invalid>
    >         >         >     >     >     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 <
    >         > bigosmallm@gmail.com>
    >         >         >     >     >     > Reply-To: "dev@royale.apache.org" <
    >         > dev@royale.apache.org
    >         >         > >
    >         >         >     >     >     > Date: Wednesday, April 22, 2020 at
    > 12:30 AM
    >         >         >     >     >     > To: Apache Royale Development <
    >         > dev@royale.apache.org>
    >         >         >     >     >     > Subject: Re: royale-asjs build error
    >         >         >     >     >     >
    >         >         >     >     >     >
    >         >         >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex
    > Harui
    >         >         >     > <aharui@adobe.com.invalid
    >         >         >     >     > >
    >         >         >     >     >     > 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" <
    >         >         >     > bigosmallm@gmail.com
    >         >         >     >     > <mailto:
    >         >         >     >     >     > bigosmallm@gmail.com>> 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:
    > dev@royale.apache.org
    >         > <mailto:
    >         >         >     >     > dev@royale.apache.org
    >         >         >     >     >     > >
    >         >         >     >     >     >     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%7Cbd44c40a642c4eacc04d08d7e8bb4ed2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233763532501583&amp;sdata=ZmfkjfbQ8if75ytU92cJVJ7kg3ckbpvKlgt1caVMWIY%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%7Cbd44c40a642c4eacc04d08d7e8bb4ed2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233763532501583&amp;sdata=ZmfkjfbQ8if75ytU92cJVJ7kg3ckbpvKlgt1caVMWIY%3D&amp;reserved=0
    >         >         >     >     >     > >
    >         >         >     >     >     >
    >         >         >     >     >     >
    >         >         >     >     >
    >         >         >     >     >
    >         >         >     >     >
    >         >         >     >
    >         >         >     >
    >         >         >     >
    >         >         >
    >         >         >
    >         >         >
    >         >
    >         >
    >         >
    >         >
    >         >
    >
    >
    >
    >
    >
    


Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Fri, Apr 24, 2020 at 5:43 PM Alex Harui <ah...@adobe.com.invalid> wrote:

> Om, the next difference between logs is this on agent 2:
>
> [royaleunit] Entry
> [C:\jenkins\workspace\royale-asjs-agent2\frameworks\projects\Basic\src\test\royale]
> already available in local trust file at
> [C:\windows\system32\config\systemprofile\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
>
> This implies that the build is running as SYSTEM or ADMIN and may need to
> run as user as it does on agent 1.  Trust info written to this location
> wouldn't be seen by the player if the player is launched as a user.
>
>
Great catch.  I have fixed this by having the server login as ApacheRoyale
by default.  Let see if this fixes the issue.


> HTH,
> -Alex
>
> On 4/24/20, 12:33 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>
>     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" <bi...@gmail.com>
> wrote:
>
>         On Fri, Apr 24, 2020 at 12:14 AM Alex Harui
> <ah...@adobe.com.invalid>
>         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" <ah...@adobe.com.INVALID>
> 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" <
> bigosmallm@gmail.com>
>         > wrote:
>         >
>         >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
>         > <ah...@adobe.com.invalid>
>         >         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" <
> bigosmallm@gmail.com>
>         > wrote:
>         >         >
>         >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
>         > <ah...@adobe.com.invalid>
>         >         > 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" <
>         > bigosmallm@gmail.com>
>         >         > 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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&amp;sdata=OeOracwBoODdtjNi4jUE2MapqRWECohqcmxKSddmvvs%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
>         >         > <ah...@adobe.com.invalid>
>         >         >     >     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" <
>         >         > bigosmallm@gmail.com>
>         >         >     > wrote:
>         >         >     >     >
>         >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex
> Harui
>         >         >     > <ah...@adobe.com.invalid>
>         >         >     >     >     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 <
>         > bigosmallm@gmail.com>
>         >         >     >     >     > Reply-To: "dev@royale.apache.org" <
>         > dev@royale.apache.org
>         >         > >
>         >         >     >     >     > Date: Wednesday, April 22, 2020 at
> 12:30 AM
>         >         >     >     >     > To: Apache Royale Development <
>         > dev@royale.apache.org>
>         >         >     >     >     > Subject: Re: royale-asjs build error
>         >         >     >     >     >
>         >         >     >     >     >
>         >         >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex
> Harui
>         >         >     > <aharui@adobe.com.invalid
>         >         >     >     > >
>         >         >     >     >     > 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" <
>         >         >     > bigosmallm@gmail.com
>         >         >     >     > <mailto:
>         >         >     >     >     > bigosmallm@gmail.com>> 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:
> dev@royale.apache.org
>         > <mailto:
>         >         >     >     > dev@royale.apache.org
>         >         >     >     >     > >
>         >         >     >     >     >     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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&amp;sdata=GdV3HlJCLA9mKNhpuSZ%2FmQloUV1g6HjK1hQlkOXbc14%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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998335192&amp;sdata=CCjCMUzsbO1hgH92XgNe4Lt%2BHCr%2BtxCepmS%2BfKaJJoU%3D&amp;reserved=0
>         >         >     >     >     > >
>         >         >     >     >     >
>         >         >     >     >     >
>         >         >     >     >
>         >         >     >     >
>         >         >     >     >
>         >         >     >
>         >         >     >
>         >         >     >
>         >         >
>         >         >
>         >         >
>         >
>         >
>         >
>         >
>         >
>
>
>
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Om, the next difference between logs is this on agent 2:

[royaleunit] Entry [C:\jenkins\workspace\royale-asjs-agent2\frameworks\projects\Basic\src\test\royale] already available in local trust file at [C:\windows\system32\config\systemprofile\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\royaleUnit.cfg].

This implies that the build is running as SYSTEM or ADMIN and may need to run as user as it does on agent 1.  Trust info written to this location wouldn't be seen by the player if the player is launched as a user.

HTH,
-Alex

On 4/24/20, 12:33 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:

    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" <bi...@gmail.com> wrote:
    
        On Fri, Apr 24, 2020 at 12:14 AM Alex Harui <ah...@adobe.com.invalid>
        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" <ah...@adobe.com.INVALID> 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" <bi...@gmail.com>
        > wrote:
        >
        >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
        > <ah...@adobe.com.invalid>
        >         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" <bi...@gmail.com>
        > wrote:
        >         >
        >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
        > <ah...@adobe.com.invalid>
        >         > 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" <
        > bigosmallm@gmail.com>
        >         > 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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&amp;sdata=OeOracwBoODdtjNi4jUE2MapqRWECohqcmxKSddmvvs%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
        >         > <ah...@adobe.com.invalid>
        >         >     >     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" <
        >         > bigosmallm@gmail.com>
        >         >     > wrote:
        >         >     >     >
        >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
        >         >     > <ah...@adobe.com.invalid>
        >         >     >     >     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 <
        > bigosmallm@gmail.com>
        >         >     >     >     > Reply-To: "dev@royale.apache.org" <
        > dev@royale.apache.org
        >         > >
        >         >     >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
        >         >     >     >     > To: Apache Royale Development <
        > dev@royale.apache.org>
        >         >     >     >     > Subject: Re: royale-asjs build error
        >         >     >     >     >
        >         >     >     >     >
        >         >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
        >         >     > <aharui@adobe.com.invalid
        >         >     >     > >
        >         >     >     >     > 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" <
        >         >     > bigosmallm@gmail.com
        >         >     >     > <mailto:
        >         >     >     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org
        > <mailto:
        >         >     >     > dev@royale.apache.org
        >         >     >     >     > >
        >         >     >     >     >     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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&amp;sdata=GdV3HlJCLA9mKNhpuSZ%2FmQloUV1g6HjK1hQlkOXbc14%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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998335192&amp;sdata=CCjCMUzsbO1hgH92XgNe4Lt%2BHCr%2BtxCepmS%2BfKaJJoU%3D&amp;reserved=0
        >         >     >     >     > >
        >         >     >     >     >
        >         >     >     >     >
        >         >     >     >
        >         >     >     >
        >         >     >     >
        >         >     >
        >         >     >
        >         >     >
        >         >
        >         >
        >         >
        >
        >
        >
        >
        >
        
    
    


Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <bi...@gmail.com> wrote:

    On Fri, Apr 24, 2020 at 12:14 AM Alex Harui <ah...@adobe.com.invalid>
    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" <ah...@adobe.com.INVALID> 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" <bi...@gmail.com>
    > wrote:
    >
    >         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
    > <ah...@adobe.com.invalid>
    >         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" <bi...@gmail.com>
    > wrote:
    >         >
    >         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
    > <ah...@adobe.com.invalid>
    >         > 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" <
    > bigosmallm@gmail.com>
    >         > 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
    >         > <ah...@adobe.com.invalid>
    >         >     >     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" <
    >         > bigosmallm@gmail.com>
    >         >     > wrote:
    >         >     >     >
    >         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
    >         >     > <ah...@adobe.com.invalid>
    >         >     >     >     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 <
    > bigosmallm@gmail.com>
    >         >     >     >     > Reply-To: "dev@royale.apache.org" <
    > dev@royale.apache.org
    >         > >
    >         >     >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
    >         >     >     >     > To: Apache Royale Development <
    > dev@royale.apache.org>
    >         >     >     >     > Subject: Re: royale-asjs build error
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
    >         >     > <aharui@adobe.com.invalid
    >         >     >     > >
    >         >     >     >     > 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" <
    >         >     > bigosmallm@gmail.com
    >         >     >     > <mailto:
    >         >     >     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org
    > <mailto:
    >         >     >     > dev@royale.apache.org
    >         >     >     >     > >
    >         >     >     >     >     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
    >         >     >     >     > >
    >         >     >     >     >
    >         >     >     >     >
    >         >     >     >
    >         >     >     >
    >         >     >     >
    >         >     >
    >         >     >
    >         >     >
    >         >
    >         >
    >         >
    >
    >
    >
    >
    >
    


Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Fri, Apr 24, 2020 at 12:14 AM Alex Harui <ah...@adobe.com.invalid>
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" <ah...@adobe.com.INVALID> 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" <bi...@gmail.com>
> wrote:
>
>         On Thu, Apr 23, 2020 at 10:20 PM Alex Harui
> <ah...@adobe.com.invalid>
>         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" <bi...@gmail.com>
> wrote:
>         >
>         >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui
> <ah...@adobe.com.invalid>
>         > 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" <
> bigosmallm@gmail.com>
>         > 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%7C4dbe0e80585f4c0b63e908d7e8188568%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233064378182117&amp;sdata=Uj7ZMBhsAARGnC6n4w0OvSZL5eed4jO4AUrS49tpTBg%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
>         > <ah...@adobe.com.invalid>
>         >     >     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" <
>         > bigosmallm@gmail.com>
>         >     > wrote:
>         >     >     >
>         >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
>         >     > <ah...@adobe.com.invalid>
>         >     >     >     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 <
> bigosmallm@gmail.com>
>         >     >     >     > Reply-To: "dev@royale.apache.org" <
> dev@royale.apache.org
>         > >
>         >     >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
>         >     >     >     > To: Apache Royale Development <
> dev@royale.apache.org>
>         >     >     >     > Subject: Re: royale-asjs build error
>         >     >     >     >
>         >     >     >     >
>         >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
>         >     > <aharui@adobe.com.invalid
>         >     >     > >
>         >     >     >     > 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" <
>         >     > bigosmallm@gmail.com
>         >     >     > <mailto:
>         >     >     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org
> <mailto:
>         >     >     > dev@royale.apache.org
>         >     >     >     > >
>         >     >     >     >     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%7C4dbe0e80585f4c0b63e908d7e8188568%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233064378182117&amp;sdata=SgJE4aBZdD3DeagxsQrG2aOAuryDCLR%2B%2B4LjPGkdmU0%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%7C4dbe0e80585f4c0b63e908d7e8188568%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233064378182117&amp;sdata=SgJE4aBZdD3DeagxsQrG2aOAuryDCLR%2B%2B4LjPGkdmU0%3D&amp;reserved=0
>         >     >     >     > >
>         >     >     >     >
>         >     >     >     >
>         >     >     >
>         >     >     >
>         >     >     >
>         >     >
>         >     >
>         >     >
>         >
>         >
>         >
>
>
>
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Om, can you restart your VM?  Jenkins didn't pick up the change I made.

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.

-Alex

On 4/23/20, 11:27 PM, "Alex Harui" <ah...@adobe.com.INVALID> 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" <bi...@gmail.com> wrote:
    
        On Thu, Apr 23, 2020 at 10:20 PM Alex Harui <ah...@adobe.com.invalid>
        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" <bi...@gmail.com> wrote:
        >
        >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui <ah...@adobe.com.invalid>
        > 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" <bi...@gmail.com>
        > 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%7C4dbe0e80585f4c0b63e908d7e8188568%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233064378182117&amp;sdata=Uj7ZMBhsAARGnC6n4w0OvSZL5eed4jO4AUrS49tpTBg%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
        > <ah...@adobe.com.invalid>
        >     >     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" <
        > bigosmallm@gmail.com>
        >     > wrote:
        >     >     >
        >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
        >     > <ah...@adobe.com.invalid>
        >     >     >     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 <bi...@gmail.com>
        >     >     >     > Reply-To: "dev@royale.apache.org" <dev@royale.apache.org
        > >
        >     >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
        >     >     >     > To: Apache Royale Development <de...@royale.apache.org>
        >     >     >     > Subject: Re: royale-asjs build error
        >     >     >     >
        >     >     >     >
        >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
        >     > <aharui@adobe.com.invalid
        >     >     > >
        >     >     >     > 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" <
        >     > bigosmallm@gmail.com
        >     >     > <mailto:
        >     >     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
        >     >     > dev@royale.apache.org
        >     >     >     > >
        >     >     >     >     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%7C4dbe0e80585f4c0b63e908d7e8188568%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233064378182117&amp;sdata=SgJE4aBZdD3DeagxsQrG2aOAuryDCLR%2B%2B4LjPGkdmU0%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%7C4dbe0e80585f4c0b63e908d7e8188568%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233064378182117&amp;sdata=SgJE4aBZdD3DeagxsQrG2aOAuryDCLR%2B%2B4LjPGkdmU0%3D&amp;reserved=0
        >     >     >     > >
        >     >     >     >
        >     >     >     >
        >     >     >
        >     >     >
        >     >     >
        >     >
        >     >
        >     >
        >
        >
        >
        
    
    


Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <bi...@gmail.com> wrote:

    On Thu, Apr 23, 2020 at 10:20 PM Alex Harui <ah...@adobe.com.invalid>
    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" <bi...@gmail.com> wrote:
    >
    >     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui <ah...@adobe.com.invalid>
    > 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" <bi...@gmail.com>
    > 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%7Ca4b2816d0c8a4f82453a08d7e8113093%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233032864436495&amp;sdata=1%2B1E9xo98uFykqyV4n6qHfHgPWs%2B17EjqFjkaAUm1G4%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
    > <ah...@adobe.com.invalid>
    >     >     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" <
    > bigosmallm@gmail.com>
    >     > wrote:
    >     >     >
    >     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
    >     > <ah...@adobe.com.invalid>
    >     >     >     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 <bi...@gmail.com>
    >     >     >     > Reply-To: "dev@royale.apache.org" <dev@royale.apache.org
    > >
    >     >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
    >     >     >     > To: Apache Royale Development <de...@royale.apache.org>
    >     >     >     > Subject: Re: royale-asjs build error
    >     >     >     >
    >     >     >     >
    >     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
    >     > <aharui@adobe.com.invalid
    >     >     > >
    >     >     >     > 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" <
    >     > bigosmallm@gmail.com
    >     >     > <mailto:
    >     >     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
    >     >     > dev@royale.apache.org
    >     >     >     > >
    >     >     >     >     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%7Ca4b2816d0c8a4f82453a08d7e8113093%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233032864446494&amp;sdata=TqRBfUAlBFDCqi306AwAKFixjYvxaTlv2JaDBdXhEwE%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%7Ca4b2816d0c8a4f82453a08d7e8113093%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233032864446494&amp;sdata=TqRBfUAlBFDCqi306AwAKFixjYvxaTlv2JaDBdXhEwE%3D&amp;reserved=0
    >     >     >     > >
    >     >     >     >
    >     >     >     >
    >     >     >
    >     >     >
    >     >     >
    >     >
    >     >
    >     >
    >
    >
    >
    


Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Thu, Apr 23, 2020 at 10:20 PM Alex Harui <ah...@adobe.com.invalid>
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" <bi...@gmail.com> wrote:
>
>     On Thu, Apr 23, 2020 at 8:55 PM Alex Harui <ah...@adobe.com.invalid>
> 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" <bi...@gmail.com>
> 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%7Cd13e04d575ee40cfb11d08d7e809cbeb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233001086860547&amp;sdata=xmqOgxD7ZwcLWT4C8J3srVp128iiIhuh70GV3btDSHk%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
> <ah...@adobe.com.invalid>
>     >     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" <
> bigosmallm@gmail.com>
>     > wrote:
>     >     >
>     >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
>     > <ah...@adobe.com.invalid>
>     >     >     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 <bi...@gmail.com>
>     >     >     > Reply-To: "dev@royale.apache.org" <dev@royale.apache.org
> >
>     >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
>     >     >     > To: Apache Royale Development <de...@royale.apache.org>
>     >     >     > Subject: Re: royale-asjs build error
>     >     >     >
>     >     >     >
>     >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
>     > <aharui@adobe.com.invalid
>     >     > >
>     >     >     > 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" <
>     > bigosmallm@gmail.com
>     >     > <mailto:
>     >     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
>     >     > dev@royale.apache.org
>     >     >     > >
>     >     >     >     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%7Cd13e04d575ee40cfb11d08d7e809cbeb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233001086860547&amp;sdata=6rSbfplOU1ifgRw97lBdXN9HGl73112X%2F9sch5JkAuk%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%7Cd13e04d575ee40cfb11d08d7e809cbeb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233001086860547&amp;sdata=6rSbfplOU1ifgRw97lBdXN9HGl73112X%2F9sch5JkAuk%3D&amp;reserved=0
>     >     >     > >
>     >     >     >
>     >     >     >
>     >     >
>     >     >
>     >     >
>     >
>     >
>     >
>
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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.

Maybe you can add some debugging output to the royaleunit-ant-tasks.

HTH,
-Alex

On 4/23/20, 9:41 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

    On Thu, Apr 23, 2020 at 8:55 PM Alex Harui <ah...@adobe.com.invalid> 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" <bi...@gmail.com> 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%7Cd13e04d575ee40cfb11d08d7e809cbeb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233001086860547&amp;sdata=xmqOgxD7ZwcLWT4C8J3srVp128iiIhuh70GV3btDSHk%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 <ah...@adobe.com.invalid>
    >     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" <bi...@gmail.com>
    > wrote:
    >     >
    >     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
    > <ah...@adobe.com.invalid>
    >     >     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 <bi...@gmail.com>
    >     >     > Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
    >     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
    >     >     > To: Apache Royale Development <de...@royale.apache.org>
    >     >     > Subject: Re: royale-asjs build error
    >     >     >
    >     >     >
    >     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
    > <aharui@adobe.com.invalid
    >     > >
    >     >     > 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" <
    > bigosmallm@gmail.com
    >     > <mailto:
    >     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
    >     > dev@royale.apache.org
    >     >     > >
    >     >     >     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%7Cd13e04d575ee40cfb11d08d7e809cbeb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233001086860547&amp;sdata=6rSbfplOU1ifgRw97lBdXN9HGl73112X%2F9sch5JkAuk%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%7Cd13e04d575ee40cfb11d08d7e809cbeb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233001086860547&amp;sdata=6rSbfplOU1ifgRw97lBdXN9HGl73112X%2F9sch5JkAuk%3D&amp;reserved=0
    >     >     > >
    >     >     >
    >     >     >
    >     >
    >     >
    >     >
    >
    >
    >
    


Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Thu, Apr 23, 2020 at 8:55 PM Alex Harui <ah...@adobe.com.invalid> 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" <bi...@gmail.com> 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%7C9cd7e8cece784920f47508d7e7ea3bd8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232865525287816&amp;sdata=guUgEo4wE%2BXtmegd7eZhy114h4jCIIALz85Uxe4YF%2FI%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 <ah...@adobe.com.invalid>
>     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" <bi...@gmail.com>
> wrote:
>     >
>     >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui
> <ah...@adobe.com.invalid>
>     >     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 <bi...@gmail.com>
>     >     > Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
>     >     > Date: Wednesday, April 22, 2020 at 12:30 AM
>     >     > To: Apache Royale Development <de...@royale.apache.org>
>     >     > Subject: Re: royale-asjs build error
>     >     >
>     >     >
>     >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
> <aharui@adobe.com.invalid
>     > >
>     >     > 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" <
> bigosmallm@gmail.com
>     > <mailto:
>     >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
>     > dev@royale.apache.org
>     >     > >
>     >     >     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%7C9cd7e8cece784920f47508d7e7ea3bd8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232865525287816&amp;sdata=rrGREc9fGNSI1lSR6HYSxhfLnN%2BB6JndyEHVdi%2Bz8K4%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%7C9cd7e8cece784920f47508d7e7ea3bd8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232865525287816&amp;sdata=rrGREc9fGNSI1lSR6HYSxhfLnN%2BB6JndyEHVdi%2Bz8K4%3D&amp;reserved=0
>     >     > >
>     >     >
>     >     >
>     >
>     >
>     >
>
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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?

-Alex

On 4/23/20, 5:55 PM, "OmPrakash Muppirala" <bi...@gmail.com> 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%7C9cd7e8cece784920f47508d7e7ea3bd8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232865525287816&amp;sdata=guUgEo4wE%2BXtmegd7eZhy114h4jCIIALz85Uxe4YF%2FI%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 <ah...@adobe.com.invalid>
    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" <bi...@gmail.com> wrote:
    >
    >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui <ah...@adobe.com.invalid>
    >     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 <bi...@gmail.com>
    >     > Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
    >     > Date: Wednesday, April 22, 2020 at 12:30 AM
    >     > To: Apache Royale Development <de...@royale.apache.org>
    >     > Subject: Re: royale-asjs build error
    >     >
    >     >
    >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui <aharui@adobe.com.invalid
    > >
    >     > 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" <bigosmallm@gmail.com
    > <mailto:
    >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
    > dev@royale.apache.org
    >     > >
    >     >     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%7C9cd7e8cece784920f47508d7e7ea3bd8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232865525287816&amp;sdata=rrGREc9fGNSI1lSR6HYSxhfLnN%2BB6JndyEHVdi%2Bz8K4%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%7C9cd7e8cece784920f47508d7e7ea3bd8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232865525287816&amp;sdata=rrGREc9fGNSI1lSR6HYSxhfLnN%2BB6JndyEHVdi%2Bz8K4%3D&amp;reserved=0
    >     > >
    >     >
    >     >
    >
    >
    >
    


Re: royale-asjs build error

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
I believe that the RoyaleUnit Ant tasks will choose the default browser by
default, and I customized Royale's framework Ant scripts to use specific
browsers. As I recall, I check for Chrome first, and if it's not available,
then I try to find Firefox instead. Not all browsers can run our tests
without a web server (IE, for instance), so I kept it limited to two known
good browsers. Maybe in the future, we can integrate a simple web server
into the RoyaleUnit Ant tasks so that they will work well in any browser.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Apr 23, 2020 at 5:55 PM OmPrakash Muppirala <bi...@gmail.com>
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.
>
>
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/1127/console
>
> 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 <ah...@adobe.com.invalid>
> 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" <bi...@gmail.com>
> wrote:
> >
> >     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui <aharui@adobe.com.invalid
> >
> >     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 <bi...@gmail.com>
> >     > Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
> >     > Date: Wednesday, April 22, 2020 at 12:30 AM
> >     > To: Apache Royale Development <de...@royale.apache.org>
> >     > Subject: Re: royale-asjs build error
> >     >
> >     >
> >     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui
> <aharui@adobe.com.invalid
> > >
> >     > 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" <bigosmallm@gmail.com
> > <mailto:
> >     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
> > dev@royale.apache.org
> >     > >
> >     >     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%7C815236e818574366d87a08d7e751fb10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232211604317179&amp;sdata=s5WIBzDL%2Bkf6Z6BNItagaEtUGlubKtoQ6j4j8VcJ9k8%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%7C815236e818574366d87a08d7e751fb10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232211604317179&amp;sdata=s5WIBzDL%2Bkf6Z6BNItagaEtUGlubKtoQ6j4j8VcJ9k8%3D&amp;reserved=0
> >     > >
> >     >
> >     >
> >
> >
> >
>

Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Hmm, I decided to execute royale-asjs on agent1 and it is failing with a
similar but different error message, around the same area.

http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/1127/console

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 <ah...@adobe.com.invalid>
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" <bi...@gmail.com> wrote:
>
>     On Wed, Apr 22, 2020 at 12:36 AM Alex Harui <ah...@adobe.com.invalid>
>     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 <bi...@gmail.com>
>     > Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
>     > Date: Wednesday, April 22, 2020 at 12:30 AM
>     > To: Apache Royale Development <de...@royale.apache.org>
>     > Subject: Re: royale-asjs build error
>     >
>     >
>     > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui <aharui@adobe.com.invalid
> >
>     > 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" <bigosmallm@gmail.com
> <mailto:
>     > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:
> dev@royale.apache.org
>     > >
>     >     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%7C815236e818574366d87a08d7e751fb10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232211604317179&amp;sdata=s5WIBzDL%2Bkf6Z6BNItagaEtUGlubKtoQ6j4j8VcJ9k8%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%7C815236e818574366d87a08d7e751fb10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232211604317179&amp;sdata=s5WIBzDL%2Bkf6Z6BNItagaEtUGlubKtoQ6j4j8VcJ9k8%3D&amp;reserved=0
>     > >
>     >
>     >
>
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <bi...@gmail.com> wrote:

    On Wed, Apr 22, 2020 at 12:36 AM Alex Harui <ah...@adobe.com.invalid>
    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 <bi...@gmail.com>
    > Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
    > Date: Wednesday, April 22, 2020 at 12:30 AM
    > To: Apache Royale Development <de...@royale.apache.org>
    > Subject: Re: royale-asjs build error
    >
    >
    > On Tue, Apr 21, 2020 at 9:01 PM Alex Harui <ah...@adobe.com.invalid>
    > 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" <bigosmallm@gmail.com<mailto:
    > bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:dev@royale.apache.org
    > >
    >     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%7C815236e818574366d87a08d7e751fb10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232211604317179&amp;sdata=s5WIBzDL%2Bkf6Z6BNItagaEtUGlubKtoQ6j4j8VcJ9k8%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%7C815236e818574366d87a08d7e751fb10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637232211604317179&amp;sdata=s5WIBzDL%2Bkf6Z6BNItagaEtUGlubKtoQ6j4j8VcJ9k8%3D&amp;reserved=0
    > >
    >
    >
    


Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Wed, Apr 22, 2020 at 12:36 AM Alex Harui <ah...@adobe.com.invalid>
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 <bi...@gmail.com>
> Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
> Date: Wednesday, April 22, 2020 at 12:30 AM
> To: Apache Royale Development <de...@royale.apache.org>
> Subject: Re: royale-asjs build error
>
>
> On Tue, Apr 21, 2020 at 9:01 PM Alex Harui <ah...@adobe.com.invalid>
> 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" <bigosmallm@gmail.com<mailto:
> bigosmallm@gmail.com>> 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: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
>     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%7C98310a82f8b549d3548208d7e651396e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637231108845450235&amp;sdata=xICB8hqrWfDYFd13%2FxD3EKbEyWKFDThs4FU2YAdQHVg%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&data=02%7C01%7Caharui%40adobe.com%7C4ae3afae7ed84a95311c08d7e68f00c0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637231374181627001&sdata=0oO%2BQR4sQTK3r3PgxPYcSGf34w3rz0kuAWuIjSmRf2Q%3D&reserved=0
> >
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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.

Good luck,
-Alex

From: OmPrakash Muppirala <bi...@gmail.com>
Reply-To: "dev@royale.apache.org" <de...@royale.apache.org>
Date: Wednesday, April 22, 2020 at 12:30 AM
To: Apache Royale Development <de...@royale.apache.org>
Subject: Re: royale-asjs build error


On Tue, Apr 21, 2020 at 9:01 PM Alex Harui <ah...@adobe.com.invalid> 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" <bi...@gmail.com>> 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: dev@royale.apache.org<ma...@royale.apache.org>
    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%7C98310a82f8b549d3548208d7e651396e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637231108845450235&amp;sdata=xICB8hqrWfDYFd13%2FxD3EKbEyWKFDThs4FU2YAdQHVg%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&data=02%7C01%7Caharui%40adobe.com%7C4ae3afae7ed84a95311c08d7e68f00c0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637231374181627001&sdata=0oO%2BQR4sQTK3r3PgxPYcSGf34w3rz0kuAWuIjSmRf2Q%3D&reserved=0>


Re: royale-asjs build error

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Tue, Apr 21, 2020 at 9:01 PM Alex Harui <ah...@adobe.com.invalid> wrote:

> Flash Player Trust files?
>
>
I copied these two files from he master Jenkins server.  It still seems to
fail on the same error:


[image: image.png]





> On 4/21/20, 5:08 PM, "OmPrakash Muppirala" <bi...@gmail.com> 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: dev@royale.apache.org
>     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%7C98310a82f8b549d3548208d7e651396e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637231108845450235&amp;sdata=xICB8hqrWfDYFd13%2FxD3EKbEyWKFDThs4FU2YAdQHVg%3D&amp;reserved=0
>
>
>

Re: royale-asjs build error

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Flash Player Trust files?

On 4/21/20, 5:08 PM, "OmPrakash Muppirala" <bi...@gmail.com> 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: dev@royale.apache.org
    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%7C98310a82f8b549d3548208d7e651396e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637231108845450235&amp;sdata=xICB8hqrWfDYFd13%2FxD3EKbEyWKFDThs4FU2YAdQHVg%3D&amp;reserved=0