COPR chroots additions/deletions
by Michal Novotny
Hello,
I have added the following chroots
custom-1-i386
custom-1-ppc64le
custom-1-x86_64
epel-7-i386
and removed
fedora-rawhide-i386
fedora-rawhide-x86_64
.
Custom chroots were a long expected feature that enable you to configure
your build environment almost at free will (by additional repos per chroot
and additional buildroot packages).
epel-7-i386 chroot was requested in *Bug 1271977*
<https://bugzilla.redhat.com/show_bug.cgi?id=1271977> - RFE - asking for
el7 i386 build option. It was somehow missed when epel-7 chroots were added
so finally we have it.
fedora-rawhide chroots were some residue of the yesterday's release. They
should have been already disabled as fedora-26 chroots replaced them.
clime
6 years, 11 months
Waiting tasks
by Clinton Work
copr has 106 waiting tasks and no running tasks right now. It looks
like just i386/x86_64 tasks are stuck in the wait queue.
--
Clinton Work
Airdrie, AB
6 years, 12 months
Some projects fails to signed rpm
by Miroslav Suchý
Hi,
today we had incident, where Copr failed to sign package. It started
yesterday and it took us nearly one day to fix the issue.
It was caused by upgrade of gnupg2 and it tried to migrate data to new
format, which failed in middle of the process.
Today we restored the data and manually migrated all 18,000 keys.
But we discovered that ~30 projects still have problems. It seems that it
is project either tried to build or created project during the incident.
I will try to resolve it tomorrow.
If your project is affected, then please either wait one day, or just
delete your project and create it again.
Sorry for the problems.
Mirek
7 years
python-novaclient package??
by Martin Juhl
Hi guys
Still playing around with getting COPR to work on RHEL/CentOS..
I'm very close.. Only think I have one issue left.. When ansible is spawning a new build instance it fails...
[root@copr02 playbooks]# ansible-playbook -i inventory -c ssh /usr/share/doc/copr-backend-1.94/playbooks/spawn_local.yml
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 324, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/bin/ansible-playbook", line 264, in main
pb.run()
File "/usr/lib/python2.7/site-packages/ansible/playbook/__init__.py", line 310, in run
play = Play(self, play_ds, play_basedir, vault_password=self.vault_password)
File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line 194, in __init__
self._tasks = self._load_tasks(self._ds.get('tasks', []), load_vars)
File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line 682, in _load_tasks
role_name=role_name
File "/usr/lib/python2.7/site-packages/ansible/playbook/task.py", line 255, in __init__
self.async_seconds = template.template_from_string(play.basedir, self.async_seconds, all_vars)
File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line 346, in template_from_string
environment.filters.update(_get_filters())
File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line 54, in _get_filters
plugins = [ x for x in utils.plugins.filter_loader.all()]
File "/usr/lib/python2.7/site-packages/ansible/utils/plugins.py", line 232, in all
self._module_cache[path] = imp.load_source('.'.join([self.package, name]), path)
File "/usr/share/doc/copr-backend-1.94/playbooks/filter_plugins/os_nova.py", line 1, in <module>
from novaclient.v1_1.client import Client
ImportError: No module named v1_1.client
I have installed the python-novaclient module from "centos/7.2.1511/cloud/x86_64/openstack-mitaka/" but it seems to be too new, as v1_1.client seems to be deprecated??
Which version do you use on Fedora???
Regards
Martin
7 years
dist-git is failing to import
by Martin Juhl
When trying to import, dist-git is failing:
[15:12:20][DEBUG][dist_git.dist_git_importer][dist_git_importer:392] 1. Try to get task data
[15:12:20][INFO][dist_git.dist_git_importer][dist_git_importer:484] 2. Task: 9-epel7, importing the package: http://copr02.casalogic.lan/tmp/tmpuxT8L3/copr-mocks-1.5-1.el7.src.rpm
[15:12:20][DEBUG][dist_git.dist_git_importer][dist_git_importer:361] downloading package http://copr02.casalogic.lan/tmp/tmpuxT8L3/copr-mocks-1.5-1.el7.src.rpm
[15:12:20][DEBUG][dist_git.dist_git_importer][dist_git_importer:428] Verifying packagage, getting name and version.
[15:12:20][DEBUG][dist_git.dist_git_importer][dist_git_importer:457] make sure repos exist: mrmeee/Fisk/copr-mocks
[15:12:20][DEBUG][dist_git.dist_git_importer][dist_git_importer:415] importing srpm into the dist-git
[15:12:20][DEBUG][dist_git.srpm_import][srpm_import:57] repo_dir: /tmp/tmpFpUmZy/copr-mocks
[15:12:20][DEBUG][dist_git.srpm_import][srpm_import:77] clone the pkg repository into tmp directory
[15:12:20][DEBUG][pyrpkg][__init__:1279] Checking out a specific branch ssh://copr-dist-git@localhost/mrmeee/Fisk/copr-mocks
[15:12:20][DEBUG][pyrpkg][__init__:952] Running git clone -b epel7 ssh://copr-dist-git@localhost/mrmeee/Fisk/copr-mocks --origin origin and logging output
[15:12:20][INFO][pyrpkg][__init__:973] Cloning into 'copr-mocks'...
[15:12:20][DEBUG][dist_git.srpm_import][srpm_import:79] import the source rpm into git and save filenames of sources
[15:12:20][DEBUG][pyrpkg][__init__:680] Creating repo object from /tmp/tmpFpUmZy/copr-mocks
[15:12:21][DEBUG][pyrpkg][__init__:1105] Running: rpm -qp --nosignature --qf %{NAME} /tmp/tmphDba9m/package.src.rpm
[15:12:21][DEBUG][pyrpkg][__init__:1120] Running: rpm -qpl /tmp/tmphDba9m/package.src.rpm
[15:12:21][INFO][dist_git.srpm_import][srpm_import:86] save the source files into lookaside cache
[15:12:21][ERROR][dist_git.dist_git_importer][dist_git_importer:500] Exception raised during srpm import:
Traceback (most recent call last):
File "/usr/share/copr/dist_git/dist_git_importer.py", line 493, in do_import
task.git_hash = self.git_import_srpm(task, fetched_srpm_path)
File "/usr/share/copr/dist_git/dist_git_importer.py", line 419, in git_import_srpm
return do_git_srpm_import(self.opts, filepath, task, tmp)
File "/usr/share/copr/dist_git/srpm_import.py", line 112, in do_git_srpm_import
raise PackageImportException("Failed to import the source rpm: {}".format(src_filepath))
PackageImportException: Failed to import the source rpm: /tmp/tmphDba9m/package.src.rpm
[15:12:21][DEBUG][dist_git.dist_git_importer][dist_git_importer:465] Sending back:
{"task_id": "9-epel7", "error": "srpm_import_failed"}
[15:12:21][DEBUG][dist_git.dist_git_importer][dist_git_importer:392] 1. Try to get task data
[15:12:21][DEBUG][dist_git.dist_git_importer][dist_git_importer:399] No new tasks to process
Any way to get the importer to throw some more info????
Or anyone who recognize this error...
When running the script defined in the installation (https://pagure.io/fork/mrmeee/copr/copr/blob/master/f/dist-git)... I get:
[root@copr02 new]# /usr/share/copr/dist_git/dist_git_importer.py
Traceback (most recent call last):
File "/usr/share/copr/dist_git/dist_git_importer.py", line 13, in <module>
from .exceptions import CoprDistGitException, PackageImportException, PackageDownloadException, SrpmBuilderException, \
ValueError: Attempted relative import in non-package
7 years
failed to post data to frontend
by Martin Juhl
Hi
I'm getting these errors/warnings:
==> /var/log/copr-backend/backend.log <==
[2016-12-05 11:57:15,358][WARNING][backend.main][frontend.py:_post_to_frontend_repeatedly:48] failed to post data to frontend, repeat #20
[2016-12-05 11:57:20,452][WARNING][backend.main][frontend.py:_post_to_frontend_repeatedly:48] failed to post data to frontend, repeat #21
/etc/copr/copr-be.conf:
[backend]
# URL where are results visible
# default is http://copr
results_baseurl=https://copr02.casalogic.lan
# default is http://coprs/rest/api
frontend_base_url=http://copr02.casalogic.lan/api
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
# default is PASSWORDHERE but you really should change it. really.
frontend_auth=mjp123
dist_git_url=copr02.casalogic.lan
/etc/copr/copr.conf:
# Directory and files where is stored Copr database files
DATA_DIR = '/var/lib/copr/data'
DATABASE = '/var/lib/copr/data/copr.db'
OPENID_STORE = '/var/lib/copr/data/openid_store'
WHOOSHEE_DIR = '/var/lib/copr/data/whooshee'
# salt for CSRF codes
SECRET_KEY = 'mjp123'
BACKEND_PASSWORD = 'mjp123'
#CSRF_ENABLED = True
# as of Flask-WTF 0.9+
WTF_CSRF_ENABLED = True
Anything else I need to check??? Or any URLs that are wrong..??
Regards
Martin
7 years
| Upcoming release today
by Michal Novotny
Hello,
today at 7pm UTC, the latest COPR stack will be deployed into production.
clime
7 years
| New release
by Michal Novotny
Hello!
The latest COPR packages were deployed into production. This release is big
bringing lots of new features and bugfixes. Here is a list of the most
important new features that you can find in the new stack:
- improved modularity UI and support for modulemd 1.0.2 for building modules
- build timeout set to 18 hours
- fedora-rawhide chroots renamed to fedora-26 chroots
- auto-prune on/off admin option added to project
- generation of mock configs by using copr-cli
- modularization of template and static files into copr-frontend-fedora
package
- possibility to cancel running builds
- fedmsg autorebuilds of pagure Copr repos
- very basic support for building from dist-git (only Fedora dist-git
supported at the moment)
- show html code for build badge
- speeding up home-page
- and others...please, see the change logs if you are interested (e.g.
https://pagure.io/copr/copr/c/10c7d1a598d1c9cb8ac7c7900a1e78a5aaed11ca?br...
)
COPR team
P.S.: currently there is an issue with mock_scm importing taking a long
time. Also note that you should now build for fedora-26 chroots instead of
the rawhide ones. In case of any questions about the release or a
particular feature in the release, please ask. We will do our best to clear
it up.
7 years