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)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ewong, Assigned: ewong)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Callek
:
review-
|
Details | Diff | Splinter Review |
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)..
Assignee | ||
Updated•12 years ago
|
Severity: normal → critical
OS: Windows Vista → All
Assignee | ||
Comment 1•12 years ago
|
||
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
Assignee | ||
Comment 2•12 years ago
|
||
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 | ||
Comment 3•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
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 4•12 years ago
|
||
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-
Comment 5•12 years ago
|
||
wontfix per c#4
You need to log in
before you can comment on or make changes to this bug.
Description
•