-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[release/2.1] Fixup NPM package versioning #30164
Conversation
NoteThis is not for 2.1.26 because it will just slow progress down there. Not particularly relevant anyhow since ProdCon builds should have |
/fyi @vseanreesermsft |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
5a0a4c7
to
6a207e2
Compare
@JunTaoLuo any ideas about our 2.1 test hangs❔ I've lost track of how many times I've retried builds in this PR… |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
- `_Pack` target failing in ProdCon builds - fortunately problem is specific to non-`IsFinalBuild` builds - don't add the version metadata because that's not written into package.lock - e.g. looking for aspnet-signalr-protocol-msgpack-1.0.26-servicing-20210212.12+pb-20210212-02.tgz - but `npm pack` actually wrote aspnet-signalr-protocol-msgpack-1.0.26-servicing-20210212.12.tgz - see https://dnceng.visualstudio.com/internal/_build/results?buildId=992921&view=logs&j=f31c9f97-4411-58e7-49ac-fc73f645e6b6&t=2bcaa12b-2f4b-5b1f-c519-10308f653190&l=3190
6a207e2
to
cc40c05
Compare
- need more assemblies in `--TestAdapterPath` command-line argument
@dotnet/aspnet-build, my second commit in this PR resolves the 2.1 test hangs. I'm not sure of the root cause but guess either
Given the fact dotnet vstest --Parallel --Framework:.NETFramework,Version=v4.6.1 --TestAdapterPath:src\Azure\AzureAppServicesIntegration\test\bin\Release\net461\ `
src\Servers\bin\Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests\Release\net461\Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests.dll fails (miserably) and dotnet vstest --Parallel --Framework:.NETFramework,Version=v4.6.1 --TestAdapterPath:src\Servers\bin\Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests\Release\net461\ `
src\Servers\bin\Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests\Release\net461\Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests.dll succeeds, I lean toward (1) but I am still building an old 2.1 commit to see the previous behaviour. |
Nice!! I'm not familiar with what |
Yes, that's what it does but I'm still not positive why changing the |
If this works, I don't think you need to make that a priority given that this is 2.1. If the hang resurfaces then maybe we can do the deeper dive. |
/fyi the old command also looked like dotnet vstest --Parallel --Framework:.NETFramework,Version=v4.6.1 --TestAdapterPath:...\src\Azure\AzureAppServicesIntegration\test\bin\Debug\net461\ {test assemblies}... on my system. New guess is a project that depends on reduced what is copy-localed into that path i.e. it's not a change to the |
@dotnet/aspnet-build this should probably go in first after we complete the branding updates because it isn't combined with as many other fixes (all three of my 2.1 changes include the test fix) |
_Pack
target failing in ProdCon buildsIsFinalBuild
buildsnpm pack
actually wrote aspnet-signalr-protocol-msgpack-1.0.26-servicing-20210212.12.tgz