Discussion:
TestNG plugin - no results displayed
Nig
2012-07-16 09:27:18 UTC
Permalink
Hi,

I've installed testng-6.5.2 and version 0.32 of the pulgin but no results
are displayed.

The following is logged in the Console Output:
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern:
**/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Found matching files but did not find any TestNG results.

The testng-results.xml file is attached.


Am I doing something wrong ?

Thanks !
Sami Tikka
2012-07-17 08:01:14 UTC
Permalink
If you look at the message from Jenkins, it seems Jenkins is not happy with the last-modified attribute of the xml file. If Jenkins sees the xml file is older than the build, it thinks the file might be a left-over from an earlier build. This is a common mistake if people assume build always start with an empty workspace. It doesn't, unless you specifically configure it to be so.

Another possibility is the xml file has actually been checked into the version control by someone.

Yet another possibility is clocks aren't synchronized in your Jenkins server, your file server and your version control server. Unsynchronized clocks are an easy way to generate strange errors that are loads of fun to debug!

-- Sami
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no results are displayed.
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
<testng-results.xml>
Nig
2012-07-17 10:52:21 UTC
Permalink
It was indeed the clocks out of sync between the Jenkins master and the
file server.

Many thanks Sami !
Post by Sami Tikka
If you look at the message from Jenkins, it seems Jenkins is not happy
with the last-modified attribute of the xml file. If Jenkins sees the xml
file is older than the build, it thinks the file might be a left-over from
an earlier build. This is a common mistake if people assume build always
start with an empty workspace. It doesn't, unless you specifically
configure it to be so.
Another possibility is the xml file has actually been checked into the
version control by someone.
Yet another possibility is clocks aren't synchronized in your Jenkins
server, your file server and your version control server. Unsynchronized
clocks are an easy way to generate strange errors that are loads of fun to
debug!
-- Sami
Post by Nig
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no
results are displayed.
Post by Nig
TestNG Reports Processing: START
**/testng-results.xml
Post by Nig
testng-results.xml was last modified before this build started. Ignoring
it.
Post by Nig
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
<testng-results.xml>
krishna chaitanya kurnala
2012-07-17 14:43:21 UTC
Permalink
Hi Nigel

I guess, I am facing the same issue, can you please let me know, how have
you fixed the un-synchronized clocks?

Thanks,
Krishna Chaitanya
Post by Nig
It was indeed the clocks out of sync between the Jenkins master and the
file server.
Many thanks Sami !
If you look at the message from Jenkins, it seems Jenkins is not happy
Post by Sami Tikka
with the last-modified attribute of the xml file. If Jenkins sees the xml
file is older than the build, it thinks the file might be a left-over from
an earlier build. This is a common mistake if people assume build always
start with an empty workspace. It doesn't, unless you specifically
configure it to be so.
Another possibility is the xml file has actually been checked into the
version control by someone.
Yet another possibility is clocks aren't synchronized in your Jenkins
server, your file server and your version control server. Unsynchronized
clocks are an easy way to generate strange errors that are loads of fun to
debug!
-- Sami
Post by Nig
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no
results are displayed.
Post by Nig
TestNG Reports Processing: START
**/testng-results.xml
Post by Nig
testng-results.xml was last modified before this build started.
Ignoring it.
Post by Nig
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
<testng-results.xml>
Nig
2012-07-18 08:56:06 UTC
Permalink
Hi Krishna,

I changed my job to run on the Jenkins master which fixed the issue.

If you do not want to do this then to sync the clocks you will need to set
the date/time on the server hosting the filesystem (or the node running the
job) to the same as the Jenkins server.
If they are Unix/Linux boxes then the date command can be used but you will
need root access.

Hope this helps.
Thanks !
Post by krishna chaitanya kurnala
Hi Nigel
I guess, I am facing the same issue, can you please let me know, how have
you fixed the un-synchronized clocks?
Thanks,
Krishna Chaitanya
Post by Nig
It was indeed the clocks out of sync between the Jenkins master and the
file server.
Many thanks Sami !
If you look at the message from Jenkins, it seems Jenkins is not happy
Post by Sami Tikka
with the last-modified attribute of the xml file. If Jenkins sees the xml
file is older than the build, it thinks the file might be a left-over from
an earlier build. This is a common mistake if people assume build always
start with an empty workspace. It doesn't, unless you specifically
configure it to be so.
Another possibility is the xml file has actually been checked into the
version control by someone.
Yet another possibility is clocks aren't synchronized in your Jenkins
server, your file server and your version control server. Unsynchronized
clocks are an easy way to generate strange errors that are loads of fun to
debug!
-- Sami
Post by Nig
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no
results are displayed.
Post by Nig
TestNG Reports Processing: START
**/testng-results.xml
Post by Nig
testng-results.xml was last modified before this build started.
Ignoring it.
Post by Nig
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
<testng-results.xml>
Sami Tikka
2012-07-18 22:08:08 UTC
Permalink
http://en.wikipedia.org/wiki/Network_Time_Protocol is a popular and easy way to keep the clocks in sync in your servers (and workstations.) Install ntpd and configure it to sync with the ntp server of your organization.

If you do not have professional IT staff, you can find an ntp server at http://pool.ntp.org

-- Sami
Post by krishna chaitanya kurnala
Hi Nigel
I guess, I am facing the same issue, can you please let me know, how have you fixed the un-synchronized clocks?
Thanks,
Krishna Chaitanya
It was indeed the clocks out of sync between the Jenkins master and the file server.
Many thanks Sami !
If you look at the message from Jenkins, it seems Jenkins is not happy with the last-modified attribute of the xml file. If Jenkins sees the xml file is older than the build, it thinks the file might be a left-over from an earlier build. This is a common mistake if people assume build always start with an empty workspace. It doesn't, unless you specifically configure it to be so.
Another possibility is the xml file has actually been checked into the version control by someone.
Yet another possibility is clocks aren't synchronized in your Jenkins server, your file server and your version control server. Unsynchronized clocks are an easy way to generate strange errors that are loads of fun to debug!
-- Sami
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no results are displayed.
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
<testng-results.xml>
Laxmi Rukka
2016-03-07 05:16:01 UTC
Permalink
still , am facing this prb.
kindly let me know how to fix this
Post by Nig
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no results
are displayed.
TestNG Reports Processing: START
**/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring
it.
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9db73550-38aa-4921-bff4-0ea9a1da2619%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mark Waite
2016-03-07 05:19:38 UTC
Permalink
"Last modified before this build started" may indicate that there is a
significant difference between the clock on your slave computer and the
clock on the master. The Jenkins slave status page (
http://localhost:8080/computer/) reports time differences between the
slaves and the master. If the clocks are not synchronized, you can install
and configure time synchronization software (like ntp and ntpdate for
Linux, FreeBSD, OpenBSD, HP-UX, AIX, etc., and similar programs for
Windows).

Mark Waite
Post by Laxmi Rukka
still , am facing this prb.
kindly let me know how to fix this
Post by Nig
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no
results are displayed.
TestNG Reports Processing: START
**/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring
it.
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/9db73550-38aa-4921-bff4-0ea9a1da2619%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/9db73550-38aa-4921-bff4-0ea9a1da2619%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH2kNW%2BUJ6Zu2pD%2BmQLa0C8WrTN6Pr9ze%2Bhtfnb0PeYYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Mark Waite
2016-03-07 06:13:42 UTC
Permalink
Refer to earlier postings on this thread.
https://groups.google.com/d/msg/jenkinsci-users/La1kREcMg28/J81b6nN9-b0J

Mark Waite
Post by Mark Waite
"Last modified before this build started" may indicate that there is a
significant difference between the clock on your slave computer and the
clock on the master. The Jenkins slave status page (
http://localhost:8080/computer/) reports time differences between the
slaves and the master. If the clocks are not synchronized, you can install
and configure time synchronization software (like ntp and ntpdate for
Linux, FreeBSD, OpenBSD, HP-UX, AIX, etc., and similar programs for
Windows).
Mark Waite
Post by Laxmi Rukka
still , am facing this prb.
kindly let me know how to fix this
Post by Nig
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no
results are displayed.
TestNG Reports Processing: START
**/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring
it.
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/9db73550-38aa-4921-bff4-0ea9a1da2619%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/9db73550-38aa-4921-bff4-0ea9a1da2619%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/04661641-fee3-45f8-bfe4-35d2addef8aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thada Anvesh
2018-02-06 15:33:52 UTC
Permalink
Guys, am still facing the issue.. any solution for this. am sure that clock
is in sync. please find the screenshot
Post by Nig
Hi,
I've installed testng-6.5.2 and version 0.32 of the pulgin but no results
are displayed.
TestNG Reports Processing: START
**/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring
it.
Saving reports...
Found matching files but did not find any TestNG results.
The testng-results.xml file is attached.
Am I doing something wrong ?
Thanks !
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c3e55baf-6fac-44ee-8fbe-46e752c53315%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...