Coder Social home page Coder Social logo

teamcityfitnesseplugin's People

Contributors

ekibort avatar marcosnz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

teamcityfitnesseplugin's Issues

Trying to run via teamcity 8.1.2

On the client, I can see the jar start up on port 8080, but then that's it. TC times out after 5 minutes.

Fitnesse: c:\Fitnesse\fitnesse-standalone.jar
Port: 8080
Test or suite relative url: FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.TestBackwardsSearchWidget?test

Step 1/1: Fitnesse runer (5m:02s)
[13:14:43][Step 1/1] FitNesse runner executing.
[13:14:43][Step 1/1] Running fitnesse use cmd 'java -DCCFITDIR="c:\Fitnesse" -jar c:\Fitnesse\fitnesse-standalone.jar -p 8080' in 'c:\Fitnesse'
[13:14:43][Step 1/1] Fitnesse runned java.lang.ProcessImpl@13d95a7d
[13:14:45][Step 1/1] [WAIT] Bootstrapping FitNesse, the fully integrated standalone wiki and acceptance testing framework.
[13:19:42][Step 1/1] The build Fitnesse runner #16.07.0.17 {builId=1686574} has been running for more than 5 minutes. Terminating...
[13:19:45][Step 1/1] Dumping threads before termination:
[13:19:45][Step 1/1] PID: 3548, PPID: 2100, Command line: java -DCCFITDIR="c:\Fitnesse" -jar c:\Fitnesse\fitnesse-standalone.jar -p 8080
[13:19:45]
[Step 1/1] 2016-06-17 13:19:02
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.75-b04 mixed mode):

"Thread-3" prio=6 tid=0x00000000088c3000 nid=0x7bc waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"DestroyJavaVM" prio=6 tid=0x0000000000c1e800 nid=0xc58 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"Thread-1" prio=6 tid=0x00000000089ed800 nid=0x590 runnable [0x00000000092bf000]
java.lang.Thread.State: RUNNABLE
at java.net.DualStackPlainSocketImpl.accept0(Native Method)
at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
at java.net.PlainSocketImpl.accept(Unknown Source)
- locked <0x00000000eb312b38> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at fitnesse.socketservice.SocketService.serviceThread(SocketService.java:60)
at fitnesse.socketservice.SocketService.access$000(SocketService.java:15)
at fitnesse.socketservice.SocketService$1.run(SocketService.java:32)
at java.lang.Thread.run(Unknown Source)

"Service Thread" daemon prio=6 tid=0x0000000006c4a000 nid=0xe3c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" daemon prio=10 tid=0x0000000006c37000 nid=0xc44 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" daemon prio=10 tid=0x0000000006c33800 nid=0x64 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x0000000006c32800 nid=0xd74 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x0000000006c2f000 nid=0xc24 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x0000000006bfc800 nid=0x628 in Object.wait() [0x0000000007fbf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000ece28b50> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000ece28b50> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Reference Handler" daemon prio=10 tid=0x0000000006bf3800 nid=0xabc in Object.wait() [0x0000000007ebf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000ece287a8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0x00000000ece287a8> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x0000000006bef800 nid=0xf78 runnable

"GC task thread#0 (ParallelGC)" prio=6 tid=0x0000000000c66000 nid=0x7a0 runnable

"GC task thread#1 (ParallelGC)" prio=6 tid=0x0000000000c68000 nid=0xae0 runnable

"GC task thread#2 (ParallelGC)" prio=6 tid=0x0000000000c6a000 nid=0xa8c runnable

"GC task thread#3 (ParallelGC)" prio=6 tid=0x0000000000c6b800 nid=0x5d4 runnable

"VM Periodic Task Thread" prio=10 tid=0x0000000006c5c800 nid=0xb24 waiting on condition

[13:19:45][Step 1/1]
[13:19:45][Step 1/1] Step Fitnesse runer interrupted

Path to formatting file for output xml

How I mend in the title I am missing a path property where I can set the path to the formatting the output xml (e.g. xslt to get a nice html as result).

Alternatively (or in addition) an option to get an 'auto' formatted output would be also great!

java.lang.IllegalArgumentException: Null blockName on ?test links

Looks like there is a defect in parsing link?test steps in TeamCity 8.1.2.

All the way, when i'm trying to get results from build step which doing ?test page i getting such error:
[Step 6/9] java.lang.IllegalArgumentException: Null blockName
...

This error brings TC to not to show any tests and just saying that build was seccessfull.

When i'm runing same test but thru ?suite i'm getting correct results.

If any additional information needed, just say what you need.

Fitnesse runner step not in list

hi we are restricted to add plugin to agent only. I have added agents Fitness.zip from dist in plugins of my agent but I am not able to see Fitnesse runner step in list of build steps. I can see plugin is added as per logs during restart. can you help please ?

Teamcity

I have compiled and copied the plugin in the %USERPROFILE%/.BuildServer/plugins
and restarted the services teamcity server and agent
I still don't see "Fitnesse runer" while adding a build step in Teamcity
using TeamCity Professional 9.1.7 (build 37573)

Can we have a ready built plugin.

Can we have a ready built plugin. I haven't been a java developer for a long time and don't need the tools on my machine for anything so would appreciate not having to pollute my computer with JAVA and ANT just to build the zip file

Error on Linux agent

Hello. When I try to launch FitNesse runner under Linux agent, FitNesse could not be started.
Th reason is:
Runtime.getRuntime().exec(cmdFitnesse, null, new File(rootFolder));
where 'cmdFitnesse' contains command to run jar file and this command is surrounded by double-quotes("). When I remove double quotes, it starts working like a charm. Another problem with that: if I remove quotes, path to jar-file must not contain spaces.

Enable build on system without teamcity

I just tried to build the plugin and then upload it to my running server. For this kind of workflow there shouldn't be a dependency on TeamCity just to build the plugin. Is that possible?

Error parsing xml

I have copied the fitnesse.zip to my plugin folder and i get the following error message in my agent log;

WARN - jetbrains.buildServer.AGENT - Failed to parse teamcity-plugin.xml from plugin: C:\BuildAgent5\plugins\Fitnesse.zip. Failed to parse plugin descriptor. Error on line 3: cvc-elt.1: Cannot find the declaration of element 'teamcity-plugin'.

Once installed, don't have FitNesse build runner option in dropdown

I'm running TeamCity 7.1.3 and I'm having trouble using this plugin.

After installing ANT and the JDK, I was able to build dist\FitNesse.zip. I copied the file to the data directory's plugin folder and restarted the TC server. On the admin tab, I can see the plugin is active (version SNAPSHOT-201302071504, home path .unpacked\Fitnesse). From the logs, it appears to have loaded correctly:

[2013-02-07 15:22:26,105] INFO - e.impl.agent.PluginsLookupTask - Build agent plugins signature is updated: [PluginState{myFile=D:.BuildServer\plugins.unpacked\Fitnesse\agent\Fitnesse.zip, myHash='SHA-1VaqsdGi8zITKB8CRuYR6d2qGKKI='}...

However, when I try to add a new build step, I don't see a FitNesse build runner in the dropdown. The README suggests I should. Is there anything else needed to configure this plugin?

Hanging Process

I have installed the plugin on the latest TeamCity using a recent snapshot of fitnesse. The plugin is starting the Fitnesse server but never seems to get any further as evidenced by the lack of any further logging. It runs indefinitely without any output. Any tips for troubleshooting this?

Does not fail the build on exception

Hi,

If I get an exception trying to run a test suite (i temporarily was getting a 404 when trying to connect to the suite url), it seems to log the exception but not fail the build. Is this the intended behaviour? I need to fail a build if the tests are not run for whatever reason

here's the corresponding logs from the build:

[14:05:03][Step 10/13] Fitnesse ran
[14:05:03][Step 10/13] Fitnesse starting...
[14:05:03][Step 10/13] response:200
[14:05:03][Step 10/13] response:200
[14:05:03][Step 10/13] Connecting to 'http://localhost:8081/.ApiDocumentation?suite&format=xml'
[14:05:03][Step 10/13] Connected: '404/Not Found'
[14:05:03]
[Step 10/13] java.io.FileNotFoundException: http://localhost:8081/.ApiDocumentation?suite&format=xml
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
at Fitnesse.agent.FitnesseProcess.getSuiteResults(FitnesseProcess.java:109)
at Fitnesse.agent.FitnesseProcess.runSuites(FitnesseProcess.java:183)
at Fitnesse.agent.FitnesseProcess.call(FitnesseProcess.java:209)
at Fitnesse.agent.FitnesseProcess.call(FitnesseProcess.java:21)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.io.FileNotFoundException: http://localhost:8081/.ApiDocumentation?suite&format=xml
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at Fitnesse.agent.FitnesseProcess.getSuiteResults(FitnesseProcess.java:107)
... 7 more

Thanks Dan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.