Aborting a build from hudson is still executing the script at target machine - hudson

Bit new to Hudson so this might be silly question for few of you.
I was using Hudson version 2.2.0 and everything was running fine in there but as soon as I upgraded to latest version available as of now, a new problem came into picture.
i.e. with this new Hudson version, if I abort a build while it is executing, Hudson will show on its console that build has been aborted successfully but still I can see that job being executed at my machine for remaining test case. And a big problem to this is if I am running a job in a loop for 100 times and due to some reasons, I abort it when it reaches at 50th loop, it will still continue for remaining 50 loops.
Any solution to this problem?
I have tried to downgrade to previous version but as soon as it downgrades, none of my jobs are available to me. I can not see any job there. So I have to upgrade it back to latest version.

Related

MySQL installer not making any progress

I downloaded MySQL installer. I chose the Developer Default Setup Type. Now it's downloading the various components of MySQL. There is an issue here: the downloading seems to be stalled. As you can see, some components have already completed downloaded, but others are still downloading. It had been downloading for over an hour now and the percentages have not changed. There has been no visible progress so far after this state. What could be the cause of this? How can I make sure that the installer is really working instead of stalling? It seems that the installer downloaded some components and ... stopped working? I have a wireless internet connection. I don't know whether this could be the issue.
So basically I got bored waiting and I just canceled the install. It turned out that the installer was stalled. Then I started the installer again. I selected the Developer Default Setup Type again, and I repeated everything as I did it the first time. The second time the installer ran much faster. Now when it came to the Installation step, all the products or components of MySQL which had been already downloaded did not need to be downloaded again. They just were installed. The products which were incompletely downloaded the first time had to be downloaded again the second time, but the downloading was much faster.
If MySQL installer shows no progress during this step, it is better to just cancel it, and then restart it again. The next time it should work as expected.

Fedora 21 terminal based application slow response

I have recently updated to Fedora 21 Beta, and updated all packages. As the final release is scheduled early next month, I don't expect anything big to change. So I think the problem I am facing may well persist into the production release.
The problem is that when using some terminal based applications, the terminal responses very slowly. For example, say I edit a file with Vim in terminal, after a few minutes, it becomes increasingly difficult to use. Every time I hit a keystroke, the cursor will wait like a second to respond. Edit the same file (which is of only a dozen of lines) in GVim, everything works as smoothly as expected. Other terminal based applications shows the same slow response. However, using the terminal itself as an interactive shell has no problem at all.
I understand it is very hard to come by an answer to why it is experiencing this kind of slow response based only on my vague description. However, if anyone can point to where I should look for diagnostics of the problem, some log files etc., it will highly appreciated.
Below are some more details of the system.
The computer is a Dell T3500 workstation with Xeon W3550 CPU, NVIDIA Quadro 2000 GPU. I am using the latest NVIDIA binary driver (both the long live version 340.58 as well as the beta series 346.16 are tried). The open-source driver was uninstalled and its kernel module were blacklisted (lsmod | grep nouveau shows nothing, as expected). The desktop environment is GNOME Classic.
I believe the issue is with the Nvidia driver configuration. I know this question is old, but I was looking for a solution to the same problem in Fedora 22. I experienced this issue when I was using Fedora 21, but I mostly put up with it.
The solution for me was to uncheck Sync to VBlank in the Nvidia X Server settings.
Are you running in a VM whose storage grows as you need it? Perhaps the problem is that the VM is taking time to allocate space as your storage needs grow. If that's the case, after a while you won't have the problem anymore, as your virtual disk will have grown as big as it needs to be.
As for diagnostics, try running "top", look for paging activity and resident set size.
Maybe something has a memory leak. It might not be in the terminal, but in one of its dependencies.

Launching TaskHost.exe failed, trying to run Windows Phone 8 app?

My VS 2013 setup has been humming along fine for months now. Today I tried to update to Visual Studio 2013 Update 2 RC. Just like last time when I updated to Update 1, setup failed badly with a huge list of packages marked with the "Incorrect Hash Value" error. Unfortunately MS does not have an ISO yet for Update 2 so I can't take that route to complete the update like I did last time. Now I can't run apps on the Windows Phone emulator or on the phone (device) anymore.
I believe that the failed update caused my current deployment problems since the problem surfaced right afterwards. It could be due to some other NuGet package or Extension, but the update is the most likely cause due to the timing of events.
I did extensive reading on SO and tried all the noted solutions. None of them worked:
cleaned and rebuilt the test Windows Phone 8 project (multiple times)
restarted VS2013
rebooted
Exited VS 2013 and restarted it with the Emulator left open (for the Emulator test)
repaired the Windows Phone Emulator install
repaired the VS2013 install
Nothing works. After the IDE installs the app on to the emulator, I still an error dialog box saying:
"The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
And in the VS2013 IDE status line I see the message: "Launching TaskHost.exe failed".
Does anyone know how to fix this? Note, I tried several WP8 projects that I know worked successfully before and none of them can deploy successfully anymore to either the Emulator or the Device.
I see this was asked a month ago, but I had this issue as well. If I left the Emulator running and tried launching it again, I would have TaskHost fail with a different error.
The following was what made it work for me.
Under the following:
Solution(Right-click) > Properties > Configuration Properties > Configuration
Ensure that your main project is set to 'Deploy.'
Have many reason to error.! So, If you doing with database such as SQLLite file or SQL compact file for your project WP, you should check it is used anywhere. Or choose Embed source copy in visual. That's my fail.And i fixed ok!
Did you try from the menus?
BUILD > Rebuild Solution
That worked for me just now.

Move Hudson Server directly from one Windows PC to another Windows PC

I have a Hudson server on one PC, and I need to move it to another PC.
I want to do this right the first time without messing up a bunch of things. I've found in my Googling a Stack Overflow question and answer for moving Jenkins here.
I am wary to follow those instructions for Hudson because:
There might be a subtle but significant difference between Hudson and Jenkins since the time that they forked from each other that causes complications;
I'm dealing with Windows 7, not Linux;
I want to know if I can just move Hudson directly from one PC to another, without having to install and reconfigure Hudson on the target PC first (as per the Jenkins instructions).
So my question is, can I move my Hudson installation directly without installing a fresh Hudson on the target PC first? If so, what are the steps?

WebDriver test using Google Chrome hangs when executed via build process using TFS/NUnit

I'm having an issue with Selenium WebDriver, Microsoft Team Foundation Server, NUnit and Chrome/ChromeDriver. I'm hoping that maybe someone can offer some insights or point me in a direction to investigate. Right now I'm stymied on this issue.
The details of the problem -
I have discovered that my selenium test automation is hanging when the tests are called by our automated build process (Microsoft Team Foundation Server) using Google Chrome as the Test browser. Essentially TFS builds via MSBuild and then calls NUnit, which in turn executes my Selenium tests. I can see in Windows Task Manager (and in the build logs) that the nunit-console, nunit-agent, Google Chrome and ChromeDriver processes are launched but then the processes appear to just hang.
Again, this only repros when the test is automatically kicked off on our build machine using Google Chrome as the browser to test against. I verified that the account running TFS is an admin and this issue doesn't manifest itself when I use Firefox as the browser for our automation run/build process.
I wrote a bunch of debugging statements in the code and managed narrow down the hang to lines such as this:
IWebElement element =driver.FindElement(By.XPath(strXpath));
The strXpath value for the above statement is this:
//ul[contains(#class,'topnew')]
I have tried changing the By selector to search for an element with a css class or Id such as this but I still see the issue:
element = driver.FindElement(By.ClassName("topnew"));
Here is the very last few statements in the ChromeDriver log:
[157.979][FINER]: Waiting for all views to stop loading...
[216.963][FINE]: Command received (/session/43fb268cae9e2131577d6fdddedb5c7f/refresh
[216.963][FINER]: Waiting for all views to stop loading..
Here is the Software running on our build machine-
Selenium version 2.18.0.0 (I have also tried 2.14.0.0) using the .Net binaries (the tests are written in C#)
Nunit version 2.5.9.10348
Windows Server 2008 R2
Chrome version 16.0.912.77
ChromeDriver.exe version 18.0.995.0 (windows version)
Microsoft Team Foundation Server 2010 – version 10.0.30319
As a workaround I tried getting MSBuild to call a powershell script that then calls NUnit but the issue still persists.
This is a known bug. I ended up wrapping the call using a gevent timeout, so if chromedriver locks up, I can simply kill it and restart it.