FlexUnit4.1 B2 upgrade breaks CI system - flexUnit.cfg issues?


folks,

 

we have working ci system using binaries fu4.0 development snapshots.  when last checked releases page, saw 4.0 stable out, 4.1 beta 1 , 2.  testers within company requesting 4.1 beta 2, thought see if move our binaries directly level. able try out 4.1 b2 ci functionality on windows xp machine, after few attempts... (i saw weird failures @ first).  had installed flash player 10, , had made file type assocation necessary ant task able invoke player.  so, figured replace fu binaries upgrade.  did that, , testbed went working broken. failures seemed point local trusted file not being available. not sure why have been problem, kept trying different things hoping work.  not sure how got working, recall copying 4.1b2 binaries place (replacing older 4.0 dev snapshots), deleting flexunit.cfg file under c:\winnt\system32\macromed\flash\flashplayertrust, , rebooting machine.

 

i thought weird issues had seen fluke.i not think true...

 

after getting 4.1 b2 work on winxp desktop, thought try out on 1 of production ci servers, runs windows server 2008. shutdown system, replaced binaries, restarted machine, , seeing similar problem.

 

here observing - can please confirm these findings , explain why happening , how can fix (the machine reboot did not work on server 2008)?

 

the ant task times out waiting results: "the following error occurred while executing line: :  java.util.concurrent.executionexception: socket timeout waiting flexunit  report."

 

apparently local trust folder location flexunit.cfg written has moved 4.1 new location on disk. used here (winxp):

    c:\winnt\system32\macromed\flash\flashplayertrust\

new location (winxp):

     c:\documents , settings\<user>\application data\macromedia\flash player\#security\flashplayertrust\

 

the locations on win server 2008 - old:

     c:\windows\system32\macromed\flash\flashplayertrust\

new:

     c:\users\<user>\appdata\roaming\macromedia\flash  player\#security\flashplayertrust\

 

i surmised errors provided in process log, , watching flexunit.cfg file written disk.  on winxp machine, flexunit.cfg started written new location new 4.1 b2 binaries expect it.  on win 2008, flexunit.cfg no longer being written either old or new locations!  watched both folders while ant process ran, , neither updated.  here snippet of output (with fu 4.1 b2 binaries). note filenotfoundexception:

 

flexunit player target: flash
validating task  attributes ...
generating default values ...
using default working dir  [c:\djte\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\source\flex]
using  following settings test run:
flex_home:  [c:\ifabs_de\dev\vert-d2flxcmn23\203300.32.0.20100711202037_d2flxcmn23]
haltonfailure:  [false]
headless: [false]
display: [99]
localtrusted: [true]
player:  [flash]
port: [1024]
swf:  [c:\djte\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\build\sas.commons.se rvices.nls.collation.tests.unit.swf]
timeout:  [1800000ms]
todir:  [c:\djte\sas.commons.services.nls.collation_swc\d2flxcmn23\reports\xml]
setting  server process ...
starting server ...
os: [windows]
launching  player:
java.io.filenotfoundexception:  c:\users\myuser\appdata\roaming\macromedia\flash  player\#security\flashplayertrust\flexunit.cfg (the system cannot find path  specified)
at java.io.fileoutputstream.open(native  method)
at  java.io.fileoutputstream.(fileoutputstream.java:179)
at java.io.filewriter.(filewriter.java:90)
at org.flexunit.ant.launcher.commands.player.trustfile.write(unknown  source)
at  org.flexunit.ant.launcher.commands.player.trustfile.add(unknown  source)
at  org.flexunit.ant.launcher.commands.player.flashplayercommand.launch(unknown  source)
at  org.flexunit.ant.launcher.flexunitlauncher.runtests(unknown  source)
at  org.flexunit.ant.tasks.testrun.launchtestsuite(unknown source)
at org.flexunit.ant.tasks.testrun.run(unknown  source)
at  org.flexunit.ant.tasks.flexunittask.execute(unknown source)
at sun.reflect.nativemethodaccessorimpl.invoke0(native  method)
at  sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at  org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106)
at org.apache.tools.ant.task.perform(task.java:348)
at  groovy.util.antbuilder.nodecompleted(antbuilder.java:212)
at  groovy.util.buildersupport.doinvokemethod(buildersupport.java:147)
at  groovy.util.antbuilder.doinvokemethod(antbuilder.java:162)
at  groovy.util.buildersupport.invokemethod(buildersupport.java:64)
at  org.codehaus.groovy.runtime.callsite.pogometaclasssite.call(pogometaclasssite.java:45)
opening  server socket on port [1024].
at  org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:40)
waiting  client connection ...
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:117)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:125)
at  com.sas.djte.library.flexprocessor.runflextests(flexprocessor.groovy:315)
at com.sas.djte.library.flexprocessor$runflextests.call(unknown  source)
at  org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:40)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:117)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:125)
at  com.sas.djte.library.testbuilder.smoketest(testbuilder.groovy:360)
at  com.sas.djte.library.testbuilder.this$2$smoketest(testbuilder.groovy)
at  com.sas.djte.library.testbuilder$this$2$smoketest.callcurrent(unknown  source)
at  org.codehaus.groovy.runtime.callsite.callsitearray.defaultcallcurrent(callsitearray.java: 44)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.callcurrent(abstractcallsite.java:1 43)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.callcurrent(abstractcallsite.java:1 51)
at  com.sas.djte.library.testbuilder.runtest(testbuilder.groovy:87)
at  com.sas.djte.library.testbuilder.this$2$runtest(testbuilder.groovy)
at  com.sas.djte.library.testbuilder$this$2$runtest.callcurrent(unknown  source)
at  org.codehaus.groovy.runtime.callsite.callsitearray.defaultcallcurrent(callsitearray.java: 44)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.callcurrent(abstractcallsite.java:1 43)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.callcurrent(abstractcallsite.java:1 51)
at  com.sas.djte.library.testbuilder.build(testbuilder.groovy:71)
at com.sas.djte.library.testbuilder$build.call(unknown  source)
at  org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:40)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:117)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:125)
at default.run(default.groovy:5)
at  org.codehaus.groovy.ant.groovy.parseandrunscript(groovy.java:425)
at  org.codehaus.groovy.ant.groovy.execgroovy(groovy.java:404)
at  org.codehaus.groovy.ant.groovy.execute(groovy.java:279)
at  org.apache.tools.ant.unknownelement.execute(unknownelement.java:288)
at sun.reflect.generatedmethodaccessor1.invoke(unknown  source)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
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.taskdefs.sequential.execute(sequential.java:62)
at  org.apache.tools.ant.unknownelement.execute(unknownelement.java:288)
at sun.reflect.generatedmethodaccessor1.invoke(unknown  source)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
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.taskdefs.macroinstance.execute(macroinstance.java:394)
at  org.apache.tools.ant.unknownelement.execute(unknownelement.java:288)
at sun.reflect.generatedmethodaccessor1.invoke(unknown  source)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
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:357)
at  org.apache.tools.ant.target.performtasks(target.java:385)
at  org.apache.tools.ant.project.executesortedtargets(project.java:1337)
at  org.apache.tools.ant.helper.singlecheckexecutor.executetargets(singlecheckexecutor.java:3 8)
at  org.apache.tools.ant.project.executetargets(project.java:1189)
at  org.apache.tools.ant.taskdefs.ant.execute(ant.java:416)
at sun.reflect.nativemethodaccessorimpl.invoke0(native  method)
at  sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at  org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106)
at org.apache.tools.ant.task.perform(task.java:348)
at  groovy.util.antbuilder.nodecompleted(antbuilder.java:212)
at  groovy.util.buildersupport.doinvokemethod(buildersupport.java:147)
at  groovy.util.antbuilder.doinvokemethod(antbuilder.java:162)
at  groovy.util.buildersupport.invokemethod(buildersupport.java:64)
at  org.codehaus.groovy.runtime.callsite.pogometaclasssite.call(pogometaclasssite.java:45)
at  org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:40)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:117)
at  org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:129)
at  embedded_script_in_c__program_files_djte_import_dot_macrodef.run(embedded_script_in_c__pr ogram_files_djte_import_dot_macrodef:18)
at  org.codehaus.groovy.ant.groovy.parseandrunscript(groovy.java:425)
at  org.codehaus.groovy.ant.groovy.execgroovy(groovy.java:404)
at  org.codehaus.groovy.ant.groovy.execute(groovy.java:279)
at  org.apache.tools.ant.unknownelement.execute(unknownelement.java:288)
at sun.reflect.generatedmethodaccessor1.invoke(unknown  source)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
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:357)
at  org.apache.tools.ant.target.performtasks(target.java:385)
at  org.apache.tools.ant.project.executesortedtargets(project.java:1337)
at  org.apache.tools.ant.helper.singlecheckexecutor.executetargets(singlecheckexecutor.java:3 8)
at  org.apache.tools.ant.project.executetargets(project.java:1189)
at  org.apache.tools.ant.taskdefs.ant.execute(ant.java:416)
at  org.apache.tools.ant.taskdefs.calltarget.execute(calltarget.java:105)
at  org.apache.tools.ant.unknownelement.execute(unknownelement.java:288)
at sun.reflect.generatedmethodaccessor1.invoke(unknown  source)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
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.taskdefs.sequential.execute(sequential.java:62)
at sun.reflect.nativemethodaccessorimpl.invoke0(native  method)
at  sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at  org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106)
at org.apache.tools.ant.task.perform(task.java:348)
at  net.sf.antcontrib.logic.trycatchtask.execute(trycatchtask.java:207)
at  org.apache.tools.ant.unknownelement.execute(unknownelement.java:288)
at sun.reflect.generatedmethodaccessor1.invoke(unknown  source)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
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.taskdefs.sequential.execute(sequential.java:62)
at sun.reflect.nativemethodaccessorimpl.invoke0(native  method)
at  sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at  org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106)
at org.apache.tools.ant.task.perform(task.java:348)
at  net.sf.antcontrib.logic.trycatchtask.execute(trycatchtask.java:207)
at  org.apache.tools.ant.unknownelement.execute(unknownelement.java:288)
at sun.reflect.generatedmethodaccessor1.invoke(unknown  source)
at  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
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:357)
at  org.apache.tools.ant.target.performtasks(target.java:385)
at  org.apache.tools.ant.project.executesortedtargets(project.java:1337)
at  org.apache.tools.ant.project.executetarget(project.java:1306)
at  org.apache.tools.ant.helper.defaultexecutor.executetargets(defaultexecutor.java:41)
at  org.apache.tools.ant.project.executetargets(project.java:1189)
at org.apache.tools.ant.main.runbuild(main.java:758)
at org.apache.tools.ant.main.startant(main.java:217)
at  org.apache.tools.ant.launch.launcher.run(launcher.java:257)
at  org.apache.tools.ant.launch.launcher.main(launcher.java:104)
updated  local trust file @ [c:\users\myuser\appdata\roaming\macromedia\flash  player\#security\flashplayertrust\flexunit.cfg], added  [c:\djte\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\build].
executing  'rundll32' with  arguments:
'url.dll,fileprotocolhandler'
'c:\djte\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\build\sas.commons.ser vices.nls.collation.tests.unit.swf'
the  ' characters around executable , arguments are
not part of the  command.

 

stopping server ...
end of test data reached, sending  acknowledgement player ...
closing client connection ...
closing server  on port [1024] ...

i faced issue days before.

try creating folder hand flash player\#security\flashplayertrust\ user running ci. (i'm using hudson).

then execute build again.



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support