Skip to content

This PR should cause an error when backported#6

Merged
lbussell merged 1 commit into
nightlyfrom
conflict
Oct 22, 2025
Merged

This PR should cause an error when backported#6
lbussell merged 1 commit into
nightlyfrom
conflict

Conversation

@lbussell

Copy link
Copy Markdown
Owner

No description provided.

@lbussell lbussell merged commit f5f5957 into nightly Oct 22, 2025
1 of 2 checks passed
@lbussell lbussell deleted the conflict branch October 22, 2025 23:18
@lbussell

Copy link
Copy Markdown
Owner Author

/backport to main

@github-actions

Copy link
Copy Markdown

@lbussell

Copy link
Copy Markdown
Owner Author

/backport to main

@lbussell lbussell changed the title This PR should cause a merge conflict This PR should cause an error Oct 23, 2025
@github-actions

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Oct 23, 2025

Copy link
Copy Markdown

@lbussell backporting to "main" failed, the patch most likely resulted in conflicts:

git am output
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: This commit should cause a merge conflict
Using index info to reconstruct a base tree...
M	README.aspnet.md
M	README.runtime-deps.md
M	README.runtime.md
M	manifest.versions.json
Falling back to patching base and 3-way merge...
Auto-merging README.aspnet.md
CONFLICT (content): Merge conflict in README.aspnet.md
Auto-merging README.runtime-deps.md
CONFLICT (content): Merge conflict in README.runtime-deps.md
Auto-merging README.runtime.md
CONFLICT (content): Merge conflict in README.runtime.md
Auto-merging manifest.versions.json
CONFLICT (content): Merge conflict in manifest.versions.json
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 This commit should cause a merge conflict
Error: The process '/usr/bin/git' failed with exit code 128

Attempted automatic conflict resolution also failed.

Automated conflict resolution output
Error: No such object: mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile.WithRepo
#1 transferring dockerfile: 146B done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
#1 DONE 0.0s

#2 [internal] load metadata for mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#2 DONE 0.0s

#3 [internal] load .dockerignore
#3 transferring context: 107B done
#3 DONE 0.0s

#4 [1/3] FROM mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#4 DONE 0.1s

#5 [2/3] WORKDIR /repo
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 83.32MB 0.5s done
#6 DONE 0.5s

#7 [3/3] COPY . .
#7 DONE 0.6s

#8 exporting to image
#8 exporting layers
#8 exporting layers 0.8s done
#8 writing image sha256:d7a61741e04e2613d70d4475e41af1d0b68fb5a407130fe2ad731fbb0e2034b0 done
#8 naming to docker.io/library/microsoft-dotnet-imagebuilder-withrepo done
#8 DONE 0.9s

�[33m1 warning found (use docker --debug to expand):
�[0m - InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> Newtonsoft.Json.JsonReaderException: Invalid property identifier character: <. Path 'variables['dotnet|9.0|aggregate-checksums']', line 80, position 0.
 at Newtonsoft.Json.JsonTextReader.ParseProperty()
 at Newtonsoft.Json.JsonTextReader.ParseObject()
 at Newtonsoft.Json.JsonTextReader.Read()
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
 at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
 at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
 at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
 at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
 at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
 at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.LoadModel(String path, String manifestDirectory) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 258
 at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Create(String manifestPath, ManifestFilter manifestFilter, IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 62
 at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Load(IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 46
 at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.LoadManifest() in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 19
 at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.Initialize(TOptions options) in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 26
 at Microsoft.DotNet.ImageBuilder.Commands.Command`2.<GetCliCommand>b__9_0(TOptions options) in /image-builder/ImageBuilder/Commands/Command.TOptions.cs:line 55
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
 at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
 --- End of inner exception stack trace ---
 at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
 at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Delegate.DynamicInvokeImpl(Object[] args)
 at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
 at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__21_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__22_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__11_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()
Error: The process '/usr/bin/bash' failed with exit code 1

@lbussell

Copy link
Copy Markdown
Owner Author

/backport to main

@github-actions

Copy link
Copy Markdown

Started backporting to main (link to workflow run)

@github-actions

Copy link
Copy Markdown

@lbussell backporting to main failed, the patch most likely resulted in conflicts:

git am output
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: This commit should cause a merge conflict
Using index info to reconstruct a base tree...
M	README.aspnet.md
M	README.runtime-deps.md
M	README.runtime.md
M	manifest.versions.json
Falling back to patching base and 3-way merge...
Auto-merging README.aspnet.md
CONFLICT (content): Merge conflict in README.aspnet.md
Auto-merging README.runtime-deps.md
CONFLICT (content): Merge conflict in README.runtime-deps.md
Auto-merging README.runtime.md
CONFLICT (content): Merge conflict in README.runtime.md
Auto-merging manifest.versions.json
CONFLICT (content): Merge conflict in manifest.versions.json
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 This commit should cause a merge conflict
Error: The process '/usr/bin/git' failed with exit code 128
Conflict resolution stderr:
Error: No such object: mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile.WithRepo
#1 transferring dockerfile: 146B done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
#1 DONE 0.0s

#2 [internal] load metadata for mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#2 DONE 0.0s

#3 [internal] load .dockerignore
#3 transferring context: 107B done
#3 DONE 0.0s

#4 [1/3] FROM mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#4 DONE 0.0s

#5 [2/3] WORKDIR /repo
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 83.30MB 0.5s done
#6 DONE 0.5s

#7 [3/3] COPY . .
#7 DONE 0.6s

#8 exporting to image
#8 exporting layers
#8 exporting layers 0.9s done
#8 writing image sha256:397ab1a15eac4e36418fdcf413c53f04b3c24e318c93a8a9e85f779c2137f209 done
#8 naming to docker.io/library/microsoft-dotnet-imagebuilder-withrepo done
#8 DONE 0.9s

�[33m1 warning found (use docker --debug to expand):
�[0m - InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> Newtonsoft.Json.JsonReaderException: Invalid property identifier character: <. Path 'variables['dotnet|9.0|aggregate-checksums']', line 80, position 0.
 at Newtonsoft.Json.JsonTextReader.ParseProperty()
 at Newtonsoft.Json.JsonTextReader.ParseObject()
 at Newtonsoft.Json.JsonTextReader.Read()
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
 at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
 at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
 at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
 at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
 at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
 at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.LoadModel(String path, String manifestDirectory) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 258
 at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Create(String manifestPath, ManifestFilter manifestFilter, IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 62
 at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Load(IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 46
 at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.LoadManifest() in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 19
 at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.Initialize(TOptions options) in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 26
 at Microsoft.DotNet.ImageBuilder.Commands.Command`2.<GetCliCommand>b__9_0(TOptions options) in /image-builder/ImageBuilder/Commands/Command.TOptions.cs:line 55
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
 at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
 --- End of inner exception stack trace ---
 at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
 at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Delegate.DynamicInvokeImpl(Object[] args)
 at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
 at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__21_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__22_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__11_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
 at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()
Error: The process '/usr/bin/bash' failed with exit code 1

@lbussell lbussell changed the title This PR should cause an error This PR should cause an error when backported Oct 23, 2025
@lbussell

Copy link
Copy Markdown
Owner Author

/backport to main

@github-actions

Copy link
Copy Markdown

Started backporting to main (link to workflow run)

@github-actions

github-actions Bot commented Oct 23, 2025

Copy link
Copy Markdown

@lbussell backporting to main failed during automated conflict resolution. Please backport manually!

Details

Error details
Pulling
Executing 'docker pull mcr.microsoft.com/dotnet-buildtools/image-builder:2817852'
2817852: Pulling from dotnet-buildtools/image-builder
9ab3635ac74c: Pulling fs layer
685f7a137bbc: Pulling fs layer
f2649d1efd06: Pulling fs layer
ce20f61d69cf: Pulling fs layer
2e0eb9d95e43: Pulling fs layer
50feba621e13: Pulling fs layer
eddbfecd5e5d: Pulling fs layer
2e0eb9d95e43: Waiting
50feba621e13: Waiting
eddbfecd5e5d: Waiting
ce20f61d69cf: Waiting
f2649d1efd06: Download complete
685f7a137bbc: Verifying Checksum
685f7a137bbc: Download complete
9ab3635ac74c: Verifying Checksum
9ab3635ac74c: Download complete
50feba621e13: Download complete
2e0eb9d95e43: Verifying Checksum
2e0eb9d95e43: Download complete
eddbfecd5e5d: Verifying Checksum
eddbfecd5e5d: Download complete
ce20f61d69cf: Verifying Checksum
ce20f61d69cf: Download complete
9ab3635ac74c: Pull complete
685f7a137bbc: Pull complete
f2649d1efd06: Pull complete
ce20f61d69cf: Pull complete
2e0eb9d95e43: Pull complete
50feba621e13: Pull complete
eddbfecd5e5d: Pull complete
Digest: sha256:3ef72749c436809f5eee8943571f7d6620640f16aebbf35c36114bff14a4d71f
Status: Downloaded newer image for mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
Executing: 'docker build -t microsoft-dotnet-imagebuilder-withrepo --build-arg IMAGE=mcr.microsoft.com/dotnet-buildtools/image-builder:2817852 -f eng/common/Dockerfile.WithRepo .'
Executing: 'docker run --name ImageBuilder-20251023103539 -v /var/run/docker.sock:/var/run/docker.sock microsoft-dotnet-imagebuilder-withrepo generateDockerfiles  --var branch=main --no-version-logging'

READING MANIFEST
----------------
Executing: 'docker container rm -f ImageBuilder-20251023103539'
ImageBuilder-20251023103539
Error: No such object: mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile.WithRepo
#1 transferring dockerfile: 146B done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
#1 DONE 0.0s

#2 [internal] load metadata for mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#2 DONE 0.0s

#3 [internal] load .dockerignore
#3 transferring context: 107B done
#3 DONE 0.0s

#4 [1/3] FROM mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#4 DONE 0.0s

#5 [2/3] WORKDIR /repo
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 83.29MB 0.5s done
#6 DONE 0.6s

#7 [3/3] COPY . .
#7 DONE 0.6s

#8 exporting to image
#8 exporting layers
#8 exporting layers 0.9s done
#8 writing image sha256:4d4c9603851612b5191cdf31e770a82df30cccbf7ae10fad77693b0a9b226d71 done
#8 naming to docker.io/library/microsoft-dotnet-imagebuilder-withrepo done
#8 DONE 0.9s

 �[33m1 warning found (use docker --debug to expand):
�[0m - InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> Newtonsoft.Json.JsonReaderException: Invalid property identifier character: <. Path 'variables['dotnet|9.0|aggregate-checksums']', line 80, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseProperty()
   at Newtonsoft.Json.JsonTextReader.ParseObject()
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.LoadModel(String path, String manifestDirectory) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 258
   at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Create(String manifestPath, ManifestFilter manifestFilter, IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 62
   at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Load(IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 46
   at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.LoadManifest() in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 19
   at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.Initialize(TOptions options) in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 26
   at Microsoft.DotNet.ImageBuilder.Commands.Command`2.<GetCliCommand>b__9_0(TOptions options) in /image-builder/ImageBuilder/Commands/Command.TOptions.cs:line 55
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__21_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__22_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__11_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()

Link to workflow output

@lbussell

Copy link
Copy Markdown
Owner Author

/backport to main

@github-actions

Copy link
Copy Markdown

Started backporting to main (link to workflow run)

@github-actions

Copy link
Copy Markdown

@lbussell backporting to main failed during automated conflict resolution. Please backport manually!

Error details

pwsh ./eng/dockerfile-templates/Get-GeneratedDockerfiles.ps1 && pwsh ./eng/readme-templates/Get-GeneratedReadmes.ps1 stderr:

Error: No such object: mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile.WithRepo
#1 transferring dockerfile: 146B done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
#1 DONE 0.0s

#2 [internal] load metadata for mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#2 DONE 0.0s

#3 [internal] load .dockerignore
#3 transferring context: 107B done
#3 DONE 0.0s

#4 [1/3] FROM mcr.microsoft.com/dotnet-buildtools/image-builder:2817852
#4 DONE 0.0s

#5 [2/3] WORKDIR /repo
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 83.32MB 0.5s done
#6 DONE 0.5s

#7 [3/3] COPY . .
#7 DONE 0.6s

#8 exporting to image
#8 exporting layers
#8 exporting layers 0.9s done
#8 writing image sha256:981e5a282bbd6222834e899f5daac4c4357e6c8b2d334dce7e8cd6429053b75b done
#8 naming to docker.io/library/microsoft-dotnet-imagebuilder-withrepo done
#8 DONE 0.9s

 �[33m1 warning found (use docker --debug to expand):
�[0m - InvalidDefaultArgInFrom: Default value for ARG $IMAGE results in empty or invalid base image name (line 3)
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> Newtonsoft.Json.JsonReaderException: Invalid property identifier character: <. Path 'variables['dotnet|9.0|aggregate-checksums']', line 80, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseProperty()
   at Newtonsoft.Json.JsonTextReader.ParseObject()
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.LoadModel(String path, String manifestDirectory) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 258
   at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Create(String manifestPath, ManifestFilter manifestFilter, IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 62
   at Microsoft.DotNet.ImageBuilder.ViewModel.ManifestInfo.Load(IManifestOptionsInfo options) in /image-builder/ImageBuilder/ViewModel/ManifestInfo.cs:line 46
   at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.LoadManifest() in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 19
   at Microsoft.DotNet.ImageBuilder.Commands.ManifestCommand`2.Initialize(TOptions options) in /image-builder/ImageBuilder/Commands/ManifestCommand.cs:line 26
   at Microsoft.DotNet.ImageBuilder.Commands.Command`2.<GetCliCommand>b__9_0(TOptions options) in /image-builder/ImageBuilder/Commands/Command.TOptions.cs:line 55
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__21_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__22_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__11_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()

Link to workflow output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant