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

PHP exceptions while Jenkins build

XMLWordPrintable

    • Sprint 102 (Jul 2023)
    • 0.5

      Steps to reproduce:
      Build for ZBXNEXT-8505 branches in Jenkins

      Result:

      15:44:39       [exec] Runtime errors:
      15:44:39       [exec] 	Undefined offset: 23234 [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39       [exec] 	Invalid argument supplied for foreach() [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39       [exec] 	Undefined offset: 23235 [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39       [exec] 	Invalid argument supplied for foreach() [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39       [exec] 	Undefined offset: 23236 [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39       [exec] 	Invalid argument supplied for foreach() [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39       [exec] 	Undefined offset: 23237 [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39       [exec] 	Invalid argument supplied for foreach() [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> CConfiguration->import() -> CConfigurationImport->import() -> CConfigurationImport->processDiscoveryRules() -> CConfigurationImport->processTriggerPrototypeDependencies() -> CTriggerPrototype->update() -> CTriggerGeneral::updateDependencies() -> CTriggerGeneral::inheritDependencies() -> CConfigFile->{closure}() in include/classes/api/services/CTriggerGeneral.php:3222]
      15:44:39  
      15:44:39  BUILD FAILED
      

      Expected:

      Finished: SUCCESS
      

            sasha Alexander Vladishev
            aiantsen Aleksandr Iantsen
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: