Closed Bug 421484 Opened 16 years ago Closed 16 years ago

Tinderbox can't test for existing symlink on stage-new

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(2 files, 2 obsolete files)

A while back, we introduced this code to tinderbox
 push(@cmds,"ssh $ssh_opts -l $Settings::ssh_user $ssh_server 'cd $remote_path && if [ ! -h $short_ud ]; then ln -s ${datedir}${short_ud} .; fi'");
which makes a symlink from
   firefox/nightly/2008-03-06-09-mozilla1.8
to where the files really are in
   firefox/nightly/2008/03/2008-03-06-09-mozilla1.8

The chroot jail used on stage-new doesn't have a real shell, so the test fails and we don't get a symlink. This is the last step so the builds still get published, they're just kinda hidden away.
Priority: -- → P2
I'm testing this on some low-priority builds.
Not allowed to use && apparently, so make an absolute link rather than a relative one.
Attachment #307927 - Attachment is obsolete: true
Attachment #307951 - Attachment is obsolete: true
Comment on attachment 308392 [details] [diff] [review]
Relative symlink without needing a cd

This should work fine on the existing stage, and on the new system. It'll just fail if there is already a link or directory with the same name, which avoids dataloss in the latter case.
Attachment #308392 - Flags: review?(ccooper)
Comment on attachment 308392 [details] [diff] [review]
Relative symlink without needing a cd

I like the curly braces when concatenating multiple vars into a single path, but that's just me.
Attachment #308392 - Flags: review?(ccooper) → review+
Checking in post-mozilla-rel.pl;
/cvsroot/mozilla/tools/tinderbox/post-mozilla-rel.pl,v  <--  post-mozilla-rel.pl
new revision: 1.144; previous revision: 1.143
done
I'll keep an eye on the nightlies tomorrow for any fallout.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: