Core SDK build does complete successfully but fails Packaging MobileSDK (2.2.0.v20120810142511):
Failed to generate JSCA JSON.
Below is build log at Failure point. Full Log attached as TXT Document.
build:
full.build:
BUILD SUCCESSFUL
Total time: 11 minutes 52 seconds
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
package_sdk(["dummy-sdk-target"], [])
Packaging MobileSDK (2.2.0.v20120810142511)...
Generating JSCA...
/usr/bin/python /var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/docgen.py -f jsca --stdout
Failed to generate JSCA JSON. Output:
[INFO] Parsing YAML files
[ERROR] Exception occurred while processing /var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/Titanium/UI/TableView.yml:
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/docgen.py", line 614, in
main()
File "/var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/docgen.py", line 606, in main
process_yaml()
File "/var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/docgen.py", line 189, in process_yaml
types = load_one_yaml(filepath)
File "/var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/docgen.py", line 150, in load_one_yaml
types = [the_type for the_type in yaml.load_all(f)]
File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 67, in load_all
yield loader.get_data()
File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 38, in get_data
return self.construct_document(self.get_node())
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 27, in get_node
return self.compose_document()
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 82, in compose_node
node = self.compose_sequence_node(anchor)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 111, in compose_sequence_node
node.value.append(self.compose_node(node, index))
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 93, in check_event
self.current_event = self.state()
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 535, in parse_flow_mapping_first_key
return self.parse_flow_mapping_key(first=True)
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 538, in parse_flow_mapping_key
if not self.check_token(FlowMappingEndToken):
File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 116, in check_token
self.fetch_more_tokens()
File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 252, in fetch_more_tokens
return self.fetch_plain()
File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 680, in fetch_plain
self.tokens.append(self.scan_plain())
File "/usr/lib/python2.7/dist-packages/yaml/scanner.py", line 1309, in scan_plain
"Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.")
yaml.scanner.ScannerError: while scanning a plain scalar
in "/var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/Titanium/UI/TableView.yml", line 854, column 14
found unexpected ':'
in "/var/lib/jenkins/jobs/titanium_mobile_master/workspace/apidoc/Titanium/UI/TableView.yml", line 854, column 20
Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.
scons: *** [dummy-sdk-target] Explicit exit, status 1
scons: building terminated because of errors.
TI_MOBILE_SCONS_ARGS: force_iphone=1
BUILD_URL: http://jenkins.appcelerator.org/job/titanium_mobile_master/1215/
SDK_ARCHIVE: dist/mobilesdk-2.2.0.v20120810142511-osx.zip
/var/lib/jenkins/jobs/titanium_mobile_master/workspace
ls: cannot access dist/mobilesdk-2.2.0.v20120810142511-osx.zip: No such file or directory
Missing SDK zip file
Build step 'Execute shell' marked build as failure
Finished: FAILURE
May be related to latest JSCA changes.
https://github.com/appcelerator/titanium_mobile/pull/2718 Should be fixed now.