Jenkins Testing failed after migrating to 2.121 LTS

30 views
Skip to first unread message

Pranav Kv

unread,
Sep 14, 2018, 1:19:06 PM9/14/18
to Jenkins Users
Hi I am getting error in a maven build.
There is test fail after migrating jenkins to new server.. But no issues in the old jenkins instance

Error
Validation not trigger.. Expected(abcd.xml) but found()
Java assertion

COULD any please help me to resolve?
Regards
Pranav

Jan Monterrubio

unread,
Sep 17, 2018, 12:15:15 AM9/17/18
to jenkins...@googlegroups.com
Does the maven build only fail in Jenkins? 

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b7ce0fa4-273f-4680-a8e7-c10fd7ba08d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pranav Kv

unread,
Sep 17, 2018, 7:51:12 AM9/17/18
to jenkins...@googlegroups.com
Yes. Recently we migrated jenkins to new LTS version 2.121. There is no issues in the older version which is running in on other server. 

Pranav Kv

unread,
Sep 20, 2018, 10:53:38 AM9/20/18
to Jenkins Users

Pranav Kv

unread,
Sep 20, 2018, 11:04:25 AM9/20/18
to Jenkins Users
Still failing validation error in jenkins LTS 2.121..but no issue with 1.644

Java.lang.AssertionError: file abcd.xml validation rule not trigger, validation error found:[] expected [[abcd.xml]] but found [[]]

org.testing.Assert.fail(Aasert.java94))
org.testing.Assert.failNotEquals(Asser. Java:494)
org.testing.Assert.assertEqual(Assert.java:808)

Pranav Kv

unread,
Sep 23, 2018, 8:36:05 PM9/23/18
to jenkins...@googlegroups.com
Anyone can help on this? 

--
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-use...@googlegroups.com.

Pranav Kv

unread,
Sep 24, 2018, 11:52:41 AM9/24/18
to jenkins...@googlegroups.com
Any updates? 

Thanks

Mark Waite

unread,
Sep 24, 2018, 12:18:40 PM9/24/18
to jenkins...@googlegroups.com
You'll need to provide significantly more details before anyone will be able to provide meaningful help.

Some of the questions that arose when I saw your description:
  • Is that failure in a specific job or in every job?
  • What are the characteristics of that job (if a specific job)?
  • Do those tests fail when executed from the command line?
  • Do those tests fail when executed from inside a Docker image defined to build and execute the tests?
  • Since I've never seen an "org.testing.Assert" library, I assume there is either a typo in your stack trace or you're using a special library.  Is there a typo or are you using a special library?
  • Can you duplicate the failure outside Jenkins?
  • What JDK are you running in the failing environment?
  • What JDK was running in the environment where it worked?
  • Is this specific to a certain platform (Windows, Linux, FreeBSD, zLinux, etc.)
By posting minimal information and then repeatedly asking for a status update, you're not showing any indication that you've investigated the issue more deeply yourself, nor that you're willing to spend energy to investigate more deeply.

Persuade the people in the mailing list that you've investigated further by including detailed descriptions of the experiments you've attempted and the results of those experiments.  Describing your investigation will help you and will probably help others who encounter similar problems in the future.

Mark Waite

Reply all
Reply to author
Forward
0 new messages