hosted-engine dependency broken
by Sandro Bonazzola
Hi,
following commit:
8<---------------------------------------
commit a3217daf995680e07879a68ad18b3f7900b09f74
Author: mnecas <necas.marty(a)gmail.com>
Date: Mon Nov 11 14:01:40 2019 +0100
remove el8 from automation.yaml
diff --git a/automation.yaml b/automation.yaml
index fcc3f1f..0d02263 100644
--- a/automation.yaml
+++ b/automation.yaml
@@ -1,6 +1,5 @@
distros:
- fc30
- el7
- - el8
release_branches:
master: [ "ovirt-master" ]
8<---------------------------------------
removed ovirt-ansible-engine-setup build on el8 causing
ovirt-ansible-hosted-engine-setup dependency failure.
Is there any reason for this?
Was this patch reviewed?
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.*
4 years, 11 months
Can't start engine on master after rebasing
by Shani Leviim
Hi,
I've rebased my master version today and now I can't start my engine.
I'm getting this error message:
Traceback (most recent call last):
File
"/home/sleviim/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py",
line 24, in <module>
from ovirt_engine import service
File
"/home/sleviim/ovirt-engine/usr/lib/python2.7/site-packages/ovirt_engine/service.py",
line 24, in <module>
import daemon
ModuleNotFoundError: No module named 'daemon'
I suspect this line on packaging/services/ovirt-engine/ovirt-engine.py.in:
#!/usr/bin/python@PY_VERSION@
*Regards,*
*Shani Leviim*
4 years, 11 months
[MAKE-INSTALL-FAILS]
by Prajith Kesava Prasad
hi all,
does anyone else get this error while make clean build of ovirt? upgrading
to maven 3.6 did not help , the funny thing is i did not even make any
change and i started getting this error
Any help would be appreciated.
Thanks,
Prajith
[INFO] ------------< org.ovirt.engine:ovirt-checkstyle-extension
>-------------
[INFO] Building oVirt Checkstyle Checks 4.4.0-SNAPSHOT
[5/62]
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
ovirt-checkstyle-extension ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @
ovirt-checkstyle-extension ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to
/home/prajip/workspace/ovirt-engine/build-tools-root/ovirt-checkstyle-extension/target/classes
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] oVirt Findbugs Filters ............................. SUCCESS [
1.113 s]
[INFO] ovirt-root 4.4.0-SNAPSHOT .......................... SUCCESS [
0.317 s]
[INFO] oVirt Build Tools root ............................. SUCCESS [
0.042 s]
[INFO] oVirt checkstyle ................................... SUCCESS [
16.461 s]
[INFO] oVirt Checkstyle Checks ............................ FAILURE [
0.159 s]
[INFO] oVirt Modules - backend ............................ SKIPPED
[INFO] oVirt Manager ...................................... SKIPPED
[INFO] oVirt Engine dependencies .......................... SKIPPED
[INFO] oVirt Engine common dependencies ................... SKIPPED
[INFO] oVirt Engine tools dependencies .................... SKIPPED
[INFO] Utilities to extend java.logging framework ......... SKIPPED
[INFO] Extensions API root 0.0.0-SNAPSHOT ................. SKIPPED
[INFO] ovirt-engine-extensions-api 0.0.0-SNAPSHOT ......... SKIPPED
[INFO] oVirt Modules - manager ............................ SKIPPED
[INFO] Universal utilities ................................ SKIPPED
[INFO] Extensions manager ................................. SKIPPED
[INFO] GWT UI Compatibility ............................... SKIPPED
[INFO] Common Code ........................................ SKIPPED
[INFO] Common utilities ................................... SKIPPED
[INFO] Branding package ................................... SKIPPED
[INFO] ovirt-engine sso ................................... SKIPPED
[INFO] Data Access Layer .................................. SKIPPED
[INFO] engine scheduler bean .............................. SKIPPED
[INFO] Vds broker ......................................... SKIPPED
[INFO] builtin-extensions ................................. SKIPPED
[INFO] Search Backend ..................................... SKIPPED
[INFO] Backend Authentication, Authorization and Accounting SKIPPED
[INFO] Custom Application Server Authentication Plugin .... SKIPPED
[INFO] Backend Logic @Service bean ........................ SKIPPED
[INFO] oVirt RESTful API Backend Integration .............. SKIPPED
[INFO] oVirt RESTful API interface ........................ SKIPPED
[INFO] oVirt Engine API Definition ........................ SKIPPED
[INFO] oVirt Engine API Commom Parent POM ................. SKIPPED
[INFO] oVirt Engine API Common JAX-RS ..................... SKIPPED
[INFO] oVirt RESTful API Backend Integration Type Mappers . SKIPPED
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources SKIPPED
[INFO] oVirt RESTful API Backend Integration Webapp ....... SKIPPED
[INFO] oVirt RESTful API Documentation .................... SKIPPED
[INFO] Custom Logger Using Extensions ..................... SKIPPED
[INFO] oVirt Engine Web Root .............................. SKIPPED
[INFO] ovirt-engine services .............................. SKIPPED
[INFO] ovirt-engine docs .................................. SKIPPED
[INFO] ovirt-engine welcome ............................... SKIPPED
[INFO] oVirt Engine Microbenchmarks ....................... SKIPPED
[INFO] oVirt Engine Tools ................................. SKIPPED
[INFO] oVirt Engine extensions tool ....................... SKIPPED
[INFO] oVirt Engine sso client registration tool .......... SKIPPED
[INFO] oVirt Modules :: Frontend .......................... SKIPPED
[INFO] oVirt Modules :: Brands ............................ SKIPPED
[INFO] oVirt Engine brand ................................. SKIPPED
[INFO] oVirt Modules :: Webadmin .......................... SKIPPED
[INFO] oVirt UI Modules ................................... SKIPPED
[INFO] AOP tweaks for GWT compiler ........................ SKIPPED
[INFO] Extensions for GWT ................................. SKIPPED
[INFO] UI Utils Compatibility (for UICommon) .............. SKIPPED
[INFO] Frontend for GWT UI Projects ....................... SKIPPED
[INFO] UICommonWeb ........................................ SKIPPED
[INFO] oVirt GWT UI common infrastructure ................. SKIPPED
[INFO] Frontend Assembly Descriptors ...................... SKIPPED
[INFO] WebAdmin ........................................... SKIPPED
[INFO] oVirt Server EAR ................................... SKIPPED
[INFO] ovirt-engine maven make 4.4.0-SNAPSHOT ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18.850 s
[INFO] Finished at: 2019-11-25T15:08:58+05:30
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
(default-compile) on project ovirt-checkstyle-extension: Fatal error
compiling: invalid flag: --release -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :ovirt-checkstyle-extension
4 years, 11 months
urgent: last passing engine is 7 days old
by Sandro Bonazzola
Hi,
last engine passing OST is
71338988 - vdsbroker: logger statement fixed (7 days ago) <Artur Socha>
we need to get newer engine passing OST in order to compose Alpha.
Can you please help fixing this?
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.*
4 years, 11 months
urgent: last passing vdsm is 8 days old
by Sandro Bonazzola
Hi,
last passing vdsm is
* 63ea8cb8b - net, nmstate: Fix getting wrong attribute from setup networks
(8 days ago) <Ales Musil>
can you please help getting new vdsm pass OST?
Thanks,
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.*
4 years, 11 months
Failed to run VDSM tests locally using tox
by Eyal Shenitzky
Hi,
I am failing to run VDSM tests locally using tox, failed with the following
error:
ImportError while loading conftest
'/home/eshenitz/git/vdsm/tests/storage/conftest.py'.
storage/conftest.py:36: in <module>
from vdsm import jobs
../lib/vdsm/jobs.py:29: in <module>
from vdsm.config import config
../lib/vdsm/config.py:29: in <module>
from vdsm.common.config import * # NOQA: F401, F403
E ModuleNotFoundError: No module named 'vdsm.common.config'
Did someone encounter this problem?
I cannot run vdsm-tool configure --force because it exists only in python-2
version
--
Regards,
Eyal Shenitzky
4 years, 12 months
unit tests, surefire and spotbugs tests on ovirt-engine at check-patch stage
by Sandro Bonazzola
Hi,
looking at ovirt-engine CI automation scripts, I see:
export EXTRA_BUILD_FLAGS="-gs $MAVEN_SETTINGS \
-Dovirt.surefire.reportsDirectory=${PWD}/exported-artifacts/tests \
"
But looking at exported data, there's no exported-artifacts/tests directory.
Looking at build execution I see:
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @
ovirt-findbugs-filters ---
[INFO] Tests are skipped.
...
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ checkstyles ---
[INFO] Tests are skipped.
and so on.
This is due to the build happening with
RPM_BUILD_MODE="ovirt_build_quick"
which cause the setting of %global _ovirt_build_ut 0
which set BUILD_UT=0
which skip all tests due to:
ifeq ($(BUILD_UT),0)
BUILD_FLAGS:=$(BUILD_FLAGS) -D skipTests
endif
Also, check patch has:
# Since spotbugs is a pure java task, there's no reason to run it on
multiple
# platforms.
# Spotbugs currently has false negatives using mvn 3.5.0, which is the
currnt centos version from SCL (rh-maven35).
# We will work with the Fedora version meanwhile which has maven 3.5.4 and
is known to work.
if [[ "$STD_CI_DISTRO" =~ "fc" ]]; then
source automation/spotbugs.sh
fi
so spotbugs is executed only on Fedora but then:
if [[ "$STD_CI_DISTRO" = "el7" ]]; then
# Collect any mvn spotbugs artifacts
mkdir -p exported-artifacts/find-bugs
find * -name "*spotbugs.xml" -o -name "spotbugsXml.xml" | \
while read source_file; do
destination_file=$(
sed -e 's#/#-#g' -e 's#\(.*\)-#\1.#' <<< "$source_file"
)
mv $source_file exported-artifacts/find-bugs/"$destination_file"
done
mv ./*tar.gz exported-artifacts/
fi
so assuming we re-enable tests there, results are collected only on el7
meaning we are never getting results of this test.
Can we decide what we really want check-patch to do?
Either we want test results and we should enable proper build including
tests or we should drop all of this broken test result collection code.
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.*
4 years, 12 months