Builder rsyslog-solaris10-sparc Build #1779
Results:
Failed
SourceStamp:
Project | rsyslog |
Repository | https://github.com/rsyslog/rsyslog.git |
Branch | master |
Revision | 614aa4af7f488995b0273be1176fef6e5c1b3909 |
Changes | 3 changes |
BuildSlave:
unstable10sReason:
The SingleBranchScheduler scheduler named 'schedule-rsyslog-solaris10-sparc' triggered this build
Steps and Logfiles:
Build Properties:
Name | Value | Source |
---|---|---|
branch | master | Build |
builddir | /export/home/buildbot-unstable10s/slave/rsyslog-solaris10-sparc | slave |
buildername | rsyslog-solaris10-sparc | Builder |
buildnumber | 1779 | Build |
codebase | Build | |
project | rsyslog | Build |
repository | https://github.com/rsyslog/rsyslog.git | Build |
revision | 614aa4af7f488995b0273be1176fef6e5c1b3909 | Build |
scheduler | schedule-rsyslog-solaris10-sparc | Scheduler |
slavename | unstable10s | BuildSlave |
workdir | /export/home/buildbot-unstable10s/slave/rsyslog-solaris10-sparc | slave (deprecated) |
Forced Build Properties:
Name | Label | Value |
---|
Responsible Users:
- Rainer Gerhardsrgerhards@adiscon.com
- Willy Tuwltu@google.com
Timing:
Start | Tue Oct 24 18:08:16 2023 |
End | Tue Oct 24 18:09:18 2023 |
Elapsed | 1 mins, 2 secs |
All Changes:
:
Change #183252
Category rsyslog Changed by Willy Tu <wltu @google.com>Changed at Wed 02 Aug 2023 05:14:56 Repository https://github.com/rsyslog/rsyslog.git Project rsyslog Branch master Revision f05128889dbe5ff0f02472a5e2e1be8ba96eef0a Comments
imjournal: Support input module Allow us to bind the imjournal input to an output module. The enable us to block journal reading if the output module is faiiling target by the maint output module. It will support multiple input/output bindings, however, only one should have the `Main` option enabled. If there are multiple, then only the first one found is used. If none are defined, then the default outputs are treated as the main one. With each binding the memory usage will increase since it will open a new journal input. Each input module will create a new state file if it exists with the rule name being the subpath with the base state file as the folder. Tested: Example Config: ``` template(name="journal-format" type="string" string="%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag% %msg%\n" ) ruleset(name="remote" queue.type="direct"){ action( type="omfwd" target="IP_ADDRESS" port="PORT" protocol="tcp" template="journal-format" StreamDriver="ossl" StreamDriverMode="0" StreamDriverAuthMode="anon" action.resumeRetryCount="-1" ) } input( type="imjournal" ruleset="remote" main="on" ) ``` - Stop collector network -> Stop Journal pointer ``` SECONDS=0 expected="$(md5sum /var/log/state/remote)" echo "Expected state ${expected}" while [ $SECONDS -lt 300 ]; do new_state="$(md5sum /var/log/state/remote)" if [[ "${new_state}" != "${expected}" ]]; then echo "Got state ${new_state} instead of ${expected}" exit 1 fi sleep 5 done echo "Passed" exit 0 ``` ``` Expected state 309593de34bc095e4245c1ba07a7520c /var/log/state/remote Passed ``` - Resume Journal Pointer The state file changed after the connection resumed. ``` $ md5sum /var/log/state/remote d11c7e46fec4f86151df204608525d89 /var/log/state/remote ``` The message send in when the connection was down is also sent out properly. Signed-off-by: Willy Tu <wltu@google.com>
Changed files
- plugins/imjournal/imjournal.c
Change #183253
Category rsyslog Changed by Rainer Gerhards <rgerhards @adiscon.com>Changed at Tue 24 Oct 2023 17:58:06 Repository https://github.com/rsyslog/rsyslog.git Project rsyslog Branch master Revision d3aef7f9b5f5477c699272642a5f0e309751b74e Comments
Merge pull request #5146 from wltu/imjournal-input imjournal: Support input module
Changed files
- no files
Change #183254
Category rsyslog Changed by Rainer Gerhards <rgerhards @adiscon.com>Changed at Tue 24 Oct 2023 18:00:26 Repository https://github.com/rsyslog/rsyslog.git Project rsyslog Branch master Revision 614aa4af7f488995b0273be1176fef6e5c1b3909 Comments
maintain ChangeLog
Changed files
- ChangeLog