Warning: Permanently added '18.234.99.242' (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/11372241 Version: 1.11 PID: 11942 Logging PID: 11944 Task: {'appstream': False, 'background': True, 'build_id': 11372241, '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': '5e97dd1b0f34ada13de59a7425aa2bb833bc75f1', 'spec': 'syslogcef.spec', 'srpm_build_method': 'rpkg', 'subdirectory': 'packaging/rpm', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/allamiro', 'task_id': '11372241'} Running: git clone https://github.com/allamiro/syslog2cef.git /var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/syslog2cef --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/allamiro/syslog2cef.git', '/var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/syslog2cef', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/syslog2cef'... Running: git checkout 5e97dd1b0f34ada13de59a7425aa2bb833bc75f1 -- cmd: ['git', 'checkout', '5e97dd1b0f34ada13de59a7425aa2bb833bc75f1', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/syslog2cef rc: 0 stdout: stderr: Note: switching to '5e97dd1b0f34ada13de59a7425aa2bb833bc75f1'. 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 5e97dd1 Keep streams running when a forced --mode rejects a line (#140) 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-v09mq6w1/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/syslog2cef/packaging/rpm/syslogcef.spec cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/syslog2cef/packaging/rpm/syslogcef.spec'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/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.5.0-1.src.rpm stderr: syslog2cef_git_sdist: archiving /var/lib/copr-rpmbuild/workspace/workdir-v09mq6w1/syslog2cef: commit 5e97dd1b0f34ada13de59a7425aa2bb833bc75f1 (HEAD, origin/main, origin/HEAD, main) Author: Tamir Suliman Date: Sat Nov 21 22:01:50 2026 +0100 Keep streams running when a forced --mode rejects a line (#140) * Keep streams running when a forced --mode rejects a line With a forced --mode, the first line the parser rejected raised ParserError out of StreamConverter.convert_event and the CLI exited with a traceback. A --listen receiver could be stopped by any sender with one malformed datagram; --tail, file input and --multiprocess stopped too. StreamConverter gains on_parse_error: "raise" (the default, unchanged for library callers) or "raw", which converts the rejected line as a raw-message event (no PRI, timestamp or host; the line is the message; source_hint "unknown") so mapping selection, msg patterns and --stats treat it like any other unmatched line. Anything else is a ValueError. The CLI always uses "raw". The --multiprocess workers fall back the same way through a shared helper and hand rejected lines back to the parent, which logs them, so the warning is not repeated per worker. The first rejected line is logged as a warning naming the mode with a repr-quoted excerpt of at most 200 characters; later ones are logged at DEBUG. Nothing extra is written to stdout. * Document that a forced --mode no longer stops at a rejected line README, SECURITY.md, the man page and docs/patterns.md said a forced --mode stops the run at the first line the parser rejects. Such a line is now converted as a raw-message event and a warning is logged; the stream never aborts. The man page's --mode entry and the msg pattern order in docs/patterns.md say so too. * Treat a crash in a forced parser as a rejected line With a forced --mode, only ParserError was handled, so a register_parser() function (or a built-in parser) that raised anything else on one line still stopped the stream. autodetect_and_parse now re-raises such an exception as ParserError, keeping the original as __cause__, so library callers handle one exception type and the CLI converts the line as a raw-message event like any other rejected line. * Read listener test output through a reader thread select() on a buffered text pipe misses a record that Python already pulled into its buffer, so when both CEF records arrived together the test timed out with only the first one (seen in CI). A reader thread now drains stdout into a queue, and the datagram pair is resent every 0.5 s until both records come back. syslog2cef_git_sdist: Wrote: /var/lib/copr-rpmbuild/results/syslog2cef-0.5.0.tar.gz Building target platforms: noarch Building for target noarch Output: ['syslogcef.logrotate', 'syslog2cef.spec', 'syslogcef.1', 'syslogcef@.service', 'syslogcef-instance.conf', 'syslogcef.sysusers', 'syslogcef.conf', 'syslog2cef-0.5.0.tar.gz', 'syslog2cef-0.5.0-1.src.rpm', 'syslogcef.service'] 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.1 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.logrotate Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef-instance.conf 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.sysusers Failed to create a dummy source: /var/lib/copr-rpmbuild/results/syslogcef.service 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.5.0", "release": "1" } SRPMResults finished