Build #92

Build: #92 failed Changes by 3 people

Build result summary

Details

Completed
Duration
350 minutes
Labels
None
Revisions
OpenNMS (develop branch)
e935642cf7fa418320cf3693e6e7521c6a5423c7 e935642cf7fa418320cf3693e6e7521c6a5423c7
OpenNMS Installer
da12784d9ab4ba4aacedec0283d0c04075fd6ebf da12784d9ab4ba4aacedec0283d0c04075fd6ebf
OpenNMS-Repo
088d710674109759251f42c6720d74ea80cf3f13 088d710674109759251f42c6720d74ea80cf3f13
Smoke Tests
cb1e72265cf2ce10cb4872f58120272b340a1ce1 cb1e72265cf2ce10cb4872f58120272b340a1ce1
OpenNMS Bamboo Utils
0a62053bc90f6ffcce1e17256674b2dae7b4f8a3 0a62053bc90f6ffcce1e17256674b2dae7b4f8a3
OpenNMS System Test API
2baceb98eba956ca0f62f0e2d469d9f73b7ffd02 2baceb98eba956ca0f62f0e2d469d9f73b7ffd02
Total tests
2372
Failing since
#27 (Changes by mvrueden <mvrueden@users.noreply.github.com> and Jesse White)

Responsible

Code commits

OpenNMS (develop branch)
Author Commit Message Commit date
Jesse White Jesse White e935642cf7fa418320cf3693e6e7521c6a5423c7 e935642cf7fa418320cf3693e6e7521c6a5423c7 NMS-10568: Remove stray System.err() call.
Benjamin Reed Benjamin Reed d5562ec231fbbbf18736d903a806c17408c398cc d5562ec231fbbbf18736d903a806c17408c398cc NMS-10565: more improvements to shell scripts (#2359)
* NMS-10565: more improvements to shell scripts

* allow overriding JAVA_SEARCH_DIRS in `find-java.sh` for testing
* allow specifying an individual java path to check in `find-java.sh`
* support skipping the default JAVA_SEARCH_DIRS in `find-java.sh`
* change `runjava` to always use `find-java.sh` if possible to
  validate java versions, which has stricter/better version-processing
* allow adding one or more additional search paths to the `runjava`
  command-line to aid in testing
* resolve symlinks to make it easier to know what the "real"
  $JAVA_HOME being resolved is
* add tests for `find-java.sh`
* more test coverage for `runjava` including searching multiple
  test JDK directories
* fix shunit2 `assertEquals` (expected is the 2nd arg, not 1st)

* NSM-10565: make sure HOME is not set during tests (avoid ~/.opennms-dev)

* NMS-10565: create a utility library for array and conf handling

* NMS-10565: fix conf-file parsing

This PR changes opennms's `opennms.conf` parsing to handle any
combination of scalar or array-based variables, in multiple
configuration files.  This makes sure that mixing and matching
old-style `opennms.conf` from `~/.opennms-dev/` and from
`$OPENNMS_HOME/etc/` behaves properly, and provides robust
guards to make sure environment variables are always turned
into arrays before using them internally.

* convert `opennms` to use `$OPENNMS_HOME/bin/_lib.sh`
* fix `opennms` "dry-run" output to wrap arguments in quotes
  to aid in unit testing
* add an additional configuration file from Jesse to test against
* change all `opennms.spec.sh` unit tests to check for quoted
  arguments

* NMS-10565: if $TMPDIR is not set, fall back to a dir in /tmp

* use the return of `grep -q` directly

Co-Authored-By: RangerRick <github@raccoonfink.com>

* NMS-10565: updates from feedback, also fix an issue with var replacement
Chandra Gorantla <chandra@opennms.com> Chandra Gorantla <chandra@opennms.com> e3eaa544e52dfc2d4a07a3808d2b2cf0574c50d2 e3eaa544e52dfc2d4a07a3808d2b2cf0574c50d2 OIA-4: Map collectors from integration api (#2345)
* OIA-4: Map collectors from integration api

* OIA-4: Move mappers to different class, add unit test.

Tests

New test failures 2
Status Test View job Duration
Collapse Failed HeartbeatSinkBlueprintIT org.opennms.core.ipc.sink.camel.itests.HeartbeatSinkBlueprintIT History
Integration Test (Flapping) 2 secs
java.lang.Exception: ActiveMQ broker was not started or stopped unexpectedly. Error: org.apache.activemq.broker.BrokerStoppedException: Stop invoked
	at org.opennms.core.test.activemq.ActiveMQBroker.before(ActiveMQBroker.java:56)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:193)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:275)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:183)
(5 more lines...)
Collapse Failed HeartbeatSinkBlueprintIT canConsumeMessagesInParallel History
Integration Test (Flapping) 2 secs
java.lang.NullPointerException: null
	at org.opennms.core.ipc.sink.camel.itests.HeartbeatSinkBlueprintIT.canConsumeMessagesInParallel(HeartbeatSinkBlueprintIT.java:171)
Existing test failures 22
Status Test Failing since View job Duration
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: Cannot load an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class with @ContextConfiguration or @ContextHierarchy.
org.openqa.selenium.TimeoutException: Timed out after 120 seconds waiting for org.opennms.smoketest.OpenNMSSeleniumTestCase$3@33cd4fd9
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
System info: host: 'bambooagent01.internal.opennms.com', ip: '172.20.1.213', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-45-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=45.0.2, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: a4197461-9acf-4ab8-b75f-bcb877349c8a
org.openqa.selenium.TimeoutException: 
Timed out after 120 seconds waiting for org.opennms.smoketest.OpenNMSSeleniumTestCase$3@33cd4fd9
(6 more lines...)
java.lang.AssertionError: 1 expectation failed.
Expected header "WWW-Authenticate" was not a string containing "Basic", was "null". Headers are:
Date=Sat, 16 Feb 2019 02:20:27 GMT
X-Frame-Options=SAMEORIGIN
Content-Length=0
Server=Jetty(9.4.14.v20181114)

java.lang.AssertionError: 
(8 more lines...)
Fixed tests 1
Status Test Failing since View job Duration
Successful EditInRequisitionIT testIfDeployed History
Failing since build #90 (Changes by Christian Pape and mvrueden <mvrueden@users.noreply.github.com>) Smoke Test (Flapping) 18 secs

Jira issues

IssueDescriptionStatus
Unknown Issue TypeNMS-10565Could not obtain issue details from Jira
Unknown Issue TypeNMS-10568Could not obtain issue details from Jira
Unknown Issue TypeNSM-10565Could not obtain issue details from Jira
Unknown Issue TypeOIA-4Could not obtain issue details from Jira

Shared artifacts

Artifact File size
RPMs 1 GB
Source Tarball 132 MB