DevOS | 36 Members | |
| Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga | 10 Servers |
| Sender | Message | Time |
|---|---|---|
| 30 Jul 2021 | ||
anyway on another topic, has anyone had issues with nix flake check when you have a lot of hosts? I've found the python vm test coredumping more as I've added more hosts (and will just pass if I rerun the twice with half the hosts each), systemd-coredump points to the pid of one of the python tests and contains systemd-coredump[134485]: Resource limits disable core dumping for process 123011 (python3). | 21:31:15 | |
| * anyway on another topic, has anyone had issues with i'm guessing theres some resource limits, but i'm not sure where they might be of for what service (perhaps nix daemon)? | 21:32:36 | |
| * anyway on another topic, has anyone had issues with i'm guessing theres some resource limits, but i'm not sure where they might be or for what service (perhaps nix daemon)? | 21:32:47 | |
Download image.png | 22:03:27 | |
hmm, that's per vm-test though right? for me it's the digga profilesTest that is failing, i can run them in isolation or a couple at a time but not all of them (non-deterministically failing), i can actually run them all sometimes. | 22:05:56 | |
| In terms of overall system usage, I have many 10s of GB RAM free and no I'm starting to think it could be the | 22:15:03 | |
| please, adding the virtual reosurce to here. https://github.com/divnix/digga/blob/main/src/tests.nix#L38 (and create the new branch for this test). then run it again | 22:18:40 | |
| yeah, I'll give it ago, currently I'm having issues reproducing the error, it's 1 in 4 times with all hosts at the moment | 22:19:42 | |
| which is a pain to test as it takes ~4mins to pass/fail each time. given that I literally just got it failing again I'll do the above | 22:20:27 | |
running with memorySize = 4096; and cores = 4; | 22:23:03 | |
* running with memorySize = 4096; and cores = 4;, let's see how it goes | 22:23:19 | |
Notice: memorySize = 4096; The volume depends on how many services you will be running. | 22:27:26 | |
| fails with 4096 as well, the accompanying python error (which I think I forgot to mention earlier is:
| 22:29:53 | |
| https://stackoverflow.com/questions/45267439/fatal-python-error-and-bufferedwriter | 22:34:59 | |
this looks like the reason why i always use ThreadPoolExecutor with python multi-processing as it cleans itself a lot better, i'm now testing with a test-driver that does an os.exit(0) at the of the script as suggested by the post you linked, i was about to rewrite the test to use an ThreadPoolExecutor anyway | 22:42:17 | |
| yep, so one of the VMs is not exiting fast enough, when adding os.exit(0) at the end of the test-driver, the test seems to hang after finishing for an extra 2mins, and then the test-driver process finally ends and the flake check passes | 22:45:35 | |
| given the non-deterministic nature of the issue i'll repeat the build again quite a few times until i'm sure its resolved | 22:46:26 | |
In reply to @d4hines:matrix.orgI did this once in an ad-hoc fashion. I never pushed any code, but I had an old Arch box that that I didn't have physical access to, to install NixOS, so I used the DevOS home-manager feature and some trickery to pull values from my NixOS config, such as much zshrc and tmux.conf directly into my home-manager profile unmodified. I even got my exact same xmonad config working by simply dumping it into the proper place. | 22:51:03 | |
In reply to @d4hines:matrix.org* I did this once in an ad-hoc fashion. I never pushed any code, but I had an old Arch box that that I didn't have physical access to, to install NixOS, so I used the DevOS home-manager feature and some trickery to pull values from my NixOS config, such as my zshrc and tmux.conf directly into my home-manager profile unmodified. I even got my exact same xmonad config working by simply dumping it into the proper place. | 22:51:21 | |
| * I did this once in an ad-hoc fashion. I never pushed any code, but I had an old Arch box that that I didn't have physical access to install NixOS on, so I used the DevOS home-manager feature and some trickery to pull values from my NixOS config, such as my zshrc and tmux.conf directly into my home-manager profile unmodified. I even got my exact same xmonad config working by simply dumping it into the proper place. | 22:52:51 | |
| I also used home-manager + nix on arch before I moved to NixOS, but I was using classical nix and was very new to nix back them, my home-manager config was an extremely simple modification of my old dotfiles repo, so i was wondering how easy devos will make the whole experience. it's good to hear you got xmonad working, makes me want to try this more so i can red pill some of my friends | 22:52:58 | |
In reply to @kraftnix:matrix.orgso i'm pretty sure it's all working now, it ran 10 times with no failures, thanks gtrunsec for the help 😀 | 23:25:31 | |
| 31 Jul 2021 | ||
| 02:16:48 | ||
kraftnix: w.r.t. test-driver.py: let me know what you've concluded. I'm currently doing a refactoring ("over the eons") with tfc to get a better testing experience. Any insights will be really helpful. w.r.t. home-manager, there are now "portable" profiles that work completely without setting up any nixos hosts at all. This addition makes the use case easier where you want to start onboarding all-out with hm but without any NixOS. Here is the implementation in digga | 02:56:20 | |
| 17:17:58 | ||
I can't remember... did we ever decide to export profiles, so one can use another devoser's profiles from their own configuration? | 23:47:55 | |
| David Arnold: Pacman99 ? | 23:50:18 | |
| * David Arnold: Pacman99 ? ^^ | 23:50:28 | |
| 1 Aug 2021 | ||
| No, only modules or whole configs. | 01:10:27 | |
| I'm not sure if sharing profiles would be really a good idea, in theory. Modules are the "generics" and profiles the concrete implementation. I find it to be a good balance between convenience and responsibility to pass "ownership" of any concrete implementation to the user. | 01:12:49 | |