Skip to content

[repo-assist] CI: enable scriptgen integration test suite as a required Linux job - #4395

Open
dsyme wants to merge 1 commit into
masterfrom
repo-assist/ci-enable-scriptgen-integration-tests-5e2faa2a93c04174
Open

[repo-assist] CI: enable scriptgen integration test suite as a required Linux job#4395
dsyme wants to merge 1 commit into
masterfrom
repo-assist/ci-enable-scriptgen-integration-tests-5e2faa2a93c04174

Conversation

@dsyme

@dsyme dsyme commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Adds a new linux-integration-scriptgen job that runs the existing
QuickIntegrationTests build target (TestCategory=scriptgen), the
smallest known-green slice of the Linux integration suite. Verified
locally: build -> publish -> dotnet test --filter TestCategory=scriptgen
passes 12/12 (1 skipped).

This is a first step toward issue #4346's recovery plan; the remaining
13 net9 and 3 net461 failures still need triage per that issue.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Adds a new linux-integration-scriptgen job that runs the existing
QuickIntegrationTests build target (TestCategory=scriptgen), the
smallest known-green slice of the Linux integration suite. Verified
locally: build -> publish -> dotnet test --filter TestCategory=scriptgen
passes 12/12 (1 skipped).

This is a first step toward issue #4346's recovery plan; the remaining
13 net9 and 3 net461 failures still need triage per that issue.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme

dsyme commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

/repo-assist Fix this failure or disable the test and add an issue about it

Failed!  - Failed:     1, Passed:    11, Skipped:     1, Total:    13, Duration: 24 s - Paket.IntegrationTests.dll (net9.0)
  Failed simple dependencies generates expected scripts [1 s]
  Error Message:
   Paket.IntegrationTests.TestHelpers+ProcessFailedWithExitCode : The process '/home/runner/work/Paket/Paket/bin/net461/paket.exe' exited with code 1, output: 
OUT:Paket version 10.3.1+43d03a353cb2a7ebd6d03a3ee67144374a6813f7
OUT:Please use the new syntax: 'framework' has been replaced by '--framework'.
OUT:Could not detect any platforms from 'net20-cf' in '/home/runner/work/Paket/Paket/integrationtests/scenarios/loading-scripts/simple-dependencies/temp/packages/log4net/lib/net20-cf/log4net.dll', please tell the package authors
OUT:Total time taken: 0 milliseconds
OUT:Paket omitted 1 warnings. You can see them in verbose mode.
ERR:Paket failed with
ERR:-> DirectoryNotFoundException: Could not find a part of the path "/home/runner/work/Paket/Paket/integrationtests/scenarios/loading-scripts/simple-dependencies/temp/packages/NUnit/lib/nunit.framework.dll".
ERR:   StackTrace:
ERR:       at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x001ac] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
ERR:       at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
ERR:       at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
ERR:       at Mono.Cecil.ModuleDefinition.GetFileStream (System.String fileName, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00006] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x00008] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName) [0x00007] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.String fileName) [0x00000] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at <StartupCode$Paket-Core>.$DependencyCache+dllFiles@109.Invoke (System.String path) [0x00001] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Microsoft.FSharp.Collections.Internal+IEnumerator+choose@240[T,TResult].System.Collections.IEnumerator.MoveNext () [0x00045] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Core.ExtraTopLevelOperators.dictRefType[TKey,T] (System.Collections.Generic.IEnumerable`1[T] l) [0x0004d] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Core.ExtraTopLevelOperators.CreateDictionary[TKey,TValue] (System.Collections.Generic.IEnumerable`1[T] keyValuePairs) [0x00019] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Paket.DependencyCache.getDllsWithinPackage (Paket.FrameworkIdentifier framework, Paket.InstallModel installModel) [0x00020] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Paket.DependencyCache.GetOrderedPackageReferences (Paket.Domain+GroupName groupName, Paket.Domain+PackageName packageName, Paket.FrameworkIdentifier framework) [0x00046] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration+generateScriptContent@214-1.Invoke (System.Tuple`2[T1,T2] _arg3, Paket.PackageResolver+PackageInfo package) [0x00055] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Microsoft.FSharp.Collections.SeqModule.Fold[T,TState] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] folder, TState state, System.Collections.Generic.IEnumerable`1[T] source) [0x0002f] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration+generateScriptContent@211.Invoke (System.Tuple`2[T1,T2] tupledArg) [0x00041] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Microsoft.FSharp.Collections.Internal+IEnumerator+map@128[a,b].DoMoveNext (b& curr) [0x00020] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Collections.Internal+IEnumerator+MapEnumerator`1[T].System.Collections.IEnumerator.MoveNext () [0x0000c] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Collections.SeqModule.ToList[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00042] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration.generateScriptContent (Paket.LoadingScripts+ScriptGeneration+PaketContext ctx) [0x0006a] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration.constructScriptsFromData (Paket.DependencyCache depCache, Microsoft.FSharp.Collections.FSharpList`1[T] groups, Microsoft.FSharp.Collections.FSharpList`1[T] providedFrameworks, Microsoft.FSharp.Collections.FSharpList`1[T] providedScriptTypes) [0x00267] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Paket.Dependencies.GenerateLoadScriptData (System.String paketDependencies, Microsoft.FSharp.Collections.FSharpList`1[T] groups, Microsoft.FSharp.Collections.FSharpList`1[T] frameworks, Microsoft.FSharp.Collections.FSharpList`1[T] scriptTypes) [0x00013] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Paket.Dependencies.GenerateLoadScripts (Microsoft.FSharp.Collections.FSharpList`1[T] groups, Microsoft.FSharp.Collections.FSharpList`1[T] frameworks, Microsoft.FSharp.Collections.FSharpList`1[T] scriptTypes) [0x00000] in <2003753502c1fe204ab09b33e5d3899c>:0 
ERR:       at Paket.Program+handleCommand@913-27.Invoke (Argu.ParseResults`1[Template] results) [0x00000] in <552ba54c3411d64adc1c563c4cb40fc9>:0 
ERR:       at Paket.Program.processWithValidationEx[a] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] printUsage, System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] validateF, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] commandF, a result) [0x0004f] in <552ba54c3411d64adc1c563c4cb40fc9>:0 
ERR:       at Paket.Program.processWithValidation[T] (System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] validateF, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] commandF, Argu.ParseResults`1[Template] result) [0x00000] in <552ba54c3411d64adc1c563c4cb40fc9>:0 
ERR:       at Paket.Program.processCommand[a] (System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] commandF, Argu.ParseResults`1[Template] result) [0x00000] in <552ba54c3411d64adc1c563c4cb40fc9>:0 
ERR:       at Paket.Program.handleCommand (System.Boolean silent, Paket.Commands+Command command) [0x00393] in <552ba54c3411d64adc1c563c4cb40fc9>:0 
ERR:       at Paket.Program.main () [0x006a0] in <552ba54c3411d64adc1c563c4cb40fc9>:0 
  Stack Trace:
    at Paket.IntegrationTests.TestHelpers.directToolEx (System.Collections.Generic.IEnumerable`1[T] env, System.Boolean isPaket, System.String host, System.String path, System.String commands, System.String workingDir) [0x00303] in <f36ad9964309f9f46257ee256fd84b84>:0 
  at Paket.IntegrationTests.TestHelpers.directPaketInPathEx (System.String command, System.String scenarioPath) [0x0001a] in <f36ad9964309f9f46257ee256fd84b84>:0 
  at Paket.IntegrationTests.TestHelpers.directPaket (System.String command, System.String scenario) [0x00011] in <f36ad9964309f9f46257ee256fd84b84>:0 
  at Paket.IntegrationTests.LoadingScriptGenerationTests.simple dependencies generates expected scripts () [0x00049] in <f36ad9964309f9f46257ee256fd84b84>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 

Failed!  - Failed:     8, Passed:     4, Skipped:     1, Total:    13, Duration: 23 s - Paket.IntegrationTests.dll (net461)
Running build failed.
Error:
System.Exception: Test failed on "test" "integrationtests/Paket.IntegrationTests/Paket.IntegrationTests.fsproj" --configuration Release --filter TestCategory=scriptgen 
  at Fake.DotNetCli+Test@298-3.Invoke (System.String message) [0x00000] in <5c90a2e0ccf1c534a7450383e0a2905c>:0 
  at Fake.DotNetCli.Test (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] setTestParams) [0x001da] in <5c90a2e0ccf1c534a7450383e0a2905c>:0 
  at FSI_0005.Build+clo@268-22.Invoke (Microsoft.FSharp.Core.Unit _arg6) [0x00006] in <b8a0cc6e35a1430e93a68f49ccbc09c8>:0 
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00049] in <5c90a2e0ccf1c534a7450383e0a2905c>:0 

@github-actions

github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

✗ Repo Assist encountered failed to deliver outputs, see workflow run.

Generated by 🌈 Repo Assist, see workflow run. Learn more.

@github-actions

Copy link
Copy Markdown
Contributor

Created related issue: #4401

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