Integrate minimal smoke-test during build-time

Bug #2032945 reported by Dominik Viererbe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dotnet6 (Ubuntu)
Fix Released
Wishlist
Dominik Viererbe
Jammy
Fix Released
Wishlist
Dominik Viererbe
Lunar
Fix Released
Wishlist
Dominik Viererbe
Mantic
Fix Released
Wishlist
Dominik Viererbe
dotnet7 (Ubuntu)
Fix Released
Wishlist
Unassigned
Jammy
Fix Released
Wishlist
Unassigned
Lunar
Fix Released
Wishlist
Unassigned
Mantic
Fix Released
Wishlist
Unassigned

Bug Description

As part of the MIR review Christian Ehrhardt suggested adding a small smoke-test during build-time [1]:

> #4 only testing in autopkgtests
>
> I'd prefer to have something not as gigantic in build time tests (read = "I agree to not add the huge thing, but something small maybe", just a reasonable sanity check).
> But that isn't a hard requirement if there are good autopkgtests and there are.
> You have lots of good "make the autopkgtest even better" and that might be where the time is indeed spend better now.

The advantage of this is catching major errors early on. A small smoke test like compiling and running a hello world application should be enough; like:

dotnet new console -o HelloWorld
cd HelloWorld
dotnet run

[1] https://bugs.launchpad.net/ubuntu/+source/dotnet6/+bug/2023531/comments/8

Changed in dotnet6 (Ubuntu):
importance: Undecided → Wishlist
Changed in dotnet7 (Ubuntu):
importance: Undecided → Wishlist
Changed in dotnet6 (Ubuntu Lunar):
importance: Undecided → Wishlist
Changed in dotnet6 (Ubuntu Jammy):
importance: Undecided → Wishlist
Changed in dotnet7 (Ubuntu Lunar):
importance: Undecided → Wishlist
Changed in dotnet7 (Ubuntu Jammy):
importance: Undecided → Wishlist
Changed in dotnet6 (Ubuntu Jammy):
status: New → Triaged
Changed in dotnet6 (Ubuntu Lunar):
status: New → Triaged
Changed in dotnet6 (Ubuntu Mantic):
status: New → Triaged
Changed in dotnet7 (Ubuntu Jammy):
status: New → Triaged
Changed in dotnet7 (Ubuntu Lunar):
status: New → Triaged
Changed in dotnet7 (Ubuntu Mantic):
status: New → Triaged
tags: added: foundations-todo
Changed in dotnet6 (Ubuntu Mantic):
assignee: nobody → Dominik Viererbe (dviererbe)
Changed in dotnet6 (Ubuntu Lunar):
assignee: nobody → Dominik Viererbe (dviererbe)
Changed in dotnet6 (Ubuntu Jammy):
assignee: nobody → Dominik Viererbe (dviererbe)
Changed in dotnet6 (Ubuntu):
assignee: nobody → Dominik Viererbe (dviererbe)
Changed in dotnet6 (Ubuntu Mantic):
status: Triaged → In Progress
Changed in dotnet6 (Ubuntu Lunar):
status: Triaged → In Progress
Changed in dotnet6 (Ubuntu Jammy):
status: Triaged → In Progress
Changed in dotnet6 (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

Marking invalid for the devel series, where these packages have been removed

Changed in dotnet6 (Ubuntu):
status: In Progress → Invalid
Changed in dotnet7 (Ubuntu):
status: Triaged → Invalid
Changed in dotnet6 (Ubuntu Jammy):
status: In Progress → Fix Released
Changed in dotnet6 (Ubuntu Lunar):
status: In Progress → Fix Released
Changed in dotnet6 (Ubuntu Mantic):
status: In Progress → Fix Released
Changed in dotnet7 (Ubuntu Jammy):
status: Triaged → Fix Released
Changed in dotnet7 (Ubuntu Lunar):
status: Triaged → Fix Released
Changed in dotnet7 (Ubuntu Mantic):
status: Triaged → Fix Released
Changed in dotnet7 (Ubuntu):
status: Invalid → Fix Released
Changed in dotnet6 (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.