Lorax is a set of tools used to create bootable images.
If trying to execute test_cli.sh inside a git checkout
we are going to get the following exception:
Traceback (most recent call last):
File "./src/sbin/lorax-composer", line 251, in <module>
repo = open_or_create_repo(server.config["REPO_DIR"])
File "/home/jenkins/lorax/src/pylorax/api/recipes.py", line 306, in open_or_create_repo
gi.repository.GLib.Error: ggit-error: failed to stat '/home/jenkins/lorax/tests/pylorax/blueprints': Permission denied (-1)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib64/python3.7/multiprocessing/popen_fork.py", line 54, in _send_signal
os.kill(self.pid, sig)
From what I can tell open_or_create_repo() is trying to initialize
a git repository inside the blueprints directory which fails when
we have an active git checkout.
This doesn't happen when we run the tests in Travis CI because
rsync excludes .git/ inside the Docker container.
|
||
|---|---|---|
| docs | ||
| etc | ||
| rel-eng | ||
| share | ||
| src | ||
| systemd | ||
| tests | ||
| utils | ||
| .coveragerc | ||
| .dockerignore | ||
| .gitignore | ||
| .travis.yml | ||
| ANNOUNCE | ||
| AUTHORS | ||
| COPYING | ||
| Dockerfile.test | ||
| HACKING.md | ||
| lorax.spec | ||
| Makefile | ||
| POLICY | ||
| README.md | ||
| requirements.txt | ||
| setup.py | ||
| TODO | ||
Lorax is a set of tools used to create bootable images.
- lorax - creates the Anaconda boot.iso used to install Fedora
- livemedia-creator - uses Anaconda to create bootable images
- lorax-composer - API server implementing the Weldr BDCS protocol using livemedia-creator
See the Weldr blog for more info about BDCS and the Lorax documentation for more information about Lorax and associated tools.