Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

fix (badly) broken build #10

Closed
wants to merge 17 commits into from
Closed

Conversation

vorburger
Copy link
Owner

@vorburger vorburger commented Feb 6, 2019

see #5

because https://git.opendaylight.org/gerrit/#/c/75762/ removed it

but the real solution, later, is to replace it with BP annotations.
[ERROR] Failed to execute goal
org.apache.aries.blueprint:blueprint-maven-plugin:1.10.0:blueprint-generate
(default) on project ds: Execution default of goal
org.apache.aries.blueprint:blueprint-maven-plugin:1.10.0:blueprint-generate
failed: A required class was missing while executing
org.apache.aries.blueprint:blueprint-maven-plugin:1.10.0:blueprint-generate:
org/opendaylight/mdsal/dom/api/DOMTransactionChainClosedException
When I originally wrote this code we were in the beginning of Neon; at
that time, controller was still dependent on an mdsal SNAPSHOT.  Later
during Neon we moved to a fixed mdsal version - which this change does.

This fixes the following error in
org.opendaylight.etcd.testutils.test.EtcdDBTest :

java.lang.NoSuchMethodError:
org.opendaylight.yangtools.yang.binding.CodeHelpers.wrapperHashCode(Ljava/lang/Object;)I
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.list.rev140701.two.level.list.TopLevelListKey.hashCode(TopLevelListKey.java:38)
because 4.0.9 is what we ended up shipping Neon with, so must use that
because infrautils:parent already does spotbugs, no need for findbugs

and infrautils:parent already does checkstyle enforcement as well
see https://wiki.opendaylight.org/view/Neon_platform_upgrade#Blueprint_declarations

With this the basic broken build and long overdue Neon migration is
complete and we are hitting the first (new, this worked before..) "real"
bug, see #8 ...
in EtcdDataBrokerRule and  TestEtcdDataBrokerProvider
to reproduce #8

except that it doesn't actually reproduce it (needs more models)
I missed these before because I ran with -Dmodernizer.skip
This was referenced Feb 6, 2019
So that the launcher works on Travis CI
@vorburger
Copy link
Owner Author

This failed because the tests using my EtcdLauncher expect an etcd (binary) to be present on the machine, which it's of course not on the Travis build VM... f81f673 didn't help (no etcd package on Debian/Ubuntu ?!) but #11 where I did 6157c67 is looking more promising, so going that route instead.

@vorburger vorburger closed this Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant