Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA36810C0F for ; Tue, 10 Dec 2013 21:47:04 +0000 (UTC) Received: (qmail 3045 invoked by uid 500); 10 Dec 2013 21:47:04 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 3015 invoked by uid 500); 10 Dec 2013 21:47:04 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 3007 invoked by uid 99); 10 Dec 2013 21:47:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 21:47:04 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.234 as permitted sender) Received: from [64.18.1.234] (HELO exprod6og119.obsmtp.com) (64.18.1.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 21:46:56 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob119.postini.com ([64.18.5.12]) with SMTP ID DSNKUqeLum+TO5uD9ghAdA7VjA3ESGR8ZR/F@postini.com; Tue, 10 Dec 2013 13:46:35 PST Received: from inner-relay-2.corp.adobe.com (mail-321.sea.adobe.com [153.32.1.52]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id rBALkWpT021289 for ; Tue, 10 Dec 2013 13:46:33 -0800 (PST) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id rBALkW3N012668 for ; Tue, 10 Dec 2013 13:46:32 -0800 (PST) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Tue, 10 Dec 2013 13:46:32 -0800 From: Alex Harui To: "dev@flex.apache.org" Date: Tue, 10 Dec 2013 13:46:29 -0800 Subject: Re: [Builds/Jenkins] Help and advise needed Thread-Topic: [Builds/Jenkins] Help and advise needed Thread-Index: Ac718UpObbPxXKw7RraNqEf6hERKTQ== Message-ID: In-Reply-To: <2095F5EBE04D59409DFCE91FFCEBF7AF3F554B81@EXMBX05.netplexity.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.6.130613 acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Interesting=8A Is there a way to configure a slave so it doesn't get a window? Maybe Infra changed some default on builds.a.o. On 12/10/13 1:44 PM, "Maurice Amsellem" wrote: >Now run the same build on a slave node (that gets a windows "jenkins >slave agent", that is visible on the desktop ): > >Remote build on windowsSlave1 in workspace >D:\Jenkins\node1\workspace\workspace\Test_pixel_bender >[framework] $ cmd.exe /C '"ant.bat -file build.xml pixelbender-compile && >exit %%ERRORLEVEL%%"' >ANT_OPTS=3D-Xms256m -Xmx1024m -XX:PermSize=3D64m -XX:MaxPermSize=3D512m >-XX:MaxHeapSize=3D512m -XX:+CMSClassUnloadingEnabled >-Djava.net.preferIPv4Stack=3Dtrue >Buildfile:=20 >D:\ApacheFlex\git_source\flex-sdk\frameworks\projects\framework\build.xml > >pixelbender-compile: > [exec] Device: 005EC1C4 has video RAM(MB): 512 > [exec] Vendor string: NVIDIA Corporation > [exec] Renderer string: NVS 4200M/PCI/SSE2 > [exec] Version string: 3.0.0 > [exec]=20 > [exec] OpenGL version as determined by Extensionator... > [exec] OpenGL Version 3.0 > [exec] Has NPOT support: TRUE > [exec] Has Framebuffer Obeject Extension support: TRUE > [exec] Completed shader test! > [exec] Return code: 7 > [exec] Result: 7 >BUILD SUCCESSFUL >Total time: 8 seconds >Finished: SUCCESS > >Well, that's a difference. > >Maurice=20 > >-----Message d'origine----- >De : Alex Harui [mailto:aharui@adobe.com] >Envoy=E9 : mardi 10 d=E9cembre 2013 22:40 >=C0 : dev@flex.apache.org >Objet : Re: [Builds/Jenkins] Help and advise needed > >Nice. Thanks for sticking with it. > >On 12/10/13 1:21 PM, "Maurice Amsellem" >wrote: > >>So I just installed Jenkins on my PC, running inside Tomcat 6 64bit ( >>Tomcat is running as a Windows Service). >> >>- Created a simple job, on the "master" node, than starts >>flex-sdk\frameworks\projects\framework\build.xml "pixelbender-compile" >>target >>- Jenkins output of the job: >> >>pixelbender-compile: >> [exec] AIF Internal exception >> [exec] Device: 008BB2BC has video RAM(MB): 3844 >> [exec] Device: 008BB2BC has video RAM(MB): 512 >> [exec] Return code: 1 >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> [exec] ERROR: AIF Internal exception >> [exec] Result: 1 >> >>So I am getting the same error. >> >>Om says "master" does not get a window, so this result seems to be >>normal. >> >>I am trying now to create a slave node and run the job on it. >> >>Maurice >> >>-----Message d'origine----- >>De : Maurice Amsellem [mailto:maurice.amsellem@systar.com] >>Envoy=E9 : mardi 10 d=E9cembre 2013 22:07 >>=C0 : dev@flex.apache.org >>Objet : RE: [Builds/Jenkins] Help and advise needed >> >>It was from the command line (cmd ant ), so gets a window. >> >>I am trying now from Jenkins service, but needs to install it first... >> >>Maurice >> >>-----Message d'origine----- >>De : omuppi1@gmail.com [mailto:omuppi1@gmail.com] De la part de >>OmPrakash Muppirala Envoy=E9 : mardi 10 d=E9cembre 2013 20:49 =C0 : >>dev@flex.apache.org Objet : Re: [Builds/Jenkins] Help and advise needed >> >>Maurice, >> >>When you ran it on your machine, was it on Cygwin or from Jenkins? >>I think there is a difference. On Jenkins, the main executor (master) >>does not get a window. Only slave executors are configured to get a >>window. >>Whereas Cygwin does not have such restrictions. >> >>Thanks, >>Om >> >> >>On Tue, Dec 10, 2013 at 11:46 AM, Alex Harui wrote: >> >>> I have no idea what to do with that information. But thanks for >>>trying. >>> >>> On 12/10/13 11:44 AM, "Maurice Amsellem" >>> >>> wrote: >>> >>> >So this is the output from the b.a.o box: >>> > >>> >pixelbender-compile: >>> > [exec] Device: 004C5F24 has video RAM(MB): 3736 >>> > [exec] AIF Internal exception >>> > [exec] Return code: 1 >>> > [exec] Result: 1 >>> > >>> >To be compared to the output on my PC: >>> >pixelbender-compile >>> >exec >>> >Device: 00633CEC has video RAM(MB): 512 >>> >Vendor string: NVIDIA Corporation >>> >Renderer string: NVS 4200M/PCI/SSE2 >>> >Version string: 3.0.0 >>> > >>> >OpenGL version as determined by Extensionator... >>> >OpenGL Version 3.0 >>> >Has NPOT support: TRUE >>> >Has Framebuffer Obeject Extension support: TRUE Completed shader >>> >test! >>> >Return code: 7 >>> >Result: 7 >>> >Exec >>> > >>> >That does not tell much, except that there seems to be an issue with >>> >accessing the GPU. >>> > >>> >Shall I un-commit the change now, or do you want to perform more >>> >tests >>>? >>> > >>> >Maurice >>> > >>> >-----Message d'origine----- >>> >De : Maurice Amsellem [mailto:maurice.amsellem@systar.com] >>> >Envoy=E9 : mardi 10 d=E9cembre 2013 20:37 =C0 : dev@flex.apache.org Ob= jet : >>> >RE: [Builds/Jenkins] Help and advise needed >>> > >>> >I don't have a Mac with ApacheFlex SDK for testing. >>> > >>> >Can you try on your side, please ? >>> > >>> >-----Message d'origine----- >>> >De : Alex Harui [mailto:aharui@adobe.com] Envoy=E9 : mardi 10 d=E9cemb= re >>> >2013 >>> >20:34 =C0 : dev@flex.apache.org Objet : Re: [Builds/Jenkins] Help and >>> >advise needed >>> > >>> >Won't that break Mac builds? >>> > >>> >On 12/10/13 11:32 AM, "Maurice Amsellem" >>> > >>> >wrote: >>> > >>> >>Alex, it's one line to change in the build.xml >>> >> >>> >> >>> >> >>> >>I will give it a try and we will know in 15 min. >>> >> >>> >>I am sure the result will be interesting. >>> >> >>> >>Anyway, it can't hurt ;-) >>> >> >>> >>Maurice >>> >> >>> >>-----Message d'origine----- >>> >>De : Alex Harui [mailto:aharui@adobe.com] Envoy=E9 : mardi 10 >>> >>d=E9cembre >>> >>2013 20:29 =C0 : dev@flex.apache.org Objet : Re: [Builds/Jenkins] >>> >>Help and advise needed >>> >> >>> >>I think I'll wait to see how Gavin responds to Erik's latest request. >>> >> >>> >>BTW, thanks for finding out about the tool. >>> >> >>> >>-Alex >>> >> >>> >>On 12/10/13 11:27 AM, "Maurice Amsellem" >>> >> >>> >>wrote: >>> >> >>> >>>Sure, if you can ask him. >>> >>> >>> >>>Maurice >>> >>> >>> >>>-----Message d'origine----- >>> >>>De : Alex Harui [mailto:aharui@adobe.com] Envoy=E9 : mardi 10 >>> >>>d=E9cembre >>> >>>2013 20:26 =C0 : dev@flex.apache.org Objet : Re: [Builds/Jenkins] >>> >>>Help and advise needed >>> >>> >>> >>>Might be simpler just to ask Gavin to run the tool? >>> >>> >>> >>>On 12/10/13 11:12 AM, "Maurice Amsellem" >>> >>> >>> >>>wrote: >>> >>> >>> >>>>There is a utility in pixel bender toolkit directory called >>> >>>>"sniffer_gpu.exe" that check the presence and version of OpenGL: >>> >>>> >>> >>>>Console output on my laptop is below: >>> >>>> >>> >>>>C:\Program Files (x86)\Adobe\Adobe Utilities - CS5\Pixel Bender >>> >>>>Toolkit >>> >>>>2>sniffer_gpu.exe >>> >>>>Device: 0058A9F4 has video RAM(MB): 512 >>> >>>>Vendor string: NVIDIA Corporation >>> >>>>Renderer string: NVS 4200M/PCI/SSE2 >>> >>>>Version string: 3.0.0 >>> >>>> >>> >>>>OpenGL version as determined by Extensionator... >>> >>>>OpenGL Version 3.0 >>> >>>>Has NPOT support: TRUE >>> >>>>Has Framebuffer Obeject Extension support: TRUE Completed shader >>>test! >>> >>>>Return code: 7 >>> >>>> >>> >>>>Maybe we could temporarily modify the build to run this utility >>> >>>>and show the output on the b.a.o vm. >>> >>>> >>> >>>>WDYT ? >>> >>>> >>> >>>>Maurice >>> >>>> >>> >>>>-----Message d'origine----- >>> >>>>De : Alex Harui [mailto:aharui@adobe.com] Envoy=E9 : mardi 10 >>> >>>>d=E9cembre >>> >>>>2013 18:15 =C0 : dev@flex.apache.org Objet : Re: [Builds/Jenkins] >>> >>>>Help and advise needed >>> >>>> >>> >>>>I don't think we actually know the cause of the problem. I am >>> >>>>going to continue to spend cycles to try to find out though. >>> >>>> >>> >>>>It would be nice to have an alternative to builds.a.o. I'm not >>> >>>>sure if it will cost Om money to run a builds server. >>> >>>> >>> >>>>-Alex >>> >>>> >>> >>>>On 12/10/13 2:01 AM, "Maurice Amsellem" >>> >>>> >>> >>>>wrote: >>> >>>> >>> >>>>>I understand that. >>> >>>>> >>> >>>>>Actually, my "understanding" on this issue was that pixel bender >>> >>>>>compiler required some sort of hardware configuration (OpenGL, >>> >>>>>etc...) that were not present on the b.a.o. new Windows Jenkins >>> >>>>>slave node, so that's why the build was failing, and the Apache >>> >>>>>Infra was reluctant to let us modify anything, or even access >>> >>>>>the VM ourselves. >>> >>>>>So that's why I was proposing a "software only" solution. >>> >>>>> >>> >>>>>Now, it seems from what Om is saying that we can set up and use >>> >>>>>our own Jenkins slave node VM. >>> >>>>> >>> >>>>>That, of course, is much preferable... >>> >>>>> >>> >>>>>Maurice >>> >>>>> >>> >>>>>-----Message d'origine----- >>> >>>>>De : Erik de Bruin [mailto:erik@ixsoftware.nl] Envoy=E9 : mardi 10 >>> >>>>>d=E9cembre 2013 10:44 =C0 : dev@flex.apache.org Objet : Re: >>> >>>>>[Builds/Jenkins] Help and advise needed >>> >>>>> >>> >>>>>Maurice, >>> >>>>> >>> >>>>>Your help is very much appreciated! >>> >>>>> >>> >>>>>I put "legal" in quotes, the issue is not really one of the law, >>> >>>>>more of the rules. An Apache release is supposed to be 'source >>> >>>>>only', and we if we can produce needed binaries from source, we >>> >>>>>keep only the source, not the artefacts themselves in the repo. >>> >>>>> >>> >>>>> >>> >>>>>EdB >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>>On Tue, Dec 10, 2013 at 10:34 AM, Maurice Amsellem >>> >>>>> wrote: >>> >>>>>>>In addition to the various "legal" issues with binaries in the >>>repo. >>> >>>>>> I understand it's not a good idea to have binaries in the >>> >>>>>>repo, so I won't insist. >>> >>>>>> But please can you explain what are the legal issues of having >>> >>>>>>binaries in the repo? Is this because of Adobe, or ASF rules ? >>> >>>>>> >>> >>>>>> On a side note, I was just trying to help, with my limited >>> >>>>>> understanding and knowledge, and because the email thread was >>> >>>>>> titled "help and advise needed" ;-) >>> >>>>>> >>> >>>>>> Regards, >>> >>>>>> >>> >>>>>> Maurice >>> >>>>>> >>> >>>>>> -----Message d'origine----- >>> >>>>>> De : Erik de Bruin [mailto:erik@ixsoftware.nl] Envoy=E9 : mardi >>> >>>>>> 10 d=E9cembre 2013 09:12 =C0 : dev@flex.apache.org Objet : Re: >>> >>>>>> [Builds/Jenkins] Help and advise needed >>> >>>>>> >>> >>>>>> In addition to the various "legal" issues with binaries in the >>> >>>>>>repo, we'd be masking the cause of this failure. In order to >>> >>>>>>prevent further deterioration of the build process, we need to >>> >>>>>>figure out what went wrong and fix it. >>> >>>>>> >>> >>>>>> EdB >>> >>>>>> >>> >>>>>> PS. Thanks for leaving the keyboard on the Mustella VM set to >>>FR... >>> >>>>>> Took me while to figure out that I hadn't gone insane or if my >>> >>>>>> keyboard was broken ;-) >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> On Tue, Dec 10, 2013 at 9:04 AM, Maurice Amsellem >>> >>>>>> wrote: >>> >>>>>>>> someone who does use the pbj's will grab the nightly and >>>complain. >>> >>>>>>> >>> >>>>>>> I don't understand. >>> >>>>>>> Why would someone complain if the pbj's are in the nightly? >>> >>>>>>> >>> >>>>>>> [From the other emai] >>> >>>>>>>>Apache repos aren't supposed to contain compiled code. The >>> >>>>>>>>pbj files were removed during the initial release audit. >>> >>>>>>>>I don't think a workaround can involve checking in the pbj >>>files. >>> >>>>>>>>But we could borrow them from a prior release package >>>temporarily. >>> >>>>>>> >>> >>>>>>>>So we could make the compilation conditional on a env >>> >>>>>>>>parameter, and set that in the Jenkins job accordingly? >>> >>>>>>>>Yes but ... >>> >>>>>>> >>> >>>>>>> Alex, the conversation is getting out synch, so I am not sure >>> >>>>>>>that I have understood what you said. >>> >>>>>>> >>> >>>>>>> So can we include the pbj in the repo, and have a parameter >>> >>>>>>>to conditionally compile the pbj ? >>> >>>>>>> - This parameter would be set by default to do the >>> >>>>>>>compilation (so that folks can recompile) >>> >>>>>>> - and turned off on the b.a.o vm, with pre-compiled pbj's. >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> Maurice >>> >>>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> -- >>> >>>>>> Ix Multimedia Software >>> >>>>>> >>> >>>>>> Jan Luykenstraat 27 >>> >>>>>> 3521 VB Utrecht >>> >>>>>> >>> >>>>>> T. 06-51952295 >>> >>>>>> I. www.ixsoftware.nl >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>>-- >>> >>>>>Ix Multimedia Software >>> >>>>> >>> >>>>>Jan Luykenstraat 27 >>> >>>>>3521 VB Utrecht >>> >>>>> >>> >>>>>T. 06-51952295 >>> >>>>>I. www.ixsoftware.nl >>> >>>> >>> >>> >>> >> >>> > >>> >>> >