You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .buildkite/pipeline.trigger.integration.tests.sh
+18-8Lines changed: 18 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -83,10 +83,10 @@ for package in $(find . -maxdepth 1 -mindepth 1 -type d) ; do
83
83
echo" image: \"${UBUNTU_X86_64_AGENT_IMAGE}\""
84
84
echo" artifact_paths:"
85
85
echo" - build/test-results/*.xml"
86
+
echo" - build/test-results/*.xml.expected-errors.txt"# these files are uploaded in case it is needed to review the xUnit files in case of CI reports success the step
86
87
echo" - build/test-coverage/coverage-*.xml"# these files should not be used to compute the final coverage of elastic-package
87
88
done
88
-
89
-
popd> /dev/null
89
+
popd> /dev/null
90
90
91
91
pushd test/packages/parallel > /dev/null
92
92
forindependent_agentinfalsetrue;do
@@ -127,28 +127,38 @@ for package in $(find . -maxdepth 1 -mindepth 1 -type d) ; do
127
127
echo" - build/test-coverage/coverage-*.xml"# these files should not be used to compute the final coverage of elastic-package
# TODO: Missing docker & docker-compose in MACOS ARM agent image, skip installation of packages in the meantime.
133
+
# If docker and docker-compose are available for this platform/architecture, it could be added a step to test the stack commands (or even replace this one).
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -694,11 +694,10 @@ There are available some environment variables that could be used to change some
694
694
-`ELASTIC_PACKAGE_SERVERLESS_PIPELINE_TEST_DISABLE_COMPARE_RESULTS`: If set to `true`, the results from pipeline tests are not compared to avoid errors from GeoIP.
695
695
-`ELASTIC_PACKAGE_DISABLE_ELASTIC_AGENT_WOLFI`: If set to `true`, the Elastic Agent image used for running agents will be using the Ubuntu docker images
696
696
(e.g. `docker.elastic.co/elastic-agent/elastic-agent-complete`). If set to `false`, the Elastic Agent image used for the running agents will be based on the wolfi
Copy file name to clipboardExpand all lines: docs/howto/system_testing.md
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -612,22 +612,28 @@ Fleet (along with the Agent Policies) and a new Elastic Agent will be created fo
612
612
file.
613
613
614
614
These Elastic Agents can be customized adding the required settings for the tests in the test configuration file.
615
-
For example, the `oracle/memory` data stream's [`test-memory-config.yml`](https://github.com/elastic/elastic-package/blob/6338a33c255f8753107f61673245ef352fbac0b6/test/packages/parallel/oracle/data_stream/memory/_dev/test/system/test-memory-config.yml) is shown below:
615
+
For example, the `oracle/memory` data stream's [`test-memory-config.yml`](https://github.com/elastic/elastic-package/blob/19b2d35c0d7aea7357ccfc572398f39812ff08bc/test/packages/parallel/oracle/data_stream/memory/_dev/test/system/test-memory-config.yml) is shown below:
616
616
```yaml
617
617
vars:
618
618
hosts:
619
619
- "oracle://sys:Oradoc_db1@{{ Hostname }}:{{ Port }}/ORCLCDB.localdomain?sysdba=1"
**IMPORTANT**: The provisioning script must exit with a code different from zero in case any of the commands defined fails.
647
+
That will ensure that the docker build step run by `elastic-package` fails too.
648
+
640
649
Another example setting capabilities to the agent ([`auditid_manager` test package](https://github.com/elastic/elastic-package/blob/6338a33c255f8753107f61673245ef352fbac0b6/test/packages/parallel/auditd_manager/data_stream/auditd/_dev/test/system/test-default-config.yml)):
0 commit comments