Warning: Permanently added '107.22.168.195' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/11371794 Version: 1.11 PID: 11815 Logging PID: 11817 Task: {'appstream': False, 'background': True, 'build_id': 11371794, 'chroot': None, 'distributions_in_build': ['centos-stream-10', 'centos-stream-9', 'epel-10', 'epel-9', 'fedora-43', 'fedora-44', 'fedora-45', 'fedora-rawhide', 'rhel-10', 'rhel-9'], 'distributions_in_project': ['centos-stream-10', 'centos-stream-9', 'epel-10', 'epel-9', 'fedora-43', 'fedora-44', 'fedora-45', 'fedora-rawhide', 'rhel-10', 'rhel-9'], 'package_name': 'syslogcef', 'project_dirname': 'syslogcef', 'project_name': 'syslogcef', 'project_owner': 'allamiro', 'repos': [], 'sandbox': 'allamiro/syslogcef--https://api.github.com/users/allamiro', 'source_json': {'clone_url': 'https://github.com/allamiro/syslog2cef.git', 'committish': '2f30db237b5031c95ee95087c6679cfc971163e1', 'spec': 'syslogcef.spec', 'srpm_build_method': 'rpkg', 'subdirectory': 'packaging/rpm', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/allamiro', 'task_id': '11371794'} Running: git clone https://github.com/allamiro/syslog2cef.git /var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/allamiro/syslog2cef.git', '/var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef'... Running: git checkout 2f30db237b5031c95ee95087c6679cfc971163e1 -- cmd: ['git', 'checkout', '2f30db237b5031c95ee95087c6679cfc971163e1', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef rc: 0 stdout: stderr: Note: switching to '2f30db237b5031c95ee95087c6679cfc971163e1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 2f30db2 Address review findings: CEF escaping and documentation claims (#132) Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = https://github.com/%(repo_path)s [lookaside] download_url = https://${git_props:remote_netloc}/repo/pkgs/%(repo_path)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s Writing config into /var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef/packaging/rpm/syslogcef.spec cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef/packaging/rpm/syslogcef.spec'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef/packaging/rpm rc: 0 stdout: Wrote: /var/lib/copr-rpmbuild/results/syslog2cef.spec setting SOURCE_DATE_EPOCH=1795219200 Wrote: /var/lib/copr-rpmbuild/results/syslog2cef-0.4.2-1.src.rpm stderr: syslog2cef_git_sdist: archiving /var/lib/copr-rpmbuild/workspace/workdir-q2c4ppng/syslog2cef: commit 2f30db237b5031c95ee95087c6679cfc971163e1 (HEAD, origin/main, origin/HEAD, main) Author: Tamir Suliman Date: Sat Nov 21 17:53:24 2026 +0100 Address review findings: CEF escaping and documentation claims (#132) * Warn once per failing mapping template, not per event (review on #9) A template that passes load-time validation but cannot render for the data (e.g. %(dpt)d against a non-numeric kv value) fails again for every converted event, so a long or tailed stream logged one warning per line. The first failure of each template is still a warning; repeats are logged at debug level. * Limit the never-abort guarantee to auto-detection (review on #37) A forced --mode raises a parser error on the first line that parser rejects (only indented continuation lines with context are exempt), so the README, man page, and SECURITY.md overstated the fallback: with --mode rfc5424 a mixed file stops at its first non-RFC 5424 line, and a forced mode on a --listen socket lets any sender stop the receiver. State the guarantee for auto-detection only, describe the forced-mode behavior, and drop --mode cisco_seq from the README listener example: auto-detection already recognizes native Cisco output. * Say header CR/LF become spaces, not stripped (review on #13, #14) cef_escape_header replaces CR and LF with a space rather than removing them, so "first\nsecond" renders as "first second". Describe that in SECURITY.md, the README, and the man page, and pin it in the existing header newline test, which now also covers CR. * Man page: templated outputs directly under /var/log/syslogcef are rotated (review on #64) The logrotate rule /var/log/syslogcef/*.cef matches a templated output that renders flat in that directory (events-%H.cef) and copytruncates it while active, as the logrotate snippet itself warns. Only templates that render into a subdirectory escape the rule; say so. * Man page: describe the --mapping example as a custom file (review on #37) The example passes /etc/syslogcef/mapping.json, which no package installs, yet was captioned as forcing the bundled Cisco ASA mapping. Caption it as a user-written mapping file. * Demo: print the tailed records to the terminal (review on #49) Scene 3 ran --tail --append -o events.cef and then showed CEF rows in the terminal, but -o sends every record to the file, so nothing would appear. Drop the output option so the scene shows what the command prints. * cef_fields.md: scope the CEF 0.1 IPv4-only rule (review on #76) CEF 0.1 is not IPv4-only for every address field: the same dictionary defines c6a1, c6a3, and c6a4 as IPv6 fields. Limit the statement to the general address fields (src, dst, dvc, translated addresses), which is also what --validate/--strict enforce. * Check the man page version against the package (review on #59) The .TH version in syslogcef.1 is bumped by hand and once drifted from pyproject.toml. Add it to the release checklist and a test that fails when the two disagree. syslog2cef_git_sdist: Wrote: /var/lib/copr-rpmbuild/results/syslog2cef-0.4.2.tar.gz Building target platforms: noarch Building for target noarch Output: ['syslogcef.conf', 'syslog2cef-0.4.2.tar.gz', 'syslogcef.logrotate', 'syslog2cef-0.4.2-1.src.rpm', 'syslogcef.sysusers', 'syslog2cef.spec', 'syslogcef@.service', 'syslogcef.1', 'syslogcef.service', 'syslogcef-instance.conf'] Running SRPMResults tool Using distributions_in_build for this build. Extracting arch-specific tags for centos-stream-10 Extracting arch-specific tags for centos-stream-9 Extracting arch-specific tags for epel-10 Extracting arch-specific tags for epel-9 Extracting arch-specific tags for fedora-43 Extracting arch-specific tags for fedora-44 Extracting arch-specific tags for fedora-45 Extracting arch-specific tags for fedora-rawhide Extracting arch-specific tags for rhel-10 Extracting arch-specific tags for rhel-9 Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef.sysusers Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef@.service Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef.logrotate Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef.service Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef.conf Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef.1 Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef-instance.conf Package info: { "architecture_specific_tags": { "centos-stream-10": { "buildarch": [ "noarch" ] }, "centos-stream-9": { "buildarch": [ "noarch" ] }, "epel-10": { "buildarch": [ "noarch" ] }, "epel-9": { "buildarch": [ "noarch" ] }, "fedora-43": { "buildarch": [ "noarch" ] }, "fedora-44": { "buildarch": [ "noarch" ] }, "fedora-45": { "buildarch": [ "noarch" ] }, "fedora-rawhide": { "buildarch": [ "noarch" ] }, "rhel-10": { "buildarch": [ "noarch" ] }, "rhel-9": { "buildarch": [ "noarch" ] } }, "name": "syslog2cef", "epoch": null, "version": "0.4.2", "release": "1" } SRPMResults finished