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