Skip to content

Commit

Permalink
[Fleet] Remove deprecated Symantec package from install_all_packages_…
Browse files Browse the repository at this point in the history
…job (#193029)

## Summary

[Job](https://buildkite.com/elastic/kibana-fleet-packages/builds/1022)
`install_all_packages` is been failing for several days because of
`symantec-0.1.3` being deprecated.
Querying
```
GET kbn:/api/fleet/epm/packages?prerelease=true
```
it returns:
```
"name": "symantec",
      "title": "Symantec",
      "version": "0.1.3",
      "release": "experimental",
      "description": "Deprecated. Use a specific Symantec package instead.",
```

I'm not sure when this deprecation was announced but I'm skipping this
package from the script so the job should hopefully return green.

EDIT: package got deprecated back in 2022:
elastic/package-storage#3254
however last week we merged a
[change](https://github.com/elastic/kibana/pull/192040/files#diff-292c3f307d3d0d341a361d12416d04609a3f525be268242c2a06be06fd8d5810R188)
to temporarily remove kibana version checks when querying EPR, so this
package started appearing. In fact in previous successful runs we didn't
attempt installing this package at all.

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 6b24114)
  • Loading branch information
criamico committed Sep 17, 2024
1 parent 6113e6c commit 582b954
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions x-pack/test/fleet_packages/tests/install_all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

import { FtrProviderContext } from '../../api_integration/ftr_provider_context';

const DEPRECATED_PACKAGES = [
'zscaler', // deprecated: https://github.com/elastic/integrations/issues/4947
'symantec',
];

export default function (providerContext: FtrProviderContext) {
const { getService } = providerContext;
const supertest = getService('supertest');
Expand Down Expand Up @@ -69,8 +74,9 @@ export default function (providerContext: FtrProviderContext) {
.expect(200);
const allResults = [];
for (const pkg of packages) {
// skip deprecated failing package https://github.com/elastic/integrations/issues/4947
if (pkg.name === 'zscaler') continue;
// skip deprecated failing packages
if (DEPRECATED_PACKAGES.includes(pkg.name)) continue;

const res = await installPackage(pkg.name, pkg.version);
allResults.push(res);
if (res.success) {
Expand Down

0 comments on commit 582b954

Please sign in to comment.