Transforming Warnings vs Errors in 3.0.9.2259

We just upgraded our Octopus solution, and now we are not able to deploy our code. We used to get a ton of incorrect warnings during our transformations, but now it considers some of these warnings errors, and it terminates the deployment process. The following is a snippet of our build output.

Performing variable substitution on 'C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config’
15:11:10Info
Performing variable substitution on 'C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\nlog.Release.config’
15:11:10Info
Transforming ‘C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.config’ using ‘C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config’.
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 15, position 6:
15:11:11Warning
No element in the source document matches '/configuration/connectionStrings/add[@name=‘NServiceBus/Persistence/RavenDB’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 16, position 6:
15:11:11Warning
No element in the source document matches '/configuration/connectionStrings/add[@name=‘NServiceBus/Persistence’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 31, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Email.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 36, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘FlatScreenSignalR.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 37, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Tsd.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 38, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Diagnostic.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 41, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘CarWash.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 42, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Loaner.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 43, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Customer.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 44, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Gateway.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 45, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Delay.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 46, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Movement.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 48, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Moc1.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 50, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Dependency.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 52, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘VinExplosionSaga.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 54, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘Zonal.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 55, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘ZonalSaga.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 56, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘RawTag.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 57, position 8:
15:11:11Warning
No element in the source document matches '/configuration/UnicastBusConfig/MessageEndpointMappings/add[@Assembly=‘RawTagV2.Events’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 72, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘NewRelic.AgentEnabled’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 73, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘NewRelic.AppName’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 78, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘IsDevMode’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 81, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘RabbitMQ_InjectorQueue’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 83, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘DO_NOT_NOTIFY_PARTNERS’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 86, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘PushNotifcationPrepend’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 91, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘RawTagV2NsbToZonalNsbEnabled’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 92, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘ZonalNsbTagEventHijackEnabled’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 94, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘RedisSignalrFailoverConnectionString’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 96, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘WEB_BASE_URL’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 100, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘API_BASE_URL’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 104, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘INTEGRATION_BASE_URL’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 108, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘VENTECH_BASE_URL’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 112, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘FLATSCREEN_SIGNALR_IIS_HOSTED_URL’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 116, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘DISPATCHER_SIGNALR_IIS_HOSTED_URL’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 120, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘FLATSCREEN_SIGNALR_SELF_HOSTED_URL’]'
15:11:11Warning
File C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config, line 124, position 6:
15:11:11Warning
No element in the source document matches '/configuration/appSettings/add[@key=‘DISPATCHER_SIGNALR_SELF_HOSTED_URL’]'
15:11:11Error
The XML configuration file C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.config failed with transformation file C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config.
15:11:11Error
C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config(124,6): No element in the source document matches '/configuration/appSettings/add[@key=‘DISPATCHER_SIGNALR_SELF_HOSTED_URL’]'
15:11:11Error
Running rollback conventions…
15:11:11Error
C:\Octopus\Applications\V4_QA\CarWash.Server\4.0.0.1512\App.Release.config(124,6): No element in the source document matches ‘/configuration/appSettings/add[@key=‘DISPATCHER_SIGNALR_SELF_HOSTED_URL’]’

The last items which produce “error” are no different than the warnings. In fact, even the warnings are wrong. All the substitutions and transformations we want successfully occur. Where do we start given that the only change in our scenario is the upgrade in Octopus’ version?

Our current version is 3.0.9.2259

Hi Alex,

Thanks for getting in touch. One of our developers (Michael R) replied to this same question with a solution and our thoughts about this behavior.

http://community.octopusdeploy.com/t/web-config-transformation-missing-key-is-a-error-instead-of-warning-resolved/417

You’re gonna have to sign up to that forum first. We might fully migrate to it in the future, so having an account there by now will come in handy for sure.

Hope that helps!

Dalmiro