[ovirt-devel] Build failure on F19
Colin Coe
colin.coe at gmail.com
Fri Aug 8 01:48:21 UTC 2014
Hi again
The make completed and now I'm doing the engine-setup.
---
[ INFO ] Stage: Initializing
Setup was run under unprivileged user this will produce
development installation do you wish to proceed? (Yes, No) [No]: yes
[ INFO ] Stage: Environment setup
Configuration files: []
Log file:
/home/coec/git/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20140808092419-qecxxv.log
Version: otopi-1.3.0_master
(otopi-1.3.0-0.0.master.20140728.git336a22e.fc19)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization
--== PRODUCT OPTIONS ==--
Configure Engine on this host (Yes, No) [Yes]:
Configure WebSocket Proxy on this host (Yes, No) [Yes]:
--== PACKAGES ==--
--== ALL IN ONE CONFIGURATION ==--
--== NETWORK CONFIGURATION ==--
Host fully qualified DNS name of this server [localhost.localdomain]:
[WARNING] Failed to resolve localhost.localdomain using DNS, it can be
resolved only locally
--== DATABASE CONFIGURATION ==--
ATTENTION
Manual action required.
Please create database for ovirt-engine use. Use the
following commands as an example:
create role engine with login encrypted password 'engine';
create database engine owner engine
template template0
encoding 'UTF8' lc_collate 'en_US.UTF-8'
lc_ctype 'en_US.UTF-8';
Make sure that database can be accessed remotely.
Engine database host [localhost]:
Engine database port [5432]:
Engine database secured connection (Yes, No) [No]:
Engine database name [engine]:
Engine database user [engine]:
Engine database password:
[ ERROR ] Cannot connect to Engine database: Cannot connect to
database: FATAL: Ident authentication failed for user "engine" FATAL:
Ident authentication failed for user "engine"
---
I had copy pasted the steps from
http://www.ovirt.org/OVirt_Engine_Development_Environment#Database
specifically:
---
su - postgres -c "psql -d template1 -c \"create user engine password
'engine';\""
su - postgres -c "psql -d template1 -c \"create database engine owner
engine template template0 encoding 'UTF8' lc_collate 'en_US.UTF-8'
lc_ctype 'en_US.UTF-8';\""
---
This had run without error. The suggested mods to the PG server
config had been made and the service restarted.
Any ideas what I might be doing wrong here?
Thanks
CC
On Fri, Aug 8, 2014 at 8:33 AM, Colin Coe <colin.coe at gmail.com> wrote:
> Hi Einav
>
> Trying again now.
>
> Many thanks for the fast response.
>
> CC
>
>
> On Fri, Aug 8, 2014 at 7:51 AM, Einav Cohen <ecohen at redhat.com> wrote:
>>
>> > ----- Original Message -----
>> > From: "Colin Coe" <colin.coe at gmail.com>
>> > Sent: Thursday, August 7, 2014 7:35:04 PM
>> >
>> > Hi all
>> >
>> > I'm attempting to build oVirt Engine from git. I've been following
>> > http://www.ovirt.org/OVirt_Engine_Development_Environment
>> >
>> > The errors I'm seeing are:
>> > ---
>> > Results :
>> >
>> > Tests in error:
>> >
>> > initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceInfoDetailTest):
>> > Bad <init> method call from inside of a branch
>> > Exception Details:
>> > Location:
>> >
>> > org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V
>> > @40: invokespecial
>> > Reason:
>> > Error exists in the bytecode
>> > Bytecode:
>> > 0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d
>> > 0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025
>> > 0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d
>> > 0000030: b700 2a01 57b1
>> > Stackmap Table:
>> >
>> > full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})
>> >
>> > full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})
>> >
>> >
>> > initializationError(org.ovirt.engine.api.restapi.resource.BackendResourceDebugDetailTest):
>> > Bad <init> method call from inside of a branch
>> > Exception Details:
>> > Location:
>> >
>> > org/ovirt/engine/api/restapi/resource/AbstractBackendResourceLoggingTest.<init>(Lorg/powermock/core/IndicateReloadClass;)V
>> > @40: invokespecial
>> > Reason:
>> > Error exists in the bytecode
>> > Bytecode:
>> > 0000000: 2a2b 4e4d 1210 b800 1604 bd00 0d59 032d
>> > 0000010: 5312 a6b8 001b b800 213a 0519 05b2 0025
>> > 0000020: a500 0e2a 01c0 0027 b700 2aa7 000a 2c2d
>> > 0000030: b700 2a01 57b1
>> > Stackmap Table:
>> >
>> > full_frame(@46,{UninitializedThis,Object[#39],UninitializedThis,Object[#39],Top,Object[#13]},{})
>> >
>> > full_frame(@53,{Object[#2],Object[#39],Object[#2],Object[#39],Top,Object[#13]},{})
>> >
>> >
>> > Tests run: 1427, Failures: 0, Errors: 2, Skipped: 71
>> >
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> > [INFO] ovirt-root ........................................ SUCCESS
>> > [0.759s]
>> > [INFO] oVirt Build Tools root ............................ SUCCESS
>> > [0.026s]
>> > [INFO] oVirt checkstyle .................................. SUCCESS
>> > [2.449s]
>> > [INFO] oVirt JBoss Modules Maven Plugin .................. SUCCESS
>> > [7.475s]
>> > [INFO] oVirt Checkstyle Checks ........................... SUCCESS
>> > [0.442s]
>> > [INFO] Extensions API root ............................... SUCCESS
>> > [0.469s]
>> > [INFO] ovirt-engine-extensions-api ....................... SUCCESS
>> > [9.139s]
>> > [INFO] oVirt Modules - backend ........................... SUCCESS
>> > [0.009s]
>> > [INFO] oVirt Manager ..................................... SUCCESS
>> > [0.027s]
>> > [INFO] oVirt Engine dependencies ......................... SUCCESS
>> > [5.124s]
>> > [INFO] oVirt Modules - manager ........................... SUCCESS
>> > [1.820s]
>> > [INFO] Universal utilities ............................... SUCCESS
>> > [1.977s]
>> > [INFO] Extensions manager ................................ SUCCESS
>> > [1.645s]
>> > [INFO] CSharp Compatibility .............................. SUCCESS
>> > [3.162s]
>> > [INFO] Common Code ....................................... SUCCESS
>> > [13.578s]
>> > [INFO] Common utilities .................................. SUCCESS
>> > [26.240s]
>> > [INFO] Data Access Layer ................................. SUCCESS
>> > [4.415s]
>> > [INFO] engine scheduler bean ............................. SUCCESS
>> > [1.519s]
>> > [INFO] Vds broker ........................................ SUCCESS
>> > [6.338s]
>> > [INFO] Backend Authentication, Authorization and Accounting SUCCESS
>> > [1.271s]
>> > [INFO] builtin-extensions ................................ SUCCESS
>> > [1.574s]
>> > [INFO] Search Backend .................................... SUCCESS
>> > [2.958s]
>> > [INFO] Backend Logic @Service bean ....................... SUCCESS
>> > [44.189s]
>> > [INFO] oVirt RESTful API Backend Integration ............. SUCCESS
>> > [0.305s]
>> > [INFO] oVirt RESTful API interface ....................... SUCCESS
>> > [0.138s]
>> > [INFO] oVirt Engine API Definition ....................... SUCCESS
>> > [9.658s]
>> > [INFO] oVirt Engine API Commom Parent POM ................ SUCCESS
>> > [0.137s]
>> > [INFO] oVirt Engine API Common JAX-RS .................... SUCCESS
>> > [2.500s]
>> > [INFO] oVirt RESTful API Backend Integration Type Mappers SUCCESS
>> > [2:14.079s]
>> > [INFO] Branding package .................................. SUCCESS
>> > [6.994s]
>> > [INFO] oVirt RESTful API Backend Integration JAX-RS Resources FAILURE
>> > [47.614s]
>> > [INFO] oVirt RESTful API Backend Integration Webapp ...... SKIPPED
>> > [INFO] Custom Logger Using Extensions .................... SKIPPED
>> > [INFO] oVirt Engine Web Root ............................. SKIPPED
>> > [INFO] ovirt-engine services ............................. SKIPPED
>> > [INFO] oVirt Engine Web Docs ............................. SKIPPED
>> > [INFO] ovirt-engine welcome .............................. SKIPPED
>> > [INFO] oVirt Engine Tools ................................ SKIPPED
>> > [INFO] oVirt Modules :: Frontend ......................... SKIPPED
>> > [INFO] oVirt Modules :: Webadmin ......................... SKIPPED
>> > [INFO] oVirt Modules - ui ................................ 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] WebAdmin .......................................... SKIPPED
>> > [INFO] UserPortal ........................................ SKIPPED
>> > [INFO] oVirt Server EAR .................................. SKIPPED
>> > [INFO] ovirt-engine maven make ........................... SKIPPED
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 5:40.998s
>> > [INFO] Finished at: Fri Aug 08 07:28:15 WST 2014
>> > [INFO] Final Memory: 88M/211M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] Failed to execute goal
>> > org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test)
>> > on
>> > project restapi-jaxrs: There are test failures.
>> > [ERROR]
>> > [ERROR] Please refer to
>> >
>> > /home/coec/git/ovirt-engine/backend/manager/modules/restapi/jaxrs/target/surefire-reports
>> > for the individual test results.
>> > [ERROR] -> [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/MojoFailureException
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with the
>> > command
>> > [ERROR] mvn <goals> -rf :restapi-jaxrs
>> > make[2]: *** [maven] Error 1
>> > make[2]: Leaving directory `/home/coec/git/ovirt-engine'
>> > make[1]: *** [tmp.built] Error 2
>> > make[1]: Leaving directory `/home/coec/git/ovirt-engine'
>> > make: *** [all-dev] Error 2
>> > [coec at localhost ovirt-engine]$
>> > ---
>> >
>> > Any ideas?
>>
>> I've received the same results - there's probably a broken REST API
>> unit-test.
>> to workaround the problem, I simply run the 'make' command with skipping
>> the
>> unit-tests invocation, like this:
>>
>> $> make install-dev PREFIX="$HOME/ovirt-engine" BUILD_UT=0
>>
>> >
>> > Thanks
>> >
>> > CC
>> >
>> >
>> > --
>> > RHCE#805007969328369
>> >
>> > _______________________________________________
>> > Devel mailing list
>> > Devel at ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/devel
>
>
>
>
> --
> RHCE#805007969328369
--
RHCE#805007969328369
More information about the Devel
mailing list