[Fleet] Remove deprecated Symantec package from install_all_packages_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:
https://github.com/elastic/package-storage/pull/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 <elasticmachine@users.noreply.github.com>
This commit is contained in:
Cristina Amico 2024-09-17 11:35:00 +02:00 committed by GitHub
parent 7939f60f56
commit 6b24114b42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');
@ -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) {