Skip to content

Build fails for cRIO targets with FPGA module #10

@Padk7

Description

@Padk7

It seems that when searching for the build specification it is returning a null object.
My non-FPGA cRIO targets will all build perfectly, but any cRIO targets with an FPGA build within will fail.

My guess is, that it has something to do with the way it is searching the .lvproj file when trying to get the buildSpecifications object. It could be because FPGA targets have a "Type"="Build" attribute nested deeper in the file? Not sure!

It appears to be failing after line 143, because the buildSpecification is null. Logs below...

2021-09-29T23:07:18.3144725Z ##[debug]Evaluating condition for step: 'LabVIEW: Build Spool 9036'
2021-09-29T23:07:18.3146149Z ##[debug]Evaluating: succeeded()
2021-09-29T23:07:18.3146554Z ##[debug]Evaluating succeeded:
2021-09-29T23:07:18.3147300Z ##[debug]=> True
2021-09-29T23:07:18.3147754Z ##[debug]Result: True
2021-09-29T23:07:18.3148201Z ##[section]Starting: LabVIEW: Build Spool 9036
2021-09-29T23:07:18.3238421Z ==============================================================================
2021-09-29T23:07:18.3238686Z Task : NI LabView build
2021-09-29T23:07:18.3272745Z Description : NI LabVIEW Build project build
2021-09-29T23:07:18.3272918Z Version : 1.7.0
2021-09-29T23:07:18.3273078Z Author : chwebdude
2021-09-29T23:07:18.3273229Z Help :
2021-09-29T23:07:18.3273408Z ==============================================================================
2021-09-29T23:07:18.3397364Z ##[debug]Using node path: C:\agents\externals\node\bin\node.exe
2021-09-29T23:07:18.5165382Z ##[debug]agent.TempDirectory=C:\agents_work_temp
2021-09-29T23:07:18.5181970Z ##[debug]loading inputs and endpoints
2021-09-29T23:07:18.5185398Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2021-09-29T23:07:18.5193068Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2021-09-29T23:07:18.5195706Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2021-09-29T23:07:18.5196610Z ##[debug]loading INPUT_BUILDSPECNAME
2021-09-29T23:07:18.5198839Z ##[debug]loading INPUT_BUILDVERSION
2021-09-29T23:07:18.5200001Z ##[debug]loading INPUT_CLIPATH
2021-09-29T23:07:18.5200886Z ##[debug]loading INPUT_COMPANYNAME
2021-09-29T23:07:18.5202443Z ##[debug]loading INPUT_COPYRIGHT
2021-09-29T23:07:18.5202835Z ##[debug]loading INPUT_FILEDESCRIPTION
2021-09-29T23:07:18.5205199Z ##[debug]loading INPUT_INTERNALNAME
2021-09-29T23:07:18.5205767Z ##[debug]loading INPUT_MAJORVERSION
2021-09-29T23:07:18.5209151Z ##[debug]loading INPUT_MINORVERSION
2021-09-29T23:07:18.5209566Z ##[debug]loading INPUT_OUTPUTDIRECTORY
2021-09-29T23:07:18.5212040Z ##[debug]loading INPUT_PATCHVERSION
2021-09-29T23:07:18.5213424Z ##[debug]loading INPUT_PORTNUMBER
2021-09-29T23:07:18.5213815Z ##[debug]loading INPUT_PRODUCTNAME
2021-09-29T23:07:18.5215597Z ##[debug]loading INPUT_PROJECTFILE
2021-09-29T23:07:18.5216021Z ##[debug]loading INPUT_RETRIES
2021-09-29T23:07:18.5217491Z ##[debug]loading INPUT_TARGETNAME
2021-09-29T23:07:18.5223046Z ##[debug]loaded 19
2021-09-29T23:07:18.5233018Z ##[debug]Agent.ProxyUrl=undefined
2021-09-29T23:07:18.5233409Z ##[debug]Agent.CAInfo=undefined
2021-09-29T23:07:18.5233729Z ##[debug]Agent.ClientCert=undefined
2021-09-29T23:07:18.5234070Z ##[debug]Agent.SkipCertValidation=undefined
2021-09-29T23:07:18.5310530Z ##[debug]projectFile=C:\agents_work\3\s\iws_LabVIEW.lvproj
2021-09-29T23:07:18.5314950Z ##[debug]buildSpecName=ISI 9036
2021-09-29T23:07:18.5315687Z ##[debug]targetName=ISI (cRIO 9036)
2021-09-29T23:07:18.5317553Z ##[debug]outputDirectory=C:\agents_work\3\a\spool9036
2021-09-29T23:07:18.5318359Z ##[debug]Absolute path for pathSegments: C:\agents_work\3\a\spool9036 = C:\agents_work\3\a\spool9036
2021-09-29T23:07:18.5320405Z ##[debug]majorVersion=1
2021-09-29T23:07:18.5320939Z ##[debug]minorVersion=0
2021-09-29T23:07:18.5321649Z ##[debug]patchVersion=0
2021-09-29T23:07:18.5325716Z ##[debug]buildVersion=1
2021-09-29T23:07:18.5327051Z ##[debug]companyName=IWS
2021-09-29T23:07:18.5328893Z ##[debug]fileDescription=Spool cRIO 9036
2021-09-29T23:07:18.5329565Z ##[debug]internalName=isi
2021-09-29T23:07:18.5330472Z ##[debug]copyright=IWS
2021-09-29T23:07:18.5332821Z ##[debug]productName=Spool9036
2021-09-29T23:07:18.5337588Z ##[debug]portNumber=3364
2021-09-29T23:07:18.5339192Z ##[debug]retries=2
2021-09-29T23:07:18.5341264Z ##[debug]clipath=LabViewCli.exe
2021-09-29T23:07:18.5353792Z Using project file: C:\agents_work\3\s\iws_LabVIEW.lvproj
2021-09-29T23:07:18.5354298Z Target Name: ISI (cRIO 9036)
2021-09-29T23:07:18.5354533Z Build specification: ISI 9036
2021-09-29T23:07:18.5400192Z ##[debug]Filecontent read
2021-09-29T23:07:18.7930939Z ##[debug]File parsed
2021-09-29T23:07:18.7934290Z ##[debug]FOUND
2021-09-29T23:07:18.7937513Z ##[debug]Target selected
2021-09-29T23:07:18.7939668Z ##[debug]FOUND
2021-09-29T23:07:18.7942138Z ##[debug]Buildspecifications selected
2021-09-29T23:07:18.7943523Z ##[debug]Buildspecification selected
2021-09-29T23:07:18.7944637Z ##[debug]new Property: null
2021-09-29T23:07:18.7945624Z ##[debug]task result: Failed
2021-09-29T23:07:18.7967653Z ##[error]Cannot read property 'Property' of null
2021-09-29T23:07:18.7981448Z ##[debug]Processed: ##vso[task.issue type=error;]Cannot read property 'Property' of null
2021-09-29T23:07:18.7990038Z ##[debug]Processed: ##vso[task.complete result=Failed;]Cannot read property 'Property' of null
2021-09-29T23:07:18.8020391Z ##[section]Finishing: LabVIEW: Build Spool 9036

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions