Bug 1400010 - [UI] - ERROR: Possible problem with your *.gwt.xml module file when entering and refreshing the engine webadmin ui on chrome browser only
Summary: [UI] - ERROR: Possible problem with your *.gwt.xml module file when entering ...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.1.0-beta
: ---
Assignee: Greg Sheremeta
QA Contact: Pavel Stehlik
URL:
Whiteboard:
: 1433674 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-30 09:38 UTC by Michael Burman
Modified: 2017-03-20 11:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-22 17:18:00 UTC
oVirt Team: UX
Embargoed:
oourfali: ovirt-4.1?
oourfali: planning_ack?
oourfali: devel_ack?
oourfali: testing_ack?


Attachments (Terms of Use)
chrome error (142.05 KB, application/x-gzip)
2016-11-30 09:38 UTC, Michael Burman
no flags Details

Description Michael Burman 2016-11-30 09:38:25 UTC
Created attachment 1226203 [details]
chrome error

Description of problem:
[UI] - ERROR: Possible problem with your *.gwt.xml module file when entering and refreshing the engine webadmin ui on chrome browser only and latest master 4.1.0-0.0.master.20161129231316.git4dae799.el7.centos.noarch

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0-0.0.master.20161129231316.git4dae799.el7.centos.noarch
google-chrome-stable-54.0.2840.100-1.x86_64
google-chrome-stable-54.0.2840.59-1.x86_64

How reproducible:
100

Steps to Reproduce:
1. Update to latest master and log in to the webadmin ui via chrome browser or refresh the web page.

Actual results:
An error appears - 
ERROR: Possible problem with your *.gwt.xml module file.
The compile time user.agent value (gecko1_8) does not match the runtime user.agent value (safari). Expect more errors. 

Expected results:
No error should displayed once entering the webadmin ui

Additional info:
This error appears only on chrome browser. On firefox everything looks ok.

Comment 1 Oved Ourfali 2016-11-30 13:11:14 UTC
my hunch is that it will be hard to fix, but let's see what Alexander has to say.

Comment 2 Greg Sheremeta 2016-11-30 13:14:02 UTC
This sounds like something went wrong with the build. There should be 3 permutations per locale -- one for Firefox (gecko1_8), Chrome/Safari (safari), and older IEs. Sounds like something happened and the safari one is missing.

Comment 3 Alexander Wels 2016-11-30 13:40:09 UTC
My guess is that the nightly build or whichever build he grabbed was just compiling the firefox mutation, and none of the other ones to speed up compile times. I am also fairly confident that switching locales will have 0 effect as well and it will be stuck on English due to the same reasons.

So yes this is not a bug, its the build you are using.

Comment 4 Michael Burman 2016-11-30 13:45:56 UTC
I'm using the nightly master build - 4.1.0-0.0.master.20161129231316.git4dae799.el7.centos.noarch

Comment 5 Greg Sheremeta 2016-11-30 14:05:16 UTC
@Michael, do you usually use the nightly, and if so, is this a new problem?

Comment 6 Michael Burman 2016-11-30 14:38:34 UTC
Hi Greg, yes, i usually use the nightly build and i run an update every morning.
This is indeed a new problem from the current version - 4.1.0-0.0.master.20161129231316.git4dae799.el7.centos.noarch

Comment 7 Greg Sheremeta 2016-12-21 21:17:27 UTC
I can't duplicate on master today.

@Michael, is it still happening?

Comment 8 Michael Burman 2016-12-22 07:43:45 UTC
Hi Greg,

Yes it is. Still happening on latest master - ovirt-engine-4.2.0-0.0.master.20161221210253.git7a6f88e.el7.centos.noarch

Comment 9 Greg Sheremeta 2016-12-22 17:18:00 UTC
Ok, I verified that it's a problem with the build.

21:02:46 + BUILD_UT=0
21:02:46 ++ git rev-parse --short HEAD
21:02:46 + SUFFIX=.git7a6f88e
21:02:46 + '[' -d /root/.m2/repository/org/ovirt ']'
21:02:46 + echo 'Deleting ovirt folder from maven cache'
21:02:46 Deleting ovirt folder from maven cache
21:02:46 + rm -rf /root/.m2/repository/org/ovirt
21:02:46 + MAVEN_SETTINGS=/etc/maven/settings.xml
21:02:46 + export 'BUILD_JAVA_OPTS_MAVEN=    -Dgwt.compiler.localWorkers=1 '
21:02:46 + BUILD_JAVA_OPTS_MAVEN='    -Dgwt.compiler.localWorkers=1 '
21:02:46 + export 'EXTRA_BUILD_FLAGS=-gs /etc/maven/settings.xml'
21:02:46 + EXTRA_BUILD_FLAGS='-gs /etc/maven/settings.xml'
21:02:46 + export 'BUILD_JAVA_OPTS_GWT=    -Xms1G     -Xmx4G '
21:02:46 + BUILD_JAVA_OPTS_GWT='    -Xms1G     -Xmx4G '
21:02:46 + export JAVA_HOME=/usr/lib/jvm/java-1.8.0
21:02:46 + JAVA_HOME=/usr/lib/jvm/java-1.8.0
21:02:46 + mkdir -p /etc/maven
21:02:46 + cat
21:02:46 + rm -rf output
21:02:46 + rm -f './*tar.gz'
21:02:46 + make clean 'EXTRA_BUILD_FLAGS=-gs /etc/maven/settings.xml'
21:02:47 # Clean maven generated stuff:
21:02:47 mvn clean -gs /etc/maven/settings.xml
21:02:49 [INFO] Scanning for projects...
21:02:50 [INFO] ------------------------------------------------------------------------
21:02:50 [INFO] Reactor Build Order:

<snip>

21:13:24 [INFO]    Compiling 1 permutation
21:13:24 [INFO]       Compiling permutation 0...
21:16:54 [INFO]    Compile of permutations succeeded

That 1 single permutation is for Firefox. All other browsers will get the error with this build.

I'm not sure what changed, but the CI team will need to update the build and specify both permutations (or 3, if you need IE to work).

I'll open a ticket on them and close this one.

Comment 10 Greg Sheremeta 2017-03-20 11:54:54 UTC
*** Bug 1433674 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.