Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder rsyslog-solaris10-sparc Build #1779

Results:

Failed

SourceStamp:

Projectrsyslog
Repositoryhttps://github.com/rsyslog/rsyslog.git
Branchmaster
Revision614aa4af7f488995b0273be1176fef6e5c1b3909
Changes3 changes

BuildSlave:

unstable10s

Reason:

The SingleBranchScheduler scheduler named 'schedule-rsyslog-solaris10-sparc' triggered this build

Steps and Logfiles:

  1. git updating ( 1 mins, 2 secs )
    1. stdio
  2. shell  
    1. - no logs -
  3. shell_1  
    1. - no logs -
  4. shell_2  
    1. - no logs -
  5. shell_3  
    1. - no logs -

Build Properties:

NameValueSource
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:

NameLabelValue

Responsible Users:

  1. Rainer Gerhards
  2. Willy Tu

Timing:

StartTue Oct 24 18:08:16 2023
EndTue Oct 24 18:09:18 2023
Elapsed1 mins, 2 secs

All Changes:

:

  1. Change #183252

    Category rsyslog
    Changed by Willy Tu <wltuohnoyoudont@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
  2. Change #183253

    Category rsyslog
    Changed by Rainer Gerhards <rgerhardsohnoyoudont@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
  3. Change #183254

    Category rsyslog
    Changed by Rainer Gerhards <rgerhardsohnoyoudont@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