harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4938) [buildtest][eut] cleanup EUT run properties like setupTarget
Date Fri, 12 Oct 2007 14:17:51 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Beliaev updated HARMONY-4938:
--------------------------------------

             Component/s: build - test - ci
    Estimated Complexity: Novice
             Description: 
One of the tasks from root JIRA is to to clarify EUT running properties like "setting setupTarget
for Linux x86_64".

I investiagated this issue (why we must specify "setupTarget" for Linux x86_64 and must not
for other platforms?". The answe is that EUT inherent test.xml does not really support Linux
x86_64. I mean there is 'setRuntimeArchive' target which set the properties in following way:

    <condition property="runtimeArchive" value="eclipse-SDK-${buildId}-linux-gtk.tar.gz">
        <and>
                <equals arg1="${os}" arg2="linux" />
                <equals arg1="${ws}" arg2="gtk" />
                <equals arg1="${arch}" arg2="x86" />
        </and>
    </condition>

and there is no such settings for linux gtk x86_64. So the solution is to specify "runtimeArchive"
from EUT BTI adaptors.

I discovered (a new planet) more things. There is an issue with EUT distibution. Say, you
download EUT3.3 and SDK3.3 from Eclipse.org release page. Wfter unpacking EUT3.3 archive the
eclipse-testing/label.properties file is created whith the content like:

        timestamp=200706251500
        buildType=I
        buildId=I20070625-1500
        buildLabel=I20070625-1500

In particluar the 'buildId' property from this file is used (by default) to construct the
SDK3.3 archive name. So EUT3.3 (by default) expects the SDK3.3 archive is named as 

        eclipse-SDK-I20070625-1500-linux-gtk-x86_64.tar.gz

but not 

        eclipse-SDK-3.3-linux-gtk-x86_64.tar.gz

To workaround this issue the EUT BTI adaptor patches label.properties file. So, I found out
that if one sets "runtimeArchive" property then this 'buildId' is not used and no patching
of label.properties is required. So it worth fixing BTI asaptors accordingly.

Thanks
Vladimir Beliaev
             Environment: any
              Patch Info: [Patch Available]

> [buildtest][eut] cleanup EUT run properties like setupTarget
> ------------------------------------------------------------
>
>                 Key: HARMONY-4938
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4938
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: build - test - ci
>         Environment: any
>            Reporter: Vladimir Beliaev
>
> One of the tasks from root JIRA is to to clarify EUT running properties like "setting
setupTarget for Linux x86_64".
> I investiagated this issue (why we must specify "setupTarget" for Linux x86_64 and must
not for other platforms?". The answe is that EUT inherent test.xml does not really support
Linux x86_64. I mean there is 'setRuntimeArchive' target which set the properties in following
way:
>     <condition property="runtimeArchive" value="eclipse-SDK-${buildId}-linux-gtk.tar.gz">
>         <and>
>                 <equals arg1="${os}" arg2="linux" />
>                 <equals arg1="${ws}" arg2="gtk" />
>                 <equals arg1="${arch}" arg2="x86" />
>         </and>
>     </condition>
> and there is no such settings for linux gtk x86_64. So the solution is to specify "runtimeArchive"
from EUT BTI adaptors.
> I discovered (a new planet) more things. There is an issue with EUT distibution. Say,
you download EUT3.3 and SDK3.3 from Eclipse.org release page. Wfter unpacking EUT3.3 archive
the eclipse-testing/label.properties file is created whith the content like:
>         timestamp=200706251500
>         buildType=I
>         buildId=I20070625-1500
>         buildLabel=I20070625-1500
> In particluar the 'buildId' property from this file is used (by default) to construct
the SDK3.3 archive name. So EUT3.3 (by default) expects the SDK3.3 archive is named as 
>         eclipse-SDK-I20070625-1500-linux-gtk-x86_64.tar.gz
> but not 
>         eclipse-SDK-3.3-linux-gtk-x86_64.tar.gz
> To workaround this issue the EUT BTI adaptor patches label.properties file. So, I found
out that if one sets "runtimeArchive" property then this 'buildId' is not used and no patching
of label.properties is required. So it worth fixing BTI asaptors accordingly.
> Thanks
> Vladimir Beliaev

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message