[JIRA] Commented: (HUDSON-2934) ClearCase environment variables not expanded correctly during matrix build

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-2934) ClearCase environment variables not expanded correctly during matrix build

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134681#action_134681 ]

abayer commented on HUDSON-2934:
--------------------------------

I'd like to wait on this 'til the next release - just because I've already fixed a bug on variable name expansion for 1.1.1, and I'd like to be sure that works in production before making this change as well. I should be releasing 1.1.1 a week from today (1/15) - I want to give it another week to see what other bugs come in from the 1.1 release.

> ClearCase environment variables not expanded correctly during matrix build
> --------------------------------------------------------------------------
>
>                 Key: HUDSON-2934
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-2934
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>         Environment: Platform: All, OS: All
>            Reporter: lynggaard
>         Attachments: 2934.patch, 2934.patch, config.xml
>
>
> Using 0.8.2-snapshot + hudson 1.278
> I have created a matrix build using 2 nodes (master and one slave) and a second
> axis of TUXVER using the values 8,9,10,11.
> Content of build steps is
> echo "TUXVER= $TUXVER"
> echo "WORKSPACE: $WORKSPACE"
> echo "CLEARCASE_VIEWPATH: $CLEARCASE_VIEWPATH"
> echo "CLEARCASE_VIEWNAME: $CLEARCASE_VIEWNAME"
> Running this build shows that the two CC environment variables are expanded
> incorrectly when given to the build step. They appear correctly expanded when
> creating the views. It looks like a race condition, the project.name has the
> wrong value when we are expanding.
> Relevant part of logs are below
> Build: TUXVER=8,master
> cleartool mkview hudson_test_matrix_node-master_job-TUXVER=8,label=master_view
> TUXVER= 8
> WORKSPACE:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/8/label/master
> CLEARCASE_VIEWPATH:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/8/label/master/hudson_test_matrix_node-master_job-TUXVER=11,label=master_view
> CLEARCASE_VIEWNAME: hudson_test_matrix_node-master_job-TUXVER=11,label=master_view
> Build: TUXVER=9,master
> mkview -snapshot hudson_test_matrix_node-master_job-TUXVER=9,label=master_view
> TUXVER= 9
> WORKSPACE:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/9/label/master
> CLEARCASE_VIEWPATH:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/9/label/master/hudson_test_matrix_node-master_job-TUXVER=8,label=master_view
> CLEARCASE_VIEWNAME: hudson_test_matrix_node-master_job-TUXVER=8,label=master_view
> Build: TUXVER=10,master
> cleartool mkview -snapshot
> hudson_test_matrix_node-master_job-TUXVER=10,label=master_view
> TUXVER= 10
> WORKSPACE:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/10/label/master
> CLEARCASE_VIEWPATH:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/10/label/master/hudson_test_matrix_node-master_job-TUXVER=10,label=master_view
> CLEARCASE_VIEWNAME: hudson_test_matrix_node-master_job-TUXVER=10,label=master_view
> Build: TUXVER=11,master
> cleartool mkview -snapshot
> hudson_test_matrix_node-master_job-TUXVER=11,label=master_view
> WORKSPACE:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/11/label/master
> CLEARCASE_VIEWPATH:
> /export/home/ciuser/hudson/jobs/test_hudson_matrix/workspace/TUXVER/11/label/master/hudson_test_matrix_node-master_job-TUXVER=11,label=master_view
> CLEARCASE_VIEWNAME: hudson_test_matrix_node-master_job-TUXVER=11,label=master_view
> Sometime the values are right.. e.g. when providing this example the values on
> the slave was correct, but it is not consistent. Think it has something to do
> with the executers and timing...
> I am unsure if this is a ClearCase Plugin or a hudson problem, as far as I can
> see we don't do any inappropiate cacheing

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]