Michal Toman eee810c
Summary: Application for remote coredump analysis
Michal Toman eee810c
Name: retrace-server
Packit Service c56388e
Version: 1.22.3
Packit Service 22bd597
Release: 1%{?dist}
Michal Toman eee810c
License: GPLv2+
9b5ad9f
URL: https://github.com/abrt/retrace-server
9b5ad9f
Source0: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Michal Toman eee810c
837927e
%if 0%{?fedora} >= 29
3c8e134
# There are Python plugins in /usr/share/retrace-server/plugins
3c8e134
%global _python_bytecompile_extra 0
3c8e134
%endif
3c8e134
Michal Toman dbebecd
BuildArch: noarch
Michal Toman dbebecd
Michal Toman 045cecb
BuildRequires: asciidoc
Packit Service 22bd597
BuildRequires: gettext
Packit Service 22bd597
BuildRequires: gzip
Packit Service 22bd597
BuildRequires: lsof
837927e
BuildRequires: lsof
Packit Service 22bd597
BuildRequires: meson
3c8e134
BuildRequires: python3-devel
Packit Service 22bd597
BuildRequires: tar
Packit Service 22bd597
BuildRequires: texinfo
Packit Service 22bd597
BuildRequires: xmlto
Packit Service 22bd597
BuildRequires: xz
Michal Toman eee810c
Michal Toman eee810c
Requires: rsync
041aafb
Requires: mock >= 1.4.7
Michal Toman eee810c
Requires: xz
Michal Toman b9b9bb5
Requires: gzip
Michal Toman b9b9bb5
Requires: bzip2
Michal Toman b9b9bb5
Requires: tar
Michal Toman b9b9bb5
Requires: p7zip
Michal Toman b9b9bb5
Requires: unzip
9b5ad9f
Requires: lzop
837927e
Requires: lsof
Michal Toman eee810c
Requires: elfutils
3c8e134
Requires: createrepo_c
0ac70b2
Requires: python3-createrepo_c
3c8e134
Requires: python3-mod_wsgi
3c8e134
Requires: python3-webob
3c8e134
Requires: python3-magic
3c8e134
Requires: python3-requests
837927e
Requires: python3-requests-gssapi
3c8e134
Requires: python3-bugzilla
3c8e134
Requires: python3-dnf
3c8e134
Requires: python3-hawkey
041aafb
Requires: mod_ssl
Jakub Filak 0e0894e
Requires: sqlite
Michal Toman ccea95e
Requires: crash >= 5.1.7
Michal Toman b9b9bb5
Requires: wget
Michal Toman b9b9bb5
Requires: kexec-tools
Packit Service 22bd597
Requires: distribution-gpg-keys
3c8e134
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} <= 27)
Michal Toman eee810c
Requires(preun): /sbin/install-info
Michal Toman eee810c
Requires(post): /sbin/install-info
3c8e134
%endif
Jakub Filak 0e0894e
Requires(post): /usr/bin/crontab
0ac70b2
Recommends: podman
Michal Toman eee810c
Michal Toman eee810c
Obsoletes: abrt-retrace-server < 2.0.3
Michal Toman eee810c
Provides: abrt-retrace-server = 2.0.3
Michal Toman eee810c
Michal Toman eee810c
%description
Michal Toman eee810c
The retrace server provides a coredump analysis and backtrace
Michal Toman eee810c
generation service over a network using HTTP protocol.
Michal Toman eee810c
Michal Toman eee810c
%prep
Packit Service 22bd597
%autosetup
Michal Toman eee810c
Michal Toman eee810c
%build
Packit Service 22bd597
%meson \
Packit Service 22bd597
    -Ddocs=enabled \
Packit Service 22bd597
    %{nil}
Packit Service 22bd597
%meson_build
Michal Toman eee810c
Michal Toman eee810c
%install
Packit Service 22bd597
%meson_install
Michal Toman eee810c
3c8e134
# Remove byte-compiled python files generated by automake.
3c8e134
# automake uses system's python for all *.py files, even
3c8e134
# for those which needs to be byte-compiled with different
3c8e134
# version (python2/python3).
3c8e134
# rpm can do this work and use the appropriate python version.
837927e
find %{buildroot} -name "*.py[co]" -delete
3c8e134
837927e
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}
837927e
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}/kernel
837927e
mkdir -p %{buildroot}%{_localstatedir}/cache/%{name}/download
837927e
mkdir -p %{buildroot}%{_localstatedir}/log/%{name}
837927e
mkdir -p %{buildroot}%{_localstatedir}/spool/%{name}
0ac70b2
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
837927e
mkdir -p %{buildroot}%{_datadir}/%{name}
0ac70b2
mkdir -p %{buildroot}%{_sharedstatedir}/retrace
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/pre_start
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/start
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/pre_prepare_debuginfo
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/post_prepare_debuginfo
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/pre_prepare_environment
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/post_prepare_environment
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/pre_retrace
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/post_retrace
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/success
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/fail
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/pre_remove_task
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/post_remove_task
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/pre_clean_task
0ac70b2
mkdir -p %{buildroot}%{_libexecdir}/%{name}/hooks/post_clean_task
Michal Toman eee810c
837927e
%if 0%{?fedora} >= 29
837927e
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}/plugins
3c8e134
%endif
3c8e134
837927e
rm -f %{buildroot}%{_infodir}/dir
Michal Toman eee810c
Michal Toman eee810c
%{find_lang} %{name}
Michal Toman eee810c
Michal Toman 045cecb
%pre
Michal Toman 045cecb
#retrace uid/gid reserved in setup, rhbz #706012
Michal Toman 045cecb
%define retrace_gid_uid 174
Michal Toman 045cecb
getent group retrace > /dev/null || groupadd -f -g %{retrace_gid_uid} --system retrace
0ac70b2
getent passwd retrace > /dev/null || useradd --system -g retrace -u %{retrace_gid_uid} -d %{_sharedstatedir}/retrace -s /sbin/nologin retrace
Michal Toman 045cecb
exit 0
Michal Toman 045cecb
Michal Toman eee810c
%post
3c8e134
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} <= 27)
Michal Toman eee810c
/sbin/install-info %{_infodir}/%{name} %{_infodir}/dir 2> /dev/null || :
3c8e134
%endif
Michal Toman b9b9bb5
/usr/sbin/usermod -a -G mock retrace 2> /dev/null || :
Michal Toman dbebecd
Michal Toman 0a774e0
if [ "$1" = 1 ]
Michal Toman 0a774e0
then
Michal Toman e19fe7f
#add disabled crontab entries to retrace's crontab
Michal Toman b9b9bb5
    %define retrace_crontab_entry0 "# 0 * * * * /usr/bin/retrace-server-cleanup >> /var/log/retrace-server/cleanup_error.log 2>&1"
Michal Toman e19fe7f
    %define retrace_crontab_entry1 "#0 0,12 * * * /usr/bin/retrace-server-reposync fedora 15 i386 >> /var/log/retrace-server/reposync_error.log 2>&1"
Michal Toman e19fe7f
    %define retrace_crontab_entry2 "#0 2,14 * * * /usr/bin/retrace-server-reposync fedora 15 x86_64 >> /var/log/retrace-server/reposync_error.log 2>&1"
Michal Toman e19fe7f
    %define retrace_crontab_entry3 "#0 4,16 * * * /usr/bin/retrace-server-reposync fedora 16 i386 >> /var/log/retrace-server/reposync_error.log 2>&1"
Michal Toman e19fe7f
    %define retrace_crontab_entry4 "#0 6,18 * * * /usr/bin/retrace-server-reposync fedora 16 x86_64 >> /var/log/retrace-server/reposync_error.log 2>&1"
Michal Toman e19fe7f
    %define retrace_crontab_entry5 "#0 8,20 * * * /usr/bin/retrace-server-reposync fedora rawhide i386 >> /var/log/retrace-server/reposync_error.log 2>&1"
Michal Toman e19fe7f
    %define retrace_crontab_entry6 "#0 10,22 * * * /usr/bin/retrace-server-reposync fedora rawhide x86_64 >> /var/log/retrace-server/reposync_error.log 2>&1"
Michal Toman e19fe7f
Michal Toman b9b9bb5
    (crontab -u retrace -l 2> /dev/null; echo %{retrace_crontab_entry0}; \
Michal Toman e19fe7f
     echo %{retrace_crontab_entry1}; echo %{retrace_crontab_entry2}; \
Michal Toman e19fe7f
     echo %{retrace_crontab_entry3}; echo %{retrace_crontab_entry4}; \
Michal Toman e19fe7f
     echo %{retrace_crontab_entry5}; echo %{retrace_crontab_entry6};) | crontab -u retrace - 2> /dev/null
Michal Toman 0a774e0
fi
0ac70b2
exit 0
Michal Toman eee810c
Michal Toman eee810c
%preun
Michal Toman eee810c
if [ "$1" = 0 ]
Michal Toman eee810c
then
3c8e134
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} <= 27)
Michal Toman 045cecb
    /sbin/install-info --delete %{_infodir}/retrace-server %{_infodir}/dir 2> /dev/null || :
3c8e134
%endif
Michal Toman e19fe7f
#comment entries in retrace's crontab
Michal Toman e19fe7f
    (crontab -u retrace -l 2> /dev/null | sed "s,^\([^#].*\)$,#\1,g") | crontab -u retrace - 2> /dev/null
Michal Toman eee810c
fi
0ac70b2
exit 0
Michal Toman eee810c
Michal Toman eee810c
%files -f %{name}.lang
Michal Toman eee810c
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}-httpd.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-hooks.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/hooks/debuginfo.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/hooks/fail.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/hooks/environment.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/hooks/retrace.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/hooks/start.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/hooks/success.conf
0ac70b2
%config(noreplace) %{_sysconfdir}/%{name}/hooks/task.conf
Michal Toman 045cecb
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
Michal Toman 045cecb
%dir %attr(0755,retrace,retrace) %{_localstatedir}/cache/%{name}
Michal Toman b9b9bb5
%dir %attr(0755,retrace,retrace) %{_localstatedir}/cache/%{name}/kernel
Michal Toman b9b9bb5
%dir %attr(0755,retrace,retrace) %{_localstatedir}/cache/%{name}/download
Michal Toman b9b9bb5
%dir %attr(0750,retrace,retrace) %{_localstatedir}/log/%{name}
Michal Toman e261edc
%dir %attr(0770,retrace,retrace) %{_localstatedir}/spool/%{name}
0ac70b2
%dir %{_sysconfdir}/%{name}
0ac70b2
%dir %attr(0775,root,retrace) %{_libexecdir}/%{name}
Michal Toman dbebecd
%{_bindir}/%{name}-worker
Michal Toman f89c503
%{_bindir}/%{name}-interact
Michal Toman eee810c
%{_bindir}/%{name}-cleanup
Michal Toman eee810c
%{_bindir}/%{name}-reposync
9b5ad9f
%{_bindir}/%{name}-reposync-faf
9b5ad9f
%{_bindir}/%{name}-plugin-checker
041aafb
%{_bindir}/%{name}-task
3c8e134
%{_bindir}/%{name}-bugzilla-refresh
3c8e134
%{_bindir}/%{name}-bugzilla-query
Michal Toman eee810c
%{_bindir}/coredump2packages
3c8e134
%{python3_sitelib}/retrace/
3c8e134
%{_datadir}/%{name}/
0ac70b2
%dir %attr(0755,retrace,retrace) %{_sharedstatedir}/retrace/
0ac70b2
%attr(0775,root,retrace) %{_libexecdir}/%{name}/hooks/
9b5ad9f
%doc %{_mandir}/man1/%{name}-cleanup.1*
9b5ad9f
%doc %{_mandir}/man1/%{name}-interact.1*
9b5ad9f
%doc %{_mandir}/man1/%{name}-reposync.1*
9b5ad9f
%doc %{_mandir}/man1/%{name}-worker.1*
041aafb
%doc %{_mandir}/man1/%{name}-task.1*
Michal Toman eee810c
%doc %{_infodir}/%{name}*
041aafb
%doc README.md
041aafb
%license COPYING
Michal Toman eee810c
Michal Toman eee810c
%changelog
Packit Service c56388e
* Fri Oct 30 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 1.22.3-1
Packit Service c56388e
- new upstream release: 1.22.3
Packit Service c56388e
Packit Service cfef461
* Fri Oct 23 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 1.22.2-1
Packit Service cfef461
- new upstream release: 1.22.2
Packit Service cfef461
de9cc3c
* Wed Oct 21 2020 Matěj Grabovský <mgrabovs@redhat.com> 1.22.0-1
de9cc3c
- Add support for virtual memory files for vmcores
de9cc3c
- Add option to restart an existing task in retrace-server-task and on task manager page
de9cc3c
- Disallow users other than 'retrace' to call retrace-server-worker
de9cc3c
- Improve error message in case of Kerberos authentication failure
de9cc3c
- Revamp task manager web UI
de9cc3c
- Revamp GPG verification of package signatures; use keys from distribution-gpg-keys
de9cc3c
- Accommodate for multiple debug directories in Fedora 27 and later
de9cc3c
- Fix FTP submissions on task manager page
de9cc3c
- Fix permissions on dmesg file in task results directory
de9cc3c
- Migrate build process to Meson; completely drop Autotools
de9cc3c
- Add Tito configuration
de9cc3c
- Update translations
de9cc3c
- Drop python3-six dependency
de9cc3c
- Add build dependencies on gzip, lsof, tar and xz
de9cc3c
- Rewrite Dockerfile
de9cc3c
- Migrate to calling subprocess.run() in place of s.Popen() and s.call()
de9cc3c
- Use pathlib.Path instead of strings and os.path methods in some places
de9cc3c
- Add kernel-only config options 'KernelDebuggerPath' and 'RetraceEnvironment=native'
de9cc3c
- Introduce type annotations
de9cc3c
- Address issues reported by Pylint
de9cc3c
- Other minor code refactoring and cleanup operations
de9cc3c
de9cc3c
* Wed Oct 21 2020 Matěj Grabovský <mgrabovs@redhat.com> 1.22.0-1
de9cc3c
- Add support for virtual memory files for vmcores
de9cc3c
- Add option to restart an existing task in retrace-server-task and on task manager page
de9cc3c
- Disallow users other than 'retrace' to call retrace-server-worker
de9cc3c
- Improve error message in case of Kerberos authentication failure
de9cc3c
- Revamp task manager web UI
de9cc3c
- Revamp GPG verification of package signatures; use keys from distribution-gpg-keys
de9cc3c
- Accommodate for multiple debug directories in Fedora 27 and later
de9cc3c
- Fix FTP submissions on task manager page
de9cc3c
- Fix permissions on dmesg file in task results directory
de9cc3c
- Update translations
de9cc3c
- Drop python3-six dependency
de9cc3c
- Add build dependencies on gzip, lsof, tar and xz
de9cc3c
- Rewrite Dockerfile
de9cc3c
- Migrate to calling subprocess.run() in place of s.Popen() and s.call()
de9cc3c
- Use pathlib.Path instead of strings and os.path methods in some places
de9cc3c
- Add kernel-only config options 'KernelDebuggerPath' and 'RetraceEnvironment=native'
de9cc3c
- Introduce type annotations
de9cc3c
- Address issues reported by Pylint
de9cc3c
- Other minor code refactoring and cleanup operations
de9cc3c
de9cc3c
* Fri Feb 07 2020 Michal Fabik <mfabik@redhat.com> 1.21.0-1
de9cc3c
- README: Add translation status
de9cc3c
- translations: Remove zanata config and script
0ac70b2
- retrace: Fix bytes has no attribute encode
de9cc3c
- Fix error when calling run_crash_cmdline after conversion to run()
de9cc3c
- Fix error handling when unknown exception occurs in run_crash_cmdline
de9cc3c
- podman: Tweak the Dockerfile for retracing
de9cc3c
- Remove rpm2cpio part from podman retrace
de9cc3c
- Check for RequireGPGCheck
de9cc3c
- Simplify run calls
de9cc3c
- Make returncode checks more readable
de9cc3c
- Fix container and image cleanup
de9cc3c
- Tag podman images with task id
0ac70b2
- Replace call() and Popen() with run()
de9cc3c
- Fix container cleanup
0ac70b2
- Change home dir for user 'retrace'
de9cc3c
- Use more meaningful log messages
de9cc3c
- Replace os.devnull with subprocess.DEVNULL
de9cc3c
- Add podman-specific deployment instructions
0ac70b2
- Fix pylint issues
de9cc3c
- Run hooks with podman as well
de9cc3c
- Add UseFafPackages support in podman
de9cc3c
- Fix indentation
de9cc3c
- Add exit code to spec file scriptlet
de9cc3c
- Add podman as a weak dependency
de9cc3c
- Beautify gdb.sh
0ac70b2
- Run retrace in podman container
de9cc3c
- Create Dockerfiles
de9cc3c
- Make mock-specific parts conditional
de9cc3c
- Remove test for abrt-gdb-exploitable
de9cc3c
- Add RetraceEnvironment config item
de9cc3c
- Fix spelling
0ac70b2
- Tweak man pages
0ac70b2
- Update translations
de9cc3c
- r-s-reposync-faf: Fix paths to rpms
de9cc3c
- Update (pt) translation
de9cc3c
- Update (nl) translation
de9cc3c
- Update (de) translation
de9cc3c
- Update (bg) translation
de9cc3c
- Update (tr) translation
de9cc3c
- Update (it) translation
de9cc3c
- Add (zh_HK) translation
0ac70b2
- r-s-reposync: Replace old way of cmp with key
de9cc3c
- README.md: Change capitalization of freenode
de9cc3c
- Fix build error after change of mock.conf to environment.conf
de9cc3c
- hooks: Rename mock hook to environment
0ac70b2
- hooks: Add option for per-executable timeouts
0ac70b2
- spec: Remove upgrade script moving config to new location
0ac70b2
- hooks:config: Load configs from users homedir
0ac70b2
- hooks: Move default hook script dir to /usr/libexec
0ac70b2
- hooks: Log stdout and stderr of scripts after exception
0ac70b2
- hooks: Run hook scripts in parallel processes
0ac70b2
- spec: Do not replace configs on reinstall
0ac70b2
- hooks: Fix hook timeouts and other exceptions logs
0ac70b2
- hooks: Change cwd for hooks to hooks dir
0ac70b2
- hooks: Change of retrace hooks
0ac70b2
- config: Move retrace-server configuration file
0ac70b2
- retrace: Change logging format
de9cc3c
- retrace_worker: Remove distro hack from mock config
de9cc3c
- dockerfile_local: Install vim
0ac70b2
- docker: Update Makefile
0ac70b2
- docker: Use sbin/httpd instead of apachectl
0ac70b2
- dockerfile_local: Install make
0ac70b2
- dockerfile: Update to Fedora 31
0ac70b2
- dockerfile: Install mod_ssl
0ac70b2
- retrace_worker: Fix file mode to write to file
0ac70b2
- retrace-server-worker: Correct import of ArgumentParser
0ac70b2
de9cc3c
* Tue Oct 29 2019 Michal Fabik <mfabik@redhat.com> 1.20.0-1
837927e
- Bump Fedora Release in Dockerfile
837927e
- retrace_worker: Use kernelver_str var
837927e
- retrace_worker: Remove unused variables
837927e
- retrace: Remove unused variable
837927e
- retrace: Use converted integer value
837927e
- retrace: Remove unsused variable
837927e
- pylint: Fix wrong indentations
837927e
- pylint W0702: Fix-up bare exceptions
837927e
- pylint: Fix spacing issues
837927e
- Remove Python2/Python3 compatibility code
837927e
- pylint E713: Test for membership should be ‘not in’
837927e
- retrace: Refactor asterisk imports of retrace
837927e
- Translation updates
837927e
- Add new translation languages - tr
837927e
- Add transtalations from Fedora Zanata
837927e
- Remove workdir functionality
837927e
- retrace-server-interact: Fix undefined self var
837927e
- retrace: Fix undefined vmcore variable
837927e
- Fix typos
837927e
- Fix typos and minor grammar issues
837927e
- Switch to requests-gssapi
837927e
- create: Fix strip_extra_pages() invocation
837927e
- plugins: Add el8 to versionlist
837927e
- plugins: Add plugin for CentOS
837927e
- plugins: Update fedora versionlist
837927e
- plugins: Update devtoolset version
837927e
- stats: Display whole release version
837927e
- Use sys.exit instead of exit for retrace-server commands
837927e
- Move makedumpfile logic from download_remote into start_vmcore
837927e
- Move prepare_debuginfo to KernelVMcore
837927e
- Remove call to prepare_debuginfo from retrace-server-interact
837927e
- Move get_kernel_release to KernelVMcore
837927e
- Move strip_vmcore to KernelVMcore.strip_extra_pages
837927e
- Add KernelVMcore.has_extra_pages method
837927e
- Move get_vmcore_dump_level to KernelVMcore.get_dump_level
837927e
- Handle 'flattened' vmcore format by converting with makedumpfile
837927e
- Pass 'results' directory to hook script rather than task_dir.
837927e
- Rename 'misc' methods and subdirectory to 'results'.
837927e
- delete: Fix typo in function name
837927e
- Clean up handling of mock with x86 vmcores in x86_64 environments
837927e
- Remove bt_filter from retrace-server
837927e
- Remove excess post-retrace crash commands
837927e
- Make retrace-server-cleanup more resilient to non-existent tasks
837927e
- retrace: Allow tilde in package names
837927e
- spec: Use macros instead of environment variables
837927e
- Fix module extraction from kernel-debuginfo
837927e
- Move ProcessCommunicateTimeout inside run_crash_cmdline
837927e
- Move run_crash_cmdline from RetraceWorker to RetraceTask
837927e
- Fix backtrace of bt_filter on Python3
837927e
- Remove 'utf-8' encoding for run_crash_cmd and change related functions.
837927e
- Refactor crash commands run after prepare_debuginfo into run_crash_cmdline helper
837927e
- worker: Add string formatting for provided arguments
837927e
- worker: Remove unused function
837927e
- worker: Use log_error function to log errors
837927e
- Fix runaway crash processes due to either corrupted vmcore memory or files.
837927e
- Fix backtrace when updating bugzillano from web UI due to use of basestring
de9cc3c
- Fix message and code path when we fail to decode the release of vmcore
de9cc3c
- spec: Fix test condition for Fedora
de9cc3c
- spec: Fix %if conditions
de9cc3c
- spec: Add python3-createrepo_c dependency
de9cc3c
- retrace_worker: Ignore EEXISTS when symlinking log
de9cc3c
- retrace: Replace execfile with exec(open())
de9cc3c
- Drop YUM support
de9cc3c
- Drop __future__.print_function import
de9cc3c
- Drop __future__.division import
de9cc3c
- Fix ftp.wsgi for Python3 due to sorted() method change, speed manager load
de9cc3c
- Fix get_kernel_release() on Python3
de9cc3c
- cleanup: Add check for opened crash files
de9cc3c
- Add forgotten encoding
de9cc3c
- reposync: Inform why creating of repository failed
de9cc3c
de9cc3c
* Mon Aug 27 2018 Martin Kutlak <mkutlak@redhat.com> 1.19.0-1
3c8e134
- docker: Allow building local changes
3c8e134
- docker: Introduce docker
3c8e134
- spec: Require Python3 pkgs of dnf and hawkey
3c8e134
- retrace: Check result of get_nevra_possibilities
3c8e134
- r-s-reposync-faf: Convert generator to list
3c8e134
- spec: Add BuildRequire python3-devel
3c8e134
- r-s-reposync-faf: Generate repo using createrepo_c
3c8e134
- httpd-conf: Set WSGIApplicationGroup to %{GLOBAL}
3c8e134
- r-s-reposync: Use default number of workers
3c8e134
- dnf-comp: Replace yum.misc lib with one from dnf
3c8e134
- py3-comp: Distinguish string and byte values in POST
3c8e134
- py3-comp: Specify encoding for Popen
3c8e134
- py3-comp: Use parentheses for print
3c8e134
- py3-comp: Encode response body as a bytestring
3c8e134
- py3-comp: Convert regexps strings to raw strings
3c8e134
- Migrate retrace-server to python3
3c8e134
- Implement splitFilename function using dnf
3c8e134
- Replace yum with DNF
3c8e134
- Correct syntax for gdb backtrace command
3c8e134
- Refactoring: Too long lines, missing whitespaces
3c8e134
- Add has_coredump() method to RetraceTask and upate get_md5_tasks()
3c8e134
- Modify get_md5_tasks to skip tasks with no vmcores or invalid md5sum files
3c8e134
- Add 'has_vmcore' method to RetraceTask
3c8e134
- spec: Bytecompile r-s plugins explicitly
3c8e134
- spec: Remove automake byte-compiled files
3c8e134
- spec: Correct the file ownership
3c8e134
- do not require install-info on F28+
3c8e134
- Adjust indentation according to pylint recommendation
3c8e134
- py3 compatibility: Replace filter function with a list equivalent
3c8e134
- py3 compatibility: Adjust urllib, urllib2 and urlparse
3c8e134
- Fix missing sys import
3c8e134
- Clean up of unused imports
3c8e134
- py3 compatibility: Adjust imports
3c8e134
- py3 compatibility: Resolution of range and xrange
3c8e134
- py3 compatibility: Replace ConfigParser module with configparser
3c8e134
- py3 compatibility: Classic division
3c8e134
- py3 compatibility: Adjust raise statement syntax
3c8e134
- py3 compatibility: Replace StringIO module with io module
3c8e134
- py3 compatibility: Removal of tuple parameter unpacking
3c8e134
- Refactoring: Missing or bad whitespace
3c8e134
- py3 compatibility: Set literals
3c8e134
- py3 compatibility: Use 'sorted' built-in function
3c8e134
- py3 compatibility: Replacement of basestring with six.string_types
3c8e134
- py3 compatibility: Ensure map function to return a list
3c8e134
- py3 compatibility: Replacement of 'has_key' with 'in'
3c8e134
- Make r-s-bugzilla-query query options configurable
3c8e134
- Load credentials from custom file
3c8e134
- manager: Make the bugzillano a clickable link
3c8e134
- Query the remaining bugzilla statuses
3c8e134
- retrace: Add reset_age method
3c8e134
- Implement retrace-server-bzquery tool
3c8e134
- Implement retrace-server-bugzilla-refresh tool
3c8e134
- Implement bugzilla field
3c8e134
- py3 compatibility: Octal literals
3c8e134
- py3 compatibility: try-except statement
3c8e134
- py3 compatibility: print statement is replaced with a print() function
3c8e134
- For vmcores that fail crash but have a large enough kernel log, try --minimal
3c8e134
- Set md5sum as soon as possible.
3c8e134
- Add dedup_vmcore to RetraceWorker and call from retrace-server-cleanup
3c8e134
- Fail task if the crash sys command exits with non-zero and kernellog is small
3c8e134
- Fix typo in exception handling of get_kernel_release
3c8e134
- Set default signal handler for SIGPIPE before calling Popen on 'crash --osrelease'
3c8e134
- Improve vmcore kernel parsing for certain scenarios and limit file scanning
3c8e134
- autogen: correctly parse buildrequires from spec file
3c8e134
- spec: Do not:x show every single change
3c8e134
041aafb
* Thu Feb 01 2018 Matej Marusak <mmarusak@redhat.com> 1.18.0-1
041aafb
- mark license as license
041aafb
- Update Python 2 dependency declarations to new packaging standards
041aafb
- defattr is not needed as this is default
041aafb
- use standard python_sitelib macro
041aafb
- remove old changelog entries
041aafb
- we do not build for el6 any more
041aafb
- remove group
041aafb
- Remove duplicate RetraceWorker._fail call when start_vmcore fails
041aafb
- Add md5sum and kernelver to email notifications, help text to failing notification
041aafb
- Convert notify_email_success and notify_email_fail to a single method
041aafb
- Create notify_email_success / notify_email_fail helpers
041aafb
- Enable packages with epoch
041aafb
- Update to new mock
041aafb
- Set kernelver and vmlinux as soon as possible
041aafb
- reposync: Cleanup is not done by default in createrepo
041aafb
- Explicitly state python version in shebangs
041aafb
- Fix unreadable crash subdirectory when tarball is submitted without group read permissions
041aafb
- Try noarch when checking for package
041aafb
- Add pylintrc
041aafb
- Use dnf in mock config on Fedora
041aafb
- Update mock config for new mock version
041aafb
- Pylint updates
041aafb
- Add commandline client
041aafb
- Add aliases into FAF reposync
041aafb
- Cleanup tmp FAF repository after failing
041aafb
- Write coresize for vmcores
041aafb
- Change error message
041aafb
- Fix wrong html tag
041aafb
- Set zero to non-existing type of tasks
041aafb
- Fix typeo in manager.wsgi which creates a backtrace on non-ftp tasks.
041aafb
- Bump version of gettext
041aafb
- Change path for README.md
041aafb
- Fix problem with missing modules on kernel versions with cached vmlinux files.
041aafb
- No first retrace time when no existing task
041aafb
- Make the reposync tool more verbose if required
cad247d
9b5ad9f
* Thu Mar 30 2017 Matej Marusak <mmarusak@redhat.com> 1.17.0-1
9b5ad9f
- Enable creating releases with makefile
9b5ad9f
- Introduce gen-version
9b5ad9f
- Do not use fedorahosted.org as source
9b5ad9f
- Include md5sum of original archive in summary page
9b5ad9f
- Do not try to get default time when ftptask
9b5ad9f
- Fix character escape typo
9b5ad9f
- Change retrace-server httpd config
9b5ad9f
- Modify search for existing vmlinux files in cache to handle older kernel-debuginfos
9b5ad9f
- Default to hex mode for crash commands involving backtraces.
9b5ad9f
- Create directories for tests if they are not present
9b5ad9f
- Don't mention old wiki page
9b5ad9f
- Fix double call of _fail method
9b5ad9f
- Update README
9b5ad9f
- Allow any compression of man pages
9b5ad9f
- Autogen without args configures for debugging
9b5ad9f
- Run 'configure' at the end of 'autogen'
9b5ad9f
- Improve autogen to list and install dependencies
9b5ad9f
- Avoid circular dependency on kernel-debuginfo for vmlinux files already in cache
9b5ad9f
- Add plugin checking action
9b5ad9f
- Update documentation of plugin in README
9b5ad9f
- Use short form rhel when creating repository
9b5ad9f
- Fix methods arguments
9b5ad9f
- Move global variables to config.py.in
9b5ad9f
- Recover from missing start/finish task files
9b5ad9f
- Change error message in cleanup script
9b5ad9f
- Add '-ascending' argument to gdb
9b5ad9f
- Use devtoolset-4-gdb when used on RHEL
9b5ad9f
- Enable creating repository from faf repository
9b5ad9f
- Add 'make check'
9b5ad9f
- Correct eu-unstrip parser if FILE is .
9b5ad9f
- Not mark packages with different architectures as duplicity
9b5ad9f
- Separate worker start_retrace method
9b5ad9f
- Add class to wrap plugins accessing
9b5ad9f
- Add class to wrap configuration file reading
9b5ad9f
- Delete python labels when no python backtrace available
9b5ad9f
- Git ignore bytecode
9b5ad9f
- Add python backtrace, source and locals into backtrace
9b5ad9f
- Move src/lib to src/retrace to make testing retrace-server easier
9b5ad9f
- Add "exploitable" into LocationMatch in the httpd.conf
9b5ad9f
- Fix invalid syntax error in sys.stderr.print()
Jakub Filak 99efca5
Jakub Filak c1c2bb0
* Thu Jun 2 2016 Jakub Filak <jfilak@redhat.com> - 1.16-1
Jakub Filak c1c2bb0
- Log failed to start tasks
Jakub Filak c1c2bb0
- Gracefully handle the worker errors
Jakub Filak c1c2bb0
- Move the FTP query operation to an AJAX operation
Jakub Filak c1c2bb0
- Fix duplicate email if a vmcore task fails to determine the kernel version
Jakub Filak c1c2bb0
- Fix typo preventing email notifications from working.
Jakub Filak c1c2bb0
- Correct eu-unstrip parser if FILE is '-'
Jakub Filak a0648dc
- Allow package names with Epoch
Jakub Filak a0648dc
Jakub Filak bd710af
* Fri Mar 18 2016 Jakub Filak <jfilak@redhat.com> - 1.15-1
Jakub Filak bd710af
- Correct paths to Fedora development releases
Jakub Filak bd710af
- Fix small problem with strip_vmcore calling prepare_debuginfo
Jakub Filak bd710af
- Avoid calling prepare_debuginfo from retrace-server-interact after kernel version detection
Jakub Filak bd710af
- Move prepare_debuginfo and strip_vmcore inside RetraceTask
Jakub Filak bd710af
- Add vmlinux file inside RetraceTask
Jakub Filak bd710af
- Fix bt_filter missing last task/PID read if the last line was not blank
Jakub Filak bd710af
- Update the release information to be dynamic based off of plugins
Jakub Filak bd710af
- Including a Red Hat Enterprise Linux plugin
Jakub Filak bd710af
- Mock logging into retrace task's dir
Jakub Filak bd710af
- Enforce uniform mode bits for almost all RetraceTask files
Jakub Filak bd710af
- Fix incorrect group permissions when writing RetraceServer files especially with interactive mode
Jakub Filak bd710af
- Fix retrace-server-worker --restart backtrace due to unwriteable retrace_log
9b5ad9f
- Correct license address
9b5ad9f
- Add VMCoreTask and UsrCoreTask to config
Jakub Filak a33b3ec
Jakub Filak ad65bf9
* Tue Feb 16 2016 Jakub Filak <jfilak@redhat.com> - 1.14-1
9b5ad9f
- generated config.py for the target platform at build time
9b5ad9f
- update URL patterns for Fedora repositories
9b5ad9f
- spec: add sqlite and cron to requirements
9b5ad9f
- set "crash" inside get_crash_cmd file if the file does not exist
9b5ad9f
- fix get_use_mock typo
9b5ad9f
- use %%global for the nested python_site macro instead of %%define