Closed Bug 846999 Opened 12 years ago Closed 12 years ago

GetID/AppVersion/ Make Upload steps failing due to invalid syntax in config/printconfigsetting.py

Categories

(SeaMonkey :: Build Config, defect)

SeaMonkey 2.17 Branch
x86
All
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ewong, Assigned: ewong)

References

Details

Attachments

(1 file)

We're seeing this error in the builders: sys.argv: ['/usr/local/bin/post_upload.py', '--tinderbox-builds-dir', 'comm-central-trunk-linux', '-p', 'seamonkey', '-i', 'File', 'build/mozilla/config/printconfigsetting.py,', 'line', '19'] bash: -c: line 1: syntax error near unexpected token `"Section [{0}] not found.".format' bash: -c: line 1: ` print("Section [{0}] not found.".format(section), file=sys.stderr)' Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/seamonkey-2.19a1.en-US.linux-i686.tar.bz2 Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/linux-i686/xpi/seamonkey-2.19a1.en-US.langpack.xpi Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/seamonkey-2.19a1.en-US.linux-i686.tests.zip Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/seamonkey-2.19a1.en-US.linux-i686.crashreporter-symbols.zip Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/seamonkey-2.19a1.en-US.linux-i686.txt Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/seamonkey-2.19a1.en-US.linux-i686.json Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/host/bin/mar Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/host/bin/mbsdiff Uploading /builds/slave/c-cen-t-lnx/build/objdir/mozilla/dist/seamonkey-2.19a1.en-US.linux-i686.checksums Running post-upload command: post_upload.py --tinderbox-builds-dir comm-central-trunk-linux -p seamonkey -i File "build/mozilla/config/printconfigsetting.py", line 19 print("Section [{0}] not found.".format(section), file=sys.stderr) ^ SyntaxError: invalid syntax --revision 55a83408986b --release-to-tinderbox-dated-builds Command ['ssh', '-o', 'IdentityFile=~/.ssh/seabld_dsa', 'seabld@stage.mozilla.org', 'post_upload.py --tinderbox-builds-dir comm-central-trunk-linux -p seamonkey -i File "build/mozilla/config/printconfigsetting.py", line 19\n print("Section [{0}] not found.".format(section), file=sys.stderr)\n ^\nSyntaxError: invalid syntax --revision 55a83408986b --release-to-tinderbox-dated-builds "/tmp/tmp.3qog4lyTgp/" "/tmp/tmp.3qog4lyTgp//seamonkey-2.19a1.en-US.linux-i686.tar.bz2" "/tmp/tmp.3qog4lyTgp/linux-i686/xpi/seamonkey-2.19a1.en-US.langpack.xpi" "/tmp/tmp.3qog4lyTgp//seamonkey-2.19a1.en-US.linux-i686.tests.zip" "/tmp/tmp.3qog4lyTgp//seamonkey-2.19a1.en-US.linux-i686.crashreporter-symbols.zip" "/tmp/tmp.3qog4lyTgp//seamonkey-2.19a1.en-US.linux-i686.txt" "/tmp/tmp.3qog4lyTgp//seamonkey-2.19a1.en-US.linux-i686.json" "/tmp/tmp.3qog4lyTgp/host/bin/mar" "/tmp/tmp.3qog4lyTgp/host/bin/mbsdiff" "/tmp/tmp.3qog4lyTgp//seamonkey-2.19a1.en-US.linux-i686.checksums"'] returned non-zero exit code: 1 NEXT ERROR make[1]: *** [upload] Error 2 this corresponds to when the patch for bug 812179 was landed. AFAIK, we're already using Python 2.7 in that step (Make Upload)..
Severity: normal → critical
OS: Windows Vista → All
With : argv: ['python', 'build/mozilla/config/printconfigsetting.py', 'build/objdir/mozilla/dist/bin/application.ini', 'App', 'BuildID'] Get build_id step fails: File "build/mozilla/config/printconfigsetting.py", line 19 print("Section [{0}] not found.".format(section), file=sys.stderr) ^ SyntaxError: invalid syntax With : argv: ['python', 'build/mozilla/config/printconfigsetting.py', 'build/objdir/mozilla/dist/bin/application.ini', 'App', 'Version'] Get appversion fails: File "build/mozilla/config/printconfigsetting.py", line 19 print("Section [{0}] not found.".format(section), file=sys.stderr) ^ SyntaxError: invalid syntax
I believe in those steps, we're still using python 2.5.1.. we need to fix the build steps to use /tools/python-2.7.2/bin.
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Attachment #720244 - Flags: review?(bugspam.Callek)
Summary: Make Upload step failing due to invalid syntax in config/printconfigsetting.py → GetID/AppVersion/ Make Upload steps failing due to invalid syntax in config/printconfigsetting.py
Comment on attachment 720244 [details] [diff] [review] Set environment for printconfigsetting.py steps to use /tools/python-2.7.2/bin. Review of attachment 720244 [details] [diff] [review]: ----------------------------------------------------------------- r- because I convinced build peers to fix via a backout.
Attachment #720244 - Flags: review?(bugspam.Callek) → review-
wontfix per c#4
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Depends on: 812179
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: