code build is getting failed while Build Image. can anyone please help to fix this issue
below the error
+ wget -O /tmp/dispatcher/dispatcher-configuration.zip 'https://cm0pl0va80stor0prd.file.core.windows.net/cdbd4994-837a-4d0e-8af4-d6b433b2e3c9/build/aem-guid...'[0m[91m--2020-08-13 16:20:37-- https://cm0pl0va80stor0prd.file.core.windows.net/cdbd4994-837a-4d0e-8af4-d6b433b2e3c9/build/aem-guid...[0m[91mResolving cm0pl0va80stor0prd.file.core.windows.net (cm0pl0va80stor0prd.file.core.windows.net)... [0m[91m188.8.131.52Connecting to cm0pl0va80stor0prd.file.core.windows.net (cm0pl0va80stor0prd.file.core.windows.net)|184.108.40.206|:443... [0m[91mconnected.[0m[91mHTTP request sent, awaiting response... [0m[91m200 OKLength: 16149 (16K) [application/octet-stream]Saving to: ‘/tmp/dispatcher/dispatcher-configuration.zip’[0m[91m0K .......... ..... 100% 25.8M=0.001s
2020-08-13 16:20:37 (25.8 MB/s) - ‘/tmp/dispatcher/dispatcher-configuration.zip’ saved [16149/16149]
+ validate_configuration /tmp/dispatcher/dispatcher-configuration.zip[0m[91m+ local zippedConfiguration=/tmp/dispatcher/dispatcher-configuration.zip+ /usr/bin/dispatcher-configuration-validator full /tmp/dispatcher/dispatcher-configuration.zip[0mCloud manager validator 2.0.21[91m2020/08/13 16:20:37 Apache configuration uses non-whitelisted directives:conf.d/enabled_vhosts/wknd.vhost:1: ../available_vhosts/wknd.vhost2020/08/13 16:20:37 Dispatcher configuration validation failed:conf.dispatcher.d/enabled_farms/default.farm:1: extra characters following label "/default.farm" are ignored[0mThe command '/bin/sh -c AZCOPY="/usr/bin/azcopy" VALIDATOR_BINARY="/usr/bin/dispatcher-configuration-validator" DISPATCHER_CONFIGURATION_LOCATION=$dispatcherConfigurationLocation DISPATCHER_CONFIGURATION_DESTINATION=$dispatcherConfigurationDestination RUN_MODE=$runmode ./validateDispatcherConfiguration.sh' returned a non-zero code: 22020/08/13 16:20:38 Container failed during run: build. No retries remaining.failed to run step ID: build: exit status 2
Run ID: ca2fhf failed after 1m26s. Error: failed during run, err: exit status 1
Try focusing on what the error message says:2020/08/13 16:20:37 Dispatcher configuration validation failed:conf.dispatcher.d/enabled_farms/default.farm:1: extra characters following label "/default.farm" are ignoredThis suggests you have an error on the first line in the above file, or potentially the file that references the above file.
That's unfortunate, and you should definitely raise a ticket with Support.
In parallel you could give it another try.
I constantly pray to pay attention to the details of the error message, and now I fooled myself 🙂
Never used pipeline in cloud manager.
But as per the error log. , what i understood is there is some issue in the apache configuration i.e. in the typical AMS dispatcher structure you need to inclide all the available vhosts as part of enabled vhosts.
@arunk85184451,Got to this path conf.dispatcher.d/enabled_farms/default.farm and try to debug for solution at this location.