Skip to content
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

Track several error of the tasks #9

Merged
merged 13 commits into from
Oct 28, 2022
Merged

Conversation

GTrunSec
Copy link
Contributor

@GTrunSec GTrunSec commented Oct 20, 2022

fixes several issues:

tullia run hello                                                                                    
warning: Git tree '/home/gtrun/ghq/github.com/input-output-hk/tullia' is dirty                                           
[✗] error  hello       1.395398969s                                                                                      
[E][2022-10-20T17:24:52+0000][1] void subproc::subprocNewProc(nsjconf_t*, int, int, int, int, int)():205                 
execve('/nix/store/b6nhjfv8yvnf3m66bv8r0qvyn25fkl60-hello/bin/'hello'') failed: No such file or directory    

@GTrunSec GTrunSec force-pushed the fixes branch 2 times, most recently from 7b091cf to 414b2bc Compare October 20, 2022 19:57
@GTrunSec
Copy link
Contributor Author

  • tullia run nix-build --log-level trace
Failed to run /nix/store/mlnzfp31bfsh1z27v4pxxpc93ym3k9ps-nix-build-nsjail/bin/nix-build-nsjail                          
This usually means it ran out of memory: exit status 137                                                                 
1:01PM DBG done                                                 

No reason Why I got the out-of-the-memory error.

@dermetfan dermetfan self-requested a review October 21, 2022 08:43
nix/preset/nix.nix Show resolved Hide resolved
cells/tullia/task.nix Outdated Show resolved Hide resolved
@GTrunSec GTrunSec changed the title remove escapeShellArg for task.name Track several error of the tasks Oct 21, 2022
nix/preset/bash.nix Outdated Show resolved Hide resolved
@dermetfan
Copy link
Contributor

Sorry for reading improperly and making you change this twice 😅 The rest looks good now though!

@GTrunSec
Copy link
Contributor Author

GTrunSec commented Oct 25, 2022

I still don't know how to deal with the This usually means it ran out of memory: exit status 137 problem in nsjail. @dermetfan Could you help me to solve it?

  • tested with:
tullia run nix-build --log-level debug

@GTrunSec GTrunSec requested a review from dermetfan October 25, 2022 01:50
contents: will be removed on v1
@dermetfan dermetfan added the bug Something isn't working label Oct 25, 2022
@dermetfan
Copy link
Contributor

dermetfan commented Oct 25, 2022

I thought maybe the size of the tmpfs used for /tmp was too small so I pushed a commit to your branch that allows to adjust it. But unfortunately that does not seem to be the problem.

@GTrunSec
Copy link
Contributor Author

accept-flake-config = true
Whether to accept nix configuration from a flake without prompting.

I think we should add this option as default in the nixConf.

@dermetfan dermetfan merged commit a27b99e into input-output-hk:main Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants