I assume this is issue in my local environment.

The fact that others have confirmed they can build and run tests (note i
could compile but issue was tests not passing)

I will try to clear down completely and re install everything.



On Thu, 9 Apr 2020, 22:15 Krzysztof, <[email protected]> wrote:

> I was also able to build the whole thing and to run the tests. There is
> no sign of issues I had few months ago.
>
> Krzysztof
>
> On Thu, Apr 9, 2020 at 10:34 PM Timothy Bish <[email protected]> wrote:
>
> > On 4/9/20 4:25 PM, Clebert Suconic wrote:
> > > I just did
> > > mvn install -Prelease
> > >
> > > and it completed fine, without any issues. Even running the basic
> tests.
> > >
> > >
> > > if you know anything wrong, please let me know before monday? as I
> > > tried here and everything seems ok. I think Domenico also did build on
> > > his environment and so far everything is good.
> >
> > I've run through the AMQP tests quite a few times and nothing failed on
> > either of my machines.
> >
> >
> > >
> > > It could be something environmental in your system. I just tried on a
> > > brand new Windows 10 machine I have at home, and everything seems ok.
> > >
> > > On Wed, Apr 8, 2020 at 1:37 PM Clebert Suconic
> > > <[email protected]> wrote:
> > >> @Michael: Is the problem running the testsuite on windows?
> > >>
> > >> On Wed, Apr 8, 2020 at 12:28 PM brusdev <[email protected]> wrote:
> > >>> Hi Micheal,
> > >>>
> > >>> I have downloaded java-1.8.0-openjdk-1.8.0.212-3 and now my
> > environment is
> > >>> like yours:
> > >>> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> > >>> 2018-06-17T20:33:14+02:00)
> > >>> Maven home: C:\Program Files\apache-maven-3.5.4\bin\..
> > >>> Java version: 1.8.0_212-3-redhat, vendor: Oracle Corporation,
> runtime:
> > >>> c:\Program Files\RedHat\java-1.8.0-openjdk-1.8.0.212-3\jre
> > >>> Default locale: en_US, platform encoding: Cp1252
> > >>> OS name: "windows 10", version: "10.0", arch: "amd64", family:
> > "windows"
> > >>>
> > >>>
> > >>> I have successfully built on the root path `activemq-artemis` using
> > `mvn
> > >>> -Pdev clean install -DskipTests=true` after that I have successfully
> > built
> > >>> on the path
> `activemq-artemis\artemis-protocols\artemis-mqtt-protocol`
> > using
> > >>> `mvn install`.
> > >>>
> > >>> Analyzing your log I found a `java.lang.ClassNotFoundException:
> > >>> EmbeddedJMSResource`.
> > >>>
> > >>> It looks strange to me. I think you could have a dirty maven cache.
> > >>> I used a vanilla Windows 10 and I could get any building errors.
> > >>> I can share my machine if you need to do some tests.
> > >>>
> > >>> [INFO] Scanning for projects...
> > >>> [INFO]
> > >>> [INFO] -------------< org.apache.activemq:artemis-mqtt-protocol
> > >>>> --------------
> > >>> [INFO] Building ActiveMQ Artemis MQTT Protocol 2.12.0-SNAPSHOT
> > >>> [INFO] -------------------------------[ bundle
> > >>> ]-------------------------------
> > >>> [INFO]
> > >>> [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO]
> > >>> [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO]
> > >>> [INFO] --- maven-dependency-plugin:3.1.1:unpack (copy) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Configured Artifact:
> > >>> org.apache.activemq:activemq-artemis-native:1.0.1:jar
> > >>> [INFO] activemq-artemis-native-1.0.1.jar already unpacked.
> > >>> [INFO]
> > >>> [INFO] --- maven-remote-resources-plugin:1.5:process
> > >>> (process-resource-bundles) @ artemis-mqtt-protocol ---
> > >>> [INFO]
> > >>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > >>> [INFO] Copying 1 resource
> > >>> [INFO] Copying 3 resources
> > >>> [INFO]
> > >>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Nothing to compile - all classes are up to date
> > >>> [INFO]
> > >>> [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO]
> > >>> [INFO] --- apache-rat-plugin:0.12:check (default) @
> > artemis-mqtt-protocol
> > >>> ---
> > >>> [INFO] RAT will not execute since it is configured to be skipped via
> > system
> > >>> property 'rat.skip'.
> > >>> [INFO]
> > >>> [INFO] --- maven-resources-plugin:2.6:testResources
> > (default-testResources)
> > >>> @ artemis-mqtt-protocol ---
> > >>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > >>> [INFO] Copying 2 resources
> > >>> [INFO] Copying 3 resources
> > >>> [INFO]
> > >>> [INFO] --- maven-compiler-plugin:3.1:testCompile
> (default-testCompile)
> > @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Nothing to compile - all classes are up to date
> > >>> [INFO]
> > >>> [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Surefire report directory:
> > >>>
> >
> C:\Users\bruscinodf\Workspace\brusdev\activemq-artemis\artemis-protocols\artemis-mqtt-protocol\target\surefire-reports
> > >>> [WARNING] The system property basedir is configured twice! The
> property
> > >>> appears in <argLine/> and any of <systemPropertyVariables/>,
> > >>> <systemProperties/> or user property.
> > >>>
> > >>> -------------------------------------------------------
> > >>>   T E S T S
> > >>> -------------------------------------------------------
> > >>> Running
> > >>>
> >
> org.apache.activemq.artemis.core.protocol.mqtt.MQTTRetainMessageManagerTest
> > >>> [main] 18:15:31,909 WARN  [org.apache.activemq.artemis.core.server]
> > >>> AMQ222018: AIO was not located on this platform, it will fall back to
> > using
> > >>> pure Java NIO. If your platform is Linux, install LibAIO to enable
> the
> > AIO
> > >>> journal
> > >>> [main] 18:15:31,928 WARN  [org.apache.activemq.artemis.core.server]
> > >>> AMQ222269: Please use a fixed value for "journal-pool-files". Default
> > >>> changed per https://issues.apache.org/jira/browse/ARTEMIS-1628
> > >>> [main] 18:15:34,505 INFO  [org.apache.activemq.artemis.core.server]
> > >>> AMQ221000: live Message Broker is starting with configuration Broker
> > >>> Configuration
> > >>>
> >
> (clustered=false,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/largemessages,pagingDirectory=data/paging)
> > >>> [main] 18:15:34,526 INFO  [org.apache.activemq.artemis.core.server]
> > >>> AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max
> size
> > >>> (-Xmx). being defined as 518.979.584
> > >>> [main] 18:15:34,554 INFO  [org.apache.activemq.artemis.core.server]
> > >>> AMQ221043: Protocol module found: [artemis-server]. Adding protocol
> > support
> > >>> for: CORE
> > >>> [main] 18:15:34,556 INFO  [org.apache.activemq.artemis.core.server]
> > >>> AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding
> > protocol
> > >>> support for: MQTT
> > >>> [main] 18:15:36,138 INFO  [org.apache.activemq.artemis.core.server]
> > >>> AMQ221020: Started NIO Acceptor at 127.0.0.1:1883 for protocols
> [MQTT]
> > >>> [main] 18:15:36,138 INFO  [org.apache.activemq.artemis.core.server]
> > >>> AMQ221007: Server is now live
> > >>>
> > >>> ...
> > >>>
> > >>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 19.839
> > sec -
> > >>> in
> > >>>
> >
> org.apache.activemq.artemis.core.protocol.mqtt.MQTTRetainMessageManagerTest
> > >>>
> > >>> Results :
> > >>>
> > >>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
> > >>>
> > >>> [INFO]
> > >>> [INFO] --- maven-bundle-plugin:3.0.0:bundle (default-bundle) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO]
> > >>> [INFO] --- maven-site-plugin:3.3:attach-descriptor
> (attach-descriptor)
> > @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO]
> > >>> [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Building jar:
> > >>>
> >
> C:\Users\bruscinodf\Workspace\brusdev\activemq-artemis\artemis-protocols\artemis-mqtt-protocol\target\artemis-mqtt-protocol-2.12.0-SNAPSHOT-sources.jar
> > >>> [INFO]
> > >>> [INFO] --- dependency-check-maven:1.4.3:check (default) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Skipping dependency-check
> > >>> [INFO]
> > >>> [INFO] --- maven-install-plugin:2.4:install (default-install) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Installing
> > >>>
> >
> C:\Users\bruscinodf\Workspace\brusdev\activemq-artemis\artemis-protocols\artemis-mqtt-protocol\target\artemis-mqtt-protocol-2.12.0-SNAPSHOT.jar
> > >>> to
> > >>>
> >
> C:\Users\bruscinodf\.m2\repository\org\apache\activemq\artemis-mqtt-protocol\2.12.0-SNAPSHOT\artemis-mqtt-protocol-2.12.0-SNAPSHOT.jar
> > >>> [INFO] Installing
> > >>>
> >
> C:\Users\bruscinodf\Workspace\brusdev\activemq-artemis\artemis-protocols\artemis-mqtt-protocol\pom.xml
> > >>> to
> > >>>
> >
> C:\Users\bruscinodf\.m2\repository\org\apache\activemq\artemis-mqtt-protocol\2.12.0-SNAPSHOT\artemis-mqtt-protocol-2.12.0-SNAPSHOT.pom
> > >>> [INFO] Installing
> > >>>
> >
> C:\Users\bruscinodf\Workspace\brusdev\activemq-artemis\artemis-protocols\artemis-mqtt-protocol\target\artemis-mqtt-protocol-2.12.0-SNAPSHOT-sources.jar
> > >>> to
> > >>>
> >
> C:\Users\bruscinodf\.m2\repository\org\apache\activemq\artemis-mqtt-protocol\2.12.0-SNAPSHOT\artemis-mqtt-protocol-2.12.0-SNAPSHOT-sources.jar
> > >>> [INFO]
> > >>> [INFO] --- maven-bundle-plugin:3.0.0:install (default-install) @
> > >>> artemis-mqtt-protocol ---
> > >>> [INFO] Installing
> > >>>
> >
> org/apache/activemq/artemis-mqtt-protocol/2.12.0-SNAPSHOT/artemis-mqtt-protocol-2.12.0-SNAPSHOT.jar
> > >>> [INFO] Writing OBR metadata
> > >>> [INFO]
> > >>>
> > ------------------------------------------------------------------------
> > >>> [INFO] BUILD SUCCESS
> > >>> [INFO]
> > >>>
> > ------------------------------------------------------------------------
> > >>> [INFO] Total time: 44.028 s
> > >>> [INFO] Finished at: 2020-04-08T18:15:54+02:00
> > >>> [INFO]
> > >>>
> > ------------------------------------------------------------------------
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Sent from:
> > http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
> > >>
> > >>
> > >> --
> > >> Clebert Suconic
> > >
> > >
> >
> > --
> > Tim Bish
> >
> >
>

Reply via email to