Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21354

zabbix-proxy : regexp_exec() failed with error -8 on web scenario with "Required string" verification

    XMLWordPrintable

Details

    • Incident report
    • Status: Need info
    • Trivial
    • Resolution: Unresolved
    • 6.2.0
    • None
    • Proxy (P)
    • Ubuntu server 22.04
      Mysql
      zabbix-proxy 6.2

    Description

      Steps to reproduce:

      1. Configure web scenario
      2. Add some navigation steps with "Required string" and Required status code populated
      3. Check correct test validation

      Result:
      In most of cases I receive : 

      43084:20220719:073536.644 In int_in_list() list:'200' value:200
       43084:20220719:073536.644 End of int_in_list():SUCCEED
       {color:#FF0000}*43084:20220719:073536.644 regexp_exec() failed with error -8*{color}
       43084:20220719:073536.644 In process_step_data() rspcode:200 time:0.452541 speed:37452.000000
       43084:20220719:073536.644 query [txnlev:0] [select type,itemid from httpstepitem where httpstepid=46]
       43084:20220719:073536.644 In zbx_preprocess_item_value()
       43084:20220719:073536.644 End of zbx_preprocess_item_value()
       43084:20220719:073536.644 In zbx_preprocess_item_value()
       43084:20220719:073536.644 End of zbx_preprocess_item_value()
       43084:20220719:073536.645 In zbx_preprocess_item_value()
       43084:20220719:073536.645 End of zbx_preprocess_item_value()
       43084:20220719:073536.645 End of process_step_data()
       43084:20220719:073536.645 query without transaction detected
       43084:20220719:073536.645 query [txnlev:0] [update httptest set nextcheck=1658216256 where httptestid=31]
       {color:#FF0000}*43084:20220719:073536.647 cannot process step "Test access to Service CRM" of web scenario "crm" on host "Servizi Web xxxxxxx": required pattern "Utente" was not found on https://xxxx.xxxxxxxxx.net/xxx/principale.html*{color}
      

      See log file : zabbix_proxy.log

      Expected:
      Pattern is in site body and it should be found by regex.

      NOTE : This test was correclt working on zabbix 5.4 , it appeared after the upgrade to 6.2

      Attachments

        Issue Links

          Activity

            People

              igorbach Igor Gorbach
              l.carangelo@sirti.it Luca Carangelo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: