Snakeoil Forums
Work In Progress: 1.4.4 - Printable Version

+- Snakeoil Forums (https://forums.snakeoil-os.net)
+-- Forum: Snakeoil Testers (https://forums.snakeoil-os.net/Forum-Snakeoil-Testers)
+--- Forum: Test Builds (https://forums.snakeoil-os.net/Forum-Test-Builds)
+--- Thread: Work In Progress: 1.4.4 (/Thread-Work-In-Progress-1-4-4)

Pages: 1 2 3 4 5


RE: Work In Progress: 1.4.4 - agent_kith - 29-May-2025

This is probably one of the most difficult thing to do - unit testing.

So there are three environments involved: 
  1. My development environment (Ubuntu 24.04 LTS)
  2. Raspberry Pi build environment (Ubuntu 24.04 LTS)
  3. Intel/AMD build environment (Ubuntu 24.04 LTS)
Getting all these environments to play nice is not really easy, mainly because Snakeoil API service is meant to be run with root privileges (for potential RT work in the future). However running these tests under build environment is quite a security risk so a lot of time is invested to make sure everything play nice. And it is finally working today.

Now the idea is I can expand on the build environments to introduce more builds (e.g. RHEL, or RaspOS, and so on). And the CI pipeline will run and ensure everything is going smoothly. While this is a lot of work, the solution will scale, and more importantly, the quality of Snakeoil is now hard checked (if tests fail the build will fail).

Here's the new stage (unit test), run at the first stage of the pipeline:
   

And here are the details of the tests:
   

It's a lot of effort just to get these 10 tests to work, but today it's finally working!

This is just the beginning of the unit tests framework - over time i intend to add more unit tests to automate a lot of things, example:
  • Test install/uninstall of players to make sure they still work (Now this will require root access, so I might move to a docker CI environment)
  • whatever I can think of down the road
Gonna finish off a few tickets, then it'll be time to release the alpha to the development repo....


RE: Work In Progress: 1.4.4 - hkphantomgtr - 29-May-2025

(22-May-2025, 06:59 PM)uglymusic Wrote:
(19-May-2025, 01:56 PM)uglymusic Wrote: Thank you, AK.

I'll try it ASAP on my RPi 5, but I've just borked my LMS, so I'll need to fix that first.  Tongue

I've successfully associated my Ubuntu Pro subscription and I'm now running the realtime kernel.

It's been a week, pal. How do you find the sound from RT kernel?


RE: Work In Progress: 1.4.4 - uglymusic - 29-May-2025

(29-May-2025, 10:44 AM)hkphantomgtr Wrote:
(22-May-2025, 06:59 PM)uglymusic Wrote:
(19-May-2025, 01:56 PM)uglymusic Wrote: Thank you, AK.

I'll try it ASAP on my RPi 5, but I've just borked my LMS, so I'll need to fix that first.  Tongue

I've successfully associated my Ubuntu Pro subscription and I'm now running the realtime kernel.

It's been a week, pal. How do you find the sound from RT kernel?

Good question. The jury is out at the moment. I've not yet listened to it on my big system and I haven't yet done the Pro thing with my client machine there. 

And, my server machine has just refused to reboot. Oh, joy. 

I'll need to report back.


RE: Work In Progress: 1.4.4 - cenz - 29-May-2025

Hope 1.4.4 can fix cannot play mp3 issue. Big Grin


RE: Work In Progress: 1.4.4 - hkphantomgtr - 29-May-2025

(29-May-2025, 02:20 PM)uglymusic Wrote:
(29-May-2025, 10:44 AM)hkphantomgtr Wrote:
(22-May-2025, 06:59 PM)uglymusic Wrote:
(19-May-2025, 01:56 PM)uglymusic Wrote: Thank you, AK.

I'll try it ASAP on my RPi 5, but I've just borked my LMS, so I'll need to fix that first.  Tongue

I've successfully associated my Ubuntu Pro subscription and I'm now running the realtime kernel.

It's been a week, pal. How do you find the sound from RT kernel?

Good question. The jury is out at the moment. I've not yet listened to it on my big system and I haven't yet done the Pro thing with my client machine there. 

And, my server machine has just refused to reboot. Oh, joy. 

I'll need to report back.

It's alright, take your time.  Shy