I'm having a problem when using ctest_submit() to submit my build results for the dashboard server. I'm trying to build my project using ctest_build() and then i submit the results using ctest_submit(). However, i don't want to wait for ctest_submit() to finish submitting the results before continue executing the rest of the cmake script. Instead, i want to trigger the submission and continue executing the script without waiting for the cmake_submit() to finish. Is there anyway i can do this ?
Related
I'm trying to create a scheduled job based out of saved query in big query. I'm following steps as per documentation here
After entering all the filelds, I'm getting response "Error creating scheduled query: Aq" with no additional details.
In on BigQuery documentation also, I didn't find anything.
I could run the query which I'm trying to create a schedule for, is running fine and giving appropriate results.
It turned out that, when schedule query is created for first time, the console is taking permission by take user to new tab in browser. Browser settings was suppressing it.
After acknowledging the required permissions, I could create scheduled query successfully.
I have to do the following in my test.
Login to the site
click on a button to upload an excel file. It will kick off a task
Wait for job to complete (takes 20-25 minutes)
Verify the output of job (Successful, Failed)
Excel file contains data based on which job will either return success or failure.
I am trying to do this using selenium but the problem is that in the framework we can execute a test for max 10 minutes else it kills the test.
So not sure how to go about automating this scenario.
One of the way i could see is
First Test --> Just upload the file and kick off the task
Second Test (depends on First Test) --> verify the results.
Have a you faced similar situation.
Could any of you please suggest the approach for this? or can suggest alternative tool that i could use to automate this scenario.
Can someone please help. I am trying to trigger a post-build action using the post-build action plugin. The log text that I inputted is returning false, hence not performing a post-build action. When I don't enter any text, it returns true.
This is a simple freestyle project that should print test if it matches the text
Post build setting
This is the console output returning false
Console output returning false
This is the output with no text
Output with no text
Any help will be appreciated. All I want to do is perform a post-build action depending on if my build fails or passes. Alternate solution is welcomed
Thanks
The root cause is your job has no any log out in Job Build Stage, please see Post build task plugin's help, this plugin will search job build log to find the text you specified in plugin.
A quick way to re-try is add a Build Step to print out something:
1. Execture shell (if job executed on Linux machine)
2. Execute windows batch (if job execute on Window machine)
A Job configure example:
I am trying to run a selenium script and the application also runs fine. But in some case all a sudden application goes down and this can happens at any stage of run the script.
So how to handle this because if Application goes down An Error page opens up and in script i may be trying to click a button or verifying something which doesn't happen and throws a exception.
Looks like its an application issue. You need to report the issue. Also it looks like you need to improve your infrastructure so that your application can run smoothly.
No recommaned: If you need to test it anyway, please add Thread.sleep(2000) after click() to make script execution slow.
This is my Transformation
Run in local gives me a good log and allows me to Preview results of a step. (eg what went wrong and where, what data do I have in each step)
When I run it in Repository, it just gives me a link to check status, where logs are present BUT text only and I cannot Preview Data in each step.
Is there any way to get this? (I also have a Carte server running, my code call it to run, but for debugging I need to run from Kettle UI)