Discussion: How to test Zanata well for translate-dev.openstack.org?
Hello, First of all, I am really sorry for raising this issue late. (I have thought that I already shared it through openstack-i18n mailing list, but it was actually in my draft mailbox..) Previously, when I18n team migrated translation platform from Transifex to Zanata, http://translate-dev.openstack.org was used to test Zanata. Current Zanata version we use is 3.7.3, and now I18n wants to have newer Zanata version (e.g., 3.9.6: https://github.com/zanata/zanata-platform/releases/tag/server-3.9.6 - current latest) with a few bug fixes and newer functionalities. Infra team is now helping to upgrade Zanata with server operating system upgrade (Current translate.openstack.org uses Trusty - Ubuntu 14.04 but newer Zanata version needs Xenial - Ubuntu 16.04), and now http://translate-dev.openstack.org is running with current Zanata 3.7.3 version and *Xenial*! For the first step, I18n team needs to test translate-dev.openstack.org - whether Zanata 3.7.3 works with Xenial operating system or not. Please see possible test items on Etherpad: https://etherpad.openstack.org/p/i18n-zanata-test-for-translate-dev Actually, since I did not involve too much on previously migration from Transifex to Zanata, I am not sure whether current test items on Etherpad is sufficient for Zanata test or not. So, please review test items for such testing purposes and add or modify items if needed. Also, involving translate-dev test activities and updating test result with 'O' mark in Etherpad will be really appreciated. If our test result is fine, then the next step would be to test Zanata latest version with Xenial on translate-dev.openstack.org . With many thanks, /Ian
On 22/12/16 03:20, Ian Y. Choi wrote:
For the first step, I18n team needs to test translate-dev.openstack.org - whether Zanata 3.7.3 works with Xenial operating system or not.
The four big things to check are: * Does the website work reliably? Can you log in, browse translations, and switch between projects? * Can you modify a translation and have that change reflected if you close the browser and then log back in and check? * Can you download translations from the -dev server[1]? * Can you push new source files from a project to the -dev server[1]? [1]: I've forgotten some of the details, but there's a tool in project-config under jenkins/scripts called create-zanata-xml.py that create a suitable XML file[2] so you can use the Zanata CLI to test those two parts. [2]: With the correct options of course, which are used in upstream_translation_update.sh and friends in the same directory in project-config. Thanks, -- Steve "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." - Daniel Pead
Hello Steve, Thanks a lot for your kind comments! I have added more items and completed all the tests with notes which things I have changed for such tests reflecting the four big things you have mentioned and comments : https://etherpad.openstack.org/p/i18n-zanata-test-for-translate-dev Alex, When I tested Zanata 3.7.3 with Xenial on translate-dev.openstack.org, the server showed an error message like "Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded and the cpus are spinning" when I created a version with 20107950 words (creating "stable-newton" branch from "master" for openstack-manuals ). Clark and me now think that since the main difference is Xenial with Java 8, it might be either : java 8 needs more in general or Zanata : java 8 needs more : just Zanata needs more on the newer version. Clark confirmed that translate-dev and translate servers have the same amount of memory on the server and also the jvm heap size is the same. Could you give me some ideas for dealing with issue, such as the root cause of this error and/or recommendations of memory sizes? With many thanks, /Ian Steve Kowalik wrote on 12/23/2016 12:44 PM:
On 22/12/16 03:20, Ian Y. Choi wrote:
For the first step, I18n team needs to test translate-dev.openstack.org - whether Zanata 3.7.3 works with Xenial operating system or not.
The four big things to check are: * Does the website work reliably? Can you log in, browse translations, and switch between projects? * Can you modify a translation and have that change reflected if you close the browser and then log back in and check? * Can you download translations from the -dev server[1]? * Can you push new source files from a project to the -dev server[1]?
[1]: I've forgotten some of the details, but there's a tool in project-config under jenkins/scripts called create-zanata-xml.py that create a suitable XML file[2] so you can use the Zanata CLI to test those two parts. [2]: With the correct options of course, which are used in upstream_translation_update.sh and friends in the same directory in project-config.
Thanks,
Clark and me now think that since the main difference is Xenial with Java 8, it might be either : java 8 needs more in general or Zanata : java 8 needs more : just Zanata needs more on the newer version. Clark confirmed that translate-dev and translate servers have the same amount of memory on the server and also the jvm heap size is the same. Could you give me some ideas for dealing with issue, such as the root cause of this error and/or recommendations of memory sizes?
This might due to the hardware have not enough memory to handle huge load of data. How much memory is allocated for Zanata in the server? we might need to increase it. --------------------------------------------- Alex Eng Senior Software Engineer Globalisation Tools Engineering DID: +61 3514 8262 <callto:+61+3514+8262> Mobile: +614 2335 3457 <callto:+614+2335+3457> Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8100 <callto:+61+7+3514+8100> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199> Website: www.redhat.com On Wed, Jan 11, 2017 at 3:28 AM, Ian Y. Choi <ianyrchoi@gmail.com> wrote:
Hello Steve,
Thanks a lot for your kind comments!
I have added more items and completed all the tests with notes which things I have changed for such tests reflecting the four big things you have mentioned and comments : https://etherpad.openstack.org/p/i18n-zanata-test-for-translate-dev
Alex,
When I tested Zanata 3.7.3 with Xenial on translate-dev.openstack.org, the server showed an error message like "Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded and the cpus are spinning" when I created a version with 20107950 words (creating "stable-newton" branch from "master" for openstack-manuals ).
Clark and me now think that since the main difference is Xenial with Java 8, it might be either : java 8 needs more in general or Zanata : java 8 needs more : just Zanata needs more on the newer version.
Clark confirmed that translate-dev and translate servers have the same amount of memory on the server and also the jvm heap size is the same.
Could you give me some ideas for dealing with issue, such as the root cause of this error and/or recommendations of memory sizes?
With many thanks,
/Ian
Steve Kowalik wrote on 12/23/2016 12:44 PM:
On 22/12/16 03:20, Ian Y. Choi wrote:
For the first step, I18n team needs to test translate-dev.openstack.org - whether Zanata 3.7.3 works with Xenial operating system or not.
The four big things to check are: * Does the website work reliably? Can you log in, browse translations, and switch between projects? * Can you modify a translation and have that change reflected if you close the browser and then log back in and check? * Can you download translations from the -dev server[1]? * Can you push new source files from a project to the -dev server[1]?
[1]: I've forgotten some of the details, but there's a tool in project-config under jenkins/scripts called create-zanata-xml.py that create a suitable XML file[2] so you can use the Zanata CLI to test those two parts. [2]: With the correct options of course, which are used in upstream_translation_update.sh and friends in the same directory in project-config.
Thanks,
Dear Zanata friends, as discussed today in our I18N team meeting I implemented an option to configure MySQL backups in puppet-zanata. Please take a look for review: https://review.openstack.org/#/c/419389/ thx Frank ----- Original Nachricht ---- Von: Alex Eng <aeng@redhat.com> An: "Ian Y. Choi" <ianyrchoi@gmail.com> Datum: 10.01.2017 22:45 Betreff: Re: [OpenStack-I18n] Discussion: How to test Zanata well for translate-dev.openstack.org?
Clark and me now think that since the main difference is Xenial with Java 8, it might be either : java 8 needs more in general or Zanata : java 8 needs more : just Zanata needs more on the newer version. Clark confirmed that translate-dev and translate servers have the same amount of memory on the server and also the jvm heap size is the same. Could you give me some ideas for dealing with issue, such as the root cause of this error and/or recommendations of memory sizes?
This might due to the hardware have not enough memory to handle huge load of data. How much memory is allocated for Zanata in the server? we might need to increase it.
---------------------------------------------
Alex Eng Senior Software Engineer Globalisation Tools Engineering DID: +61 3514 8262 <callto:+61+3514+8262> Mobile: +614 2335 3457 <callto:+614+2335+3457>
Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8100 <callto:+61+7+3514+8100> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199> Website: www.redhat.com
On Wed, Jan 11, 2017 at 3:28 AM, Ian Y. Choi <ianyrchoi@gmail.com> wrote:
Hello Steve,
Thanks a lot for your kind comments!
I have added more items and completed all the tests with notes which things I have changed for such tests reflecting the four big things you have mentioned and comments : https://etherpad.openstack.org/p/i18n-zanata-test-for-translate-dev
Alex,
When I tested Zanata 3.7.3 with Xenial on translate-dev.openstack.org, the server showed an error message like "Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded and the cpus are spinning" when I created a version with 20107950 words (creating "stable-newton" branch from "master" for openstack-manuals ).
Clark and me now think that since the main difference is Xenial with Java 8, it might be either : java 8 needs more in general or Zanata : java 8 needs more : just Zanata needs more on the newer version.
Clark confirmed that translate-dev and translate servers have the same amount of memory on the server and also the jvm heap size is the same.
Could you give me some ideas for dealing with issue, such as the root cause of this error and/or recommendations of memory sizes?
With many thanks,
/Ian
Steve Kowalik wrote on 12/23/2016 12:44 PM:
On 22/12/16 03:20, Ian Y. Choi wrote:
For the first step, I18n team needs to test translate-dev.openstack.org - whether Zanata 3.7.3 works with Xenial operating system or not.
The four big things to check are: * Does the website work reliably? Can you log in, browse translations, and switch between projects? * Can you modify a translation and have that change reflected if you close the browser and then log back in and check? * Can you download translations from the -dev server[1]? * Can you push new source files from a project to the -dev server[1]?
[1]: I've forgotten some of the details, but there's a tool in project-config under jenkins/scripts called create-zanata-xml.py that create a suitable XML file[2] so you can use the Zanata CLI to test those two parts. [2]: With the correct options of course, which are used in upstream_translation_update.sh and friends in the same directory in project-config.
Thanks,
--------------------------------
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Can't access to the https://review.openstack.org/#/c/419389/, 503-service unavailable. --------------------------------------------- Alex Eng Senior Software Engineer Globalisation Tools Engineering DID: +61 3514 8262 <callto:+61+3514+8262> Mobile: +614 2335 3457 <callto:+614+2335+3457> Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8100 <callto:+61+7+3514+8100> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199> Website: www.redhat.com On Fri, Jan 13, 2017 at 2:27 AM, Frank Kloeker <eumel@arcor.de> wrote:
Dear Zanata friends,
as discussed today in our I18N team meeting I implemented an option to configure MySQL backups in puppet-zanata. Please take a look for review: https://review.openstack.org/#/c/419389/
thx
Frank
----- Original Nachricht ---- Von: Alex Eng <aeng@redhat.com> An: "Ian Y. Choi" <ianyrchoi@gmail.com> Datum: 10.01.2017 22:45 Betreff: Re: [OpenStack-I18n] Discussion: How to test Zanata well for translate-dev.openstack.org?
Clark and me now think that since the main difference is Xenial with
Java
8, it might be either : java 8 needs more in general or Zanata : java 8 needs more : just Zanata needs more on the newer version. Clark confirmed that translate-dev and translate servers have the same amount of memory on the server and also the jvm heap size is the same. Could you give me some ideas for dealing with issue, such as the root cause of this error and/or recommendations of memory sizes?
This might due to the hardware have not enough memory to handle huge load of data. How much memory is allocated for Zanata in the server? we might need to increase it.
---------------------------------------------
Alex Eng Senior Software Engineer Globalisation Tools Engineering DID: +61 3514 8262 <callto:+61+3514+8262> Mobile: +614 2335 3457 <callto:+614+2335+3457>
Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8100 <callto:+61+7+3514+8100> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199> Website: www.redhat.com
On Wed, Jan 11, 2017 at 3:28 AM, Ian Y. Choi <ianyrchoi@gmail.com> wrote:
Hello Steve,
Thanks a lot for your kind comments!
I have added more items and completed all the tests with notes which things I have changed for such tests reflecting the four big things you have mentioned and comments : https://etherpad.openstack.org/p/i18n-zanata-test-for-translate-dev
Alex,
When I tested Zanata 3.7.3 with Xenial on translate-dev.openstack.org, the server showed an error message like "Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded and the cpus are spinning" when I created a version with 20107950 words (creating "stable-newton" branch from "master" for openstack-manuals ).
Clark and me now think that since the main difference is Xenial with Java 8, it might be either : java 8 needs more in general or Zanata : java 8 needs more : just Zanata needs more on the newer version.
Clark confirmed that translate-dev and translate servers have the same amount of memory on the server and also the jvm heap size is the same.
Could you give me some ideas for dealing with issue, such as the root cause of this error and/or recommendations of memory sizes?
With many thanks,
/Ian
Steve Kowalik wrote on 12/23/2016 12:44 PM:
On 22/12/16 03:20, Ian Y. Choi wrote:
For the first step, I18n team needs to test translate-dev.openstack.org - whether Zanata 3.7.3 works with Xenial operating system or not.
The four big things to check are: * Does the website work reliably? Can you log in, browse translations, and switch between projects? * Can you modify a translation and have that change reflected if you close the browser and then log back in and check? * Can you download translations from the -dev server[1]? * Can you push new source files from a project to the -dev server[1]?
[1]: I've forgotten some of the details, but there's a tool in project-config under jenkins/scripts called create-zanata-xml.py that create a suitable XML file[2] so you can use the Zanata CLI to test those two parts. [2]: With the correct options of course, which are used in upstream_translation_update.sh and friends in the same directory in project-config.
Thanks,
--------------------------------
_______________________________________________ OpenStack-I18n mailing list OpenStack-I18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
On 2017-01-13 06:37:27 +1000 (+1000), Alex Eng wrote:
Can't access to the https://review.openstack.org/#/c/419389/, 503-service unavailable.
That service was down briefly for a scheduled maintenance but is back online for the past ~30 minutes now if you want to try again. Apologies. -- Jeremy Stanley
participants (5)
-
Alex Eng
-
Frank Kloeker
-
Ian Y. Choi
-
Jeremy Stanley
-
Steve Kowalik