Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop on transitive run #208

Open
ChristianGalla opened this issue Mar 30, 2024 · 0 comments
Open

Infinite loop on transitive run #208

ChristianGalla opened this issue Mar 30, 2024 · 0 comments

Comments

@ChristianGalla
Copy link

Hi,

when I used the tool in version 2.7.1 in a GitHub action, it got stuck in an infinite loop: GitHub Action

Not working command:

dotnet-project-licenses -i AutoStartConfirmLib -o AutoStartConfirmLib\Licenses -t --timeout 60 -e -c -f AutoStartConfirmLib\Licenses -u --outfile Licenses.txt

On my local Windows 10 machine this is working fine, so I assume there is some issue regarding the runner windows-latest maybe in combination with the nuget cache.

Repeating verbose output:

2024-03-30T13:25:27.8544213Z Package 'NETStandard.Library', version requirement 1.6.1 resolved to version 1.6.1 from local cache
2024-03-30T13:25:27.8546358Z Package 'NETStandard.Library', version 1.6.1 does not contain nuspec in local cache (C:\Users\runneradmin\.nuget\packages\netstandard.library\1.6.1\netstandard.library.nuspec)
2024-03-30T13:25:27.8548085Z Package 'NETStandard.Library', version requirement 1.6.1 resolved to version 1.6.1 from NuGet server
2024-03-30T13:25:27.8648385Z Successfully received https://api.nuget.org/v3-flatcontainer/netstandard.library/1.6.1/netstandard.library.nuspec
2024-03-30T13:25:27.8650659Z Package 'Microsoft.NETCore.Platforms', version requirement 1.1.0 resolved to version 3.1.0 from local cache
2024-03-30T13:25:27.8652551Z Microsoft.NETCore.Platforms, version requirement 1.1.0 obtained from request cache.
2024-03-30T13:25:27.8654211Z Package 'System.Collections', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8655217Z System.Collections, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8656338Z Package 'System.Diagnostics.Debug', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8657421Z System.Diagnostics.Debug, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8658583Z Package 'System.Diagnostics.Tools', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8659654Z System.Diagnostics.Tools, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8660775Z Package 'System.Globalization', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8661800Z System.Globalization, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8662812Z Package 'System.IO', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8663588Z System.IO, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8664327Z Package 'System.Linq', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8665028Z System.Linq, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8665800Z Package 'System.Linq.Expressions', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8666548Z System.Linq.Expressions, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8667367Z Package 'System.Net.Primitives', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8668117Z System.Net.Primitives, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8668905Z Package 'System.ObjectModel', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8669621Z System.ObjectModel, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8670379Z Package 'System.Reflection', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8671064Z System.Reflection, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8671881Z Package 'System.Reflection.Extensions', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8672700Z System.Reflection.Extensions, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8673552Z Package 'System.Reflection.Primitives', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8674339Z System.Reflection.Primitives, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8675214Z Package 'System.Resources.ResourceManager', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8676690Z System.Resources.ResourceManager, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8677535Z Package 'System.Runtime', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8678231Z System.Runtime, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8679047Z Package 'System.Runtime.Extensions', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8679937Z System.Runtime.Extensions, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8680770Z Package 'System.Text.Encoding', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8681505Z System.Text.Encoding, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8682346Z Package 'System.Text.Encoding.Extensions', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8683190Z System.Text.Encoding.Extensions, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8684094Z Package 'System.Text.RegularExpressions', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8684912Z System.Text.RegularExpressions, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8685726Z Package 'System.Threading', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8686421Z System.Threading, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8687201Z Package 'System.Threading.Tasks', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8687949Z System.Threading.Tasks, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8688778Z Package 'System.Xml.ReaderWriter', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8689951Z System.Xml.ReaderWriter, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8690914Z Package 'System.Xml.XDocument', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8691658Z System.Xml.XDocument, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8692485Z Package 'Microsoft.NETCore.Platforms', version requirement 1.1.0 resolved to version 3.1.0 from local cache
2024-03-30T13:25:27.8693298Z Microsoft.NETCore.Platforms, version requirement 1.1.0 obtained from request cache.
2024-03-30T13:25:27.8694180Z Package 'System.Collections.Concurrent', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8695000Z System.Collections.Concurrent, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8695874Z Package 'System.Diagnostics.Tracing', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8696666Z System.Diagnostics.Tracing, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8697492Z Package 'System.IO.Compression', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8698231Z System.IO.Compression, version requirement 4.3.0 obtained from request cache.
2024-03-30T13:25:27.8699001Z Package 'System.Net.Http', version requirement 4.3.0 resolved to version 4.3.0 from local cache
2024-03-30T13:25:27.8700166Z Package 'System.Net.Http', version 4.3.0 does not contain nuspec in local cache (C:\Users\runneradmin\.nuget\packages\system.net.http\4.3.0\system.net.http.nuspec)
2024-03-30T13:25:27.8701297Z Package 'System.Net.Http', version requirement 4.3.0 resolved to version 4.3.0 from NuGet server
2024-03-30T13:25:27.8743096Z Successfully received https://api.nuget.org/v3-flatcontainer/system.net.http/4.3.0/system.net.http.nuspec
2024-03-30T13:25:27.8744654Z Package 'System.Diagnostics.DiagnosticSource', version requirement 4.3.0 resolved to version 5.0.0 from local cache
2024-03-30T13:25:27.8747577Z Package 'System.Runtime.CompilerServices.Unsafe', version requirement 5.0.0 resolved to version 5.0.0 from local cache
2024-03-30T13:25:27.8749151Z System.Runtime.CompilerServices.Unsafe, version requirement 5.0.0 obtained from request cache.
2024-03-30T13:25:27.8750279Z Package 'System.Memory', version requirement 4.5.4 resolved to version 4.5.4 from local cache
2024-03-30T13:25:27.8751678Z Package 'System.Memory', version 4.5.4 does not contain nuspec in local cache (C:\Users\runneradmin\.nuget\packages\system.memory\4.5.4\system.memory.nuspec)
2024-03-30T13:25:27.8753137Z Package 'System.Memory', version requirement 4.5.4 resolved to version 4.5.4 from NuGet server
2024-03-30T13:25:27.8838940Z Successfully received https://api.nuget.org/v3-flatcontainer/system.memory/4.5.4/system.memory.nuspec
2024-03-30T13:25:27.8840793Z Package 'System.Buffers', version requirement 4.5.1 resolved to version 4.5.1 from local cache
2024-03-30T13:25:27.8841871Z System.Buffers, version requirement 4.5.1 obtained from request cache.
2024-03-30T13:25:27.8843117Z Package 'System.Runtime.CompilerServices.Unsafe', version requirement 4.5.3 resolved to version 4.5.3 from local cache
2024-03-30T13:25:27.8844276Z System.Runtime.CompilerServices.Unsafe, version requirement 4.5.3 obtained from request cache.
2024-03-30T13:25:27.8845409Z Package 'System.Numerics.Vectors', version requirement 4.5.0 resolved to version 4.5.0 from local cache
2024-03-30T13:25:27.8847421Z Package 'System.Numerics.Vectors', version 4.5.0 does not contain nuspec in local cache (C:\Users\runneradmin\.nuget\packages\system.numerics.vectors\4.5.0\system.numerics.vectors.nuspec)
2024-03-30T13:25:27.8849069Z Package 'System.Numerics.Vectors', version requirement 4.5.0 resolved to version 4.5.0 from NuGet server
2024-03-30T13:25:27.8969210Z Successfully received https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/4.5.0/system.numerics.vectors.nuspec
2024-03-30T13:25:27.8971142Z Package 'NETStandard.Library', version requirement 1.6.1 resolved to version 1.6.1 from local cache
2024-03-30T13:25:27.8972963Z Package 'NETStandard.Library', version 1.6.1 does not contain nuspec in local cache (C:\Users\runneradmin\.nuget\packages\netstandard.library\1.6.1\netstandard.library.nuspec)
2024-03-30T13:25:27.8974919Z Package 'NETStandard.Library', version requirement 1.6.1 resolved to version 1.6.1 from NuGet server
2024-03-30T13:25:27.9059958Z Successfully received https://api.nuget.org/v3-flatcontainer/netstandard.library/1.6.1/netstandard.library.nuspec

When removing the -t option, the program is working fine, but a transitive export usually is required to be license compliant.

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

No branches or pull requests

1 participant