Closed liza-mae closed 2 years ago
Version: 8.1.0 Class: X-Pack API Integration Tests1.x-pack/test/api_integration/apis/uptime/rest/add_monitor·ts Stack Trace:
Error: expected undefined to sort of equal { type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui:
{ is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source:
{ is_generated_script: false,
file_name: 'test-file.name' } },
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations:
[ { id: 'eu-west-01',
label: 'Europe West',
geo: [Object],
url: 'https://example-url.com' } ],
namespace: 'testnamespace' }
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:100:11)
at Assertion.eql (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:244:8)
at Context.<anonymous> (test/api_integration/apis/uptime/rest/add_monitor.ts:36:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.apply (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
actual: undefined,
expected: {
type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui: {
is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source: [Object]
},
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations: [ [Object] ],
namespace: 'testnamespace'
},
showDiff: true
}
Other test failures:
Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/2897/testReport/
Pinging @elastic/uptime (Team:uptime)
I believe this will be fixed by https://github.com/elastic/kibana/pull/125514, which fixes some faulty logic in the return value of the api
Version: 8.1.0 Class: X-Pack API Integration Tests1.x-pack/test/api_integration/apis/uptime/rest/add_monitor·ts Stack Trace:
Error: expected undefined to sort of equal { type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui:
{ is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source:
{ is_generated_script: false,
file_name: 'test-file.name' } },
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations:
[ { id: 'eu-west-01',
label: 'Europe West',
geo: [Object],
url: 'https://example-url.com' } ],
namespace: 'testnamespace' }
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:100:11)
at Assertion.eql (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:244:8)
at Context.<anonymous> (test/api_integration/apis/uptime/rest/add_monitor.ts:36:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.apply (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
actual: undefined,
expected: {
type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui: {
is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source: [Object]
},
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations: [ [Object] ],
namespace: 'testnamespace'
},
showDiff: true
}
Other test failures:
Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/2944/testReport/
Version: 8.1.1 Class: X-Pack API Integration Tests1.x-pack/test/api_integration/apis/uptime/rest/add_monitor·ts Stack Trace:
Error: expected undefined to sort of equal { type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui:
{ is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source:
{ is_generated_script: false,
file_name: 'test-file.name' } },
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations:
[ { id: 'eu-west-01',
label: 'Europe West',
geo: [Object],
url: 'https://example-url.com' } ],
namespace: 'testnamespace' }
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:100:11)
at Assertion.eql (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:244:8)
at Context.<anonymous> (test/api_integration/apis/uptime/rest/add_monitor.ts:36:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.apply (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
actual: undefined,
expected: {
type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui: {
is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source: [Object]
},
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations: [ [Object] ],
namespace: 'testnamespace'
},
showDiff: true
}
Other test failures:
Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/3011/testReport/
Version: 8.1.2 Class: X-Pack API Integration Tests1.x-pack/test/api_integration/apis/uptime/rest/add_monitor·ts Stack Trace:
Error: expected undefined to sort of equal { type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui:
{ is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source:
{ is_generated_script: false,
file_name: 'test-file.name' } },
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations:
[ { id: 'eu-west-01',
label: 'Europe West',
geo: [Object],
url: 'https://example-url.com' } ],
namespace: 'testnamespace' }
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:100:11)
at Assertion.eql (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:244:8)
at Context.<anonymous> (test/api_integration/apis/uptime/rest/add_monitor.ts:36:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.apply (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
actual: undefined,
expected: {
type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui: {
is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source: [Object]
},
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations: [ [Object] ],
namespace: 'testnamespace'
},
showDiff: true
}
Other test failures:
Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/3057/testReport/
Version: 8.1.3 Class: X-Pack API Integration Tests1.x-pack/test/api_integration/apis/uptime/rest/add_monitor·ts Stack Trace:
Error: expected undefined to sort of equal { type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui:
{ is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source:
{ is_generated_script: false,
file_name: 'test-file.name' } },
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations:
[ { id: 'eu-west-01',
label: 'Europe West',
geo: [Object],
url: 'https://example-url.com' } ],
namespace: 'testnamespace' }
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:100:11)
at Assertion.eql (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/expect/expect.js:244:8)
at Context.<anonymous> (test/api_integration/apis/uptime/rest/add_monitor.ts:36:43)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.apply (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/ess-testing/ci/cloud/common/build/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
actual: undefined,
expected: {
type: 'http',
enabled: true,
tags: [ 'tag1', 'tag2' ],
schedule: { number: '5', unit: 'm' },
'service.name': '',
timeout: '3m',
__ui: {
is_tls_enabled: false,
is_zip_url_tls_enabled: false,
script_source: [Object]
},
max_redirects: '3',
password: 'test',
urls: 'https://nextjs-test-synthetics.vercel.app/api/users',
proxy_url: 'http://proxy.com',
'check.response.body.negative': [],
'check.response.body.positive': [],
'response.include_body': 'never',
'check.response.headers': {},
'response.include_headers': true,
'check.response.status': [ '200', '201' ],
'check.request.body': { value: 'testValue', type: 'json' },
'check.request.headers': {},
'check.request.method': '',
username: 'test-username',
'ssl.certificate_authorities': 't.string',
'ssl.certificate': 't.string',
'ssl.key': 't.string',
'ssl.key_passphrase': 't.string',
'ssl.verification_mode': 'certificate',
'ssl.supported_protocols': [ 'TLSv1.1', 'TLSv1.2' ],
name: 'test-monitor-name',
locations: [ [Object] ],
namespace: 'testnamespace'
},
showDiff: true
}
Other test failures:
Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/3128/testReport/
Version: 8.1.0 Class: X-Pack API Integration Tests1.x-pack/test/api_integration/apis/uptime/rest/add_monitor·ts Stack Trace:
Other test failures:
Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/2876/testReport/