EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus
From: Charles Merrill Jenkins via Tech-talk <tech-talk at aps.anl.gov>
To: Tynan Ford <TFord at lbl.gov>, "Kasemir, Kay" <kasemirk at ornl.gov>
Cc: Phoebus Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 27 Jul 2023 16:47:49 -0500
Hello All,

I have just tested the "most recent version of pheobus build" with the alarm-server running, and it appears to be working.
I am using:
apache.maven.3.9.3
The latest epics-base (from github)
jdk-18.0.2
kafka_2.13-3.5.0
and the latest version of Phoebus (from github)

All of these programs are available for download (for now).

Remember for the phoebus build:
Edit "phoebus/phoebus-master/pom.xml" and replace "tasks" with "target"
> mvn clean verify -f dependencies/pom.xml
> mvn -DskipTests clean install

Thanks to everyone that help me.

Thanks,
Merrill Jenkins

On 7/27/23 15:30, Charles Merrill Jenkins wrote:
Hello All,

I have been able to get the latest release of phoebus from gihub and build it with jdk18 and maven.3.9.3.

In the previous message, I used maven.3.9.2 to build successfully the latest version of phoebus.  There is a problem with this, you can only get maven.3.9.3 now (I could not find a maven.3.9.2 download). 

Phoebus will not build with jdk18 and maven.3.9.3.   The error message was:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (default) on project product: You are using 'tasks' which has been removed from the maven-antrun-plugin. Please use 'target' and refer to the >>Major Version Upgrade to version 3.0.0<< on the plugin site.

I was able to correct this by editing the "phoebus/phoebus-product/pom.xml" file and replace "tasks" with "target".  After doing so, I was able to successfully build the latest version of phoebus.  I have not checked this yet by running it with EPICS, kafka and the alarm package. 


Thanks,
Merrill Jenkins

On 7/27/23 13:38, Charles Merrill Jenkins wrote:
Hello All,

I thought I sent this E-mail earlier, but I don't see a copy in my inbox.  So I am repeating it. 
I was able to get the latest version of Phoebus to build using jdk18 and maven.3.9.2 and not using the tests upon build.

git clone --recursive https://github.com/ControlSystemStudio/phoebus.git
mvn clean verify -f dependencies/pom.xml
mvn -DskipTests clean install

I have not tried to run this version, yet.  I need to set up EPICS and kafka.  I will use the older version of kafka: kafka_2.13-3.5.1.

Thanks,
Merrill Jenkins

On 7/27/23 11:55, Charles Merrill Jenkins wrote:
Hello All,

The build fails even with skipping the tests.
I have just tried to build an older version of Phoebus, that did build in the past using jdk18 and maven.3.9.2.  And it failed with:

mvn clean install

I tried again with:

mvn -DskipTests clean install

And the build was successful. The problem is that I don't know what version of phoebus I used, and I have not tried to run it with the alarms server.  I will try to build the latest version of phoebus with jdk18 and maven.3.9.2 using the -DskipTests flag.  

Thanks,
Merrill Jenkins

On 7/27/23 11:07, Tynan Ford wrote:
The unit test failure could be due to firewall rules blocking ports used in core-pva tests - https://github.com/ControlSystemStudio/phoebus/issues/2563

On Thu, Jul 27, 2023, 11:49 AM Kasemir, Kay via Tech-talk <tech-talk at aps.anl.gov> wrote:

Hi:

 

> The build fails when using
> mvn clean install
> … [ERROR]   ServerClientTest.testSinglePV:259
>…[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

So it fails a unit test. That’s somewhat interesting, in principle the tests should pass, and they do for the automatic build on github. The issue could be related to bad luck for tests that depend on timing, or maybe it’s related to localization, some text looks different.

> I will try to use the -DskipTests for the clean install

Right, first build without the tests. Once that succeeds, you can try to debug the test failure, but that would be a second, optional step.

>  I am using jkd 20.0.2 and maven 3.9.3.

The JDK version could be a factor in the test result, but to know more we’d have to get the complete stack trace of the test failure.

 

-- 
+++++++++++++++++++++++++
Merrill Jenkins
Professor of Physics
==== Mailing Address ====
Physics
411 University Blvd. N.
MSPB RM 115
Mobile, AL 36688
phone 251.414.8013
Dept: 251.460.6224

-- 
+++++++++++++++++++++++++
Merrill Jenkins
Professor of Physics
==== Mailing Address ====
Physics
411 University Blvd. N.
MSPB RM 115
Mobile, AL 36688
phone 251.414.8013
Dept: 251.460.6224

-- 
+++++++++++++++++++++++++
Merrill Jenkins
Professor of Physics
==== Mailing Address ====
Physics
411 University Blvd. N.
MSPB RM 115
Mobile, AL 36688
phone 251.414.8013
Dept: 251.460.6224

-- 
+++++++++++++++++++++++++
Merrill Jenkins
Professor of Physics
==== Mailing Address ====
Physics
411 University Blvd. N.
MSPB RM 115
Mobile, AL 36688
phone 251.414.8013
Dept: 251.460.6224

References:
Best Site to Download Latest Version of Phoebus Charles Jenkins via Tech-talk
Re: Best Site to Download Latest Version of Phoebus Charles Merrill Jenkins via Tech-talk
Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Kasemir, Kay via Tech-talk
Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Charles Merrill Jenkins via Tech-talk
Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Kasemir, Kay via Tech-talk
Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Tynan Ford via Tech-talk
Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Charles Merrill Jenkins via Tech-talk
Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Charles Merrill Jenkins via Tech-talk
Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Charles Merrill Jenkins via Tech-talk

Navigate by Date:
Prev: Re: Process aSub record on arrival of data Ralph Lange via Tech-talk
Next: Re: Access Nth element in array with CSS Phoebus. Eusebio Naif Al-Soliman Fuentes via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Re: Best Site to Download Latest Version of Phoebus Charles Merrill Jenkins via Tech-talk
Next: Process aSub record on arrival of data Matt Rippa via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 28 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·