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 <bigosma...@gmail.com> wrote: > > > On Fri, Apr 24, 2020 at 5:43 PM Alex Harui <aha...@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" <aha...@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" <bigosma...@gmail.com> >> wrote: >> >> On Fri, Apr 24, 2020 at 12:14 AM Alex Harui >> <aha...@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" <aha...@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" < >> bigosma...@gmail.com> >> > wrote: >> > >> > On Thu, Apr 23, 2020 at 10:20 PM Alex Harui >> > <aha...@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" < >> bigosma...@gmail.com> >> > wrote: >> > > >> > > On Thu, Apr 23, 2020 at 8:55 PM Alex Harui >> > <aha...@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" < >> > bigosma...@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&data=02%7C01%7Caharui%40adobe.com%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&sdata=OeOracwBoODdtjNi4jUE2MapqRWECohqcmxKSddmvvs%3D&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 >> > > <aha...@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" < >> > > bigosma...@gmail.com> >> > > > wrote: >> > > > > >> > > > > On Wed, Apr 22, 2020 at 12:36 AM Alex >> Harui >> > > > <aha...@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 < >> > bigosma...@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 >> > > > <aha...@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" < >> > > > bigosma...@gmail.com >> > > > > <mailto: >> > > > > > bigosma...@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&data=02%7C01%7Caharui%40adobe.com%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998325186&sdata=GdV3HlJCLA9mKNhpuSZ%2FmQloUV1g6HjK1hQlkOXbc14%3D&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%7Ccc3369b5d6d3478b307208d7e88656ff%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637233535998335192&sdata=CCjCMUzsbO1hgH92XgNe4Lt%2BHCr%2BtxCepmS%2BfKaJJoU%3D&reserved=0 >> > > > > > > >> > > > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > >> > > > >> > > > >> > > >> > > >> > > >> > >> > >> > >> > >> > >> >> >> >> >>