Work In Progress: 1.4.4
#41
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....
Snakeoil Operating System - Music, your way!
[-] The following 4 users Like agent_kith's post:
  • petemac110, uglymusic, Snoopy8, hkphantomgtr
Reply

#42
(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?
Reply

#43
(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.
Reply

#44
Hope 1.4.4 can fix cannot play mp3 issue. Big Grin
Reply

#45
(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
[-] The following 1 user Likes hkphantomgtr's post:
  • uglymusic
Reply



Bookmarks



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
[split] Possible To Load Snakeoil OS in ...
Last Post: uglymusic
Today 09:11 PM
» Replies: 12
» Views: 275
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
Today 03:50 PM
» Replies: 5
» Views: 77
Android Firefox issues with forum
Last Post: agent_kith
Today 09:13 AM
» Replies: 13
» Views: 124
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 1305
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 1673
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 6883
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 880
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 206
Add to SO backup & restore
Last Post: agent_kith
15-May-2025 09:58 AM
» Replies: 1
» Views: 59
Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
12-May-2025 04:04 PM
» Replies: 65
» Views: 3219

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.