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

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 6.2.0
    • Proxy (P)
    • Ubuntu server 22.04
      Mysql
      zabbix-proxy 6.2

      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
       43084:20220719:073536.644 regexp_exec() failed with error -8
       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]
       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
      

      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

            zabbix.support Zabbix Support Team
            l.carangelo@sirti.it Luca Carangelo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: