Skip to content

add size annotation for applicationprofiles #262

add size annotation for applicationprofiles

add size annotation for applicationprofiles #262

Triggered via pull request March 11, 2024 07:42
@matthyxmatthyx
synchronize #102
10k
Status Success
Total duration 9m 48s
Artifacts

pr-created.yaml

on: pull_request
pr-created  /  ...  /  check if secrets are set
0s
pr-created / test / check if secrets are set
pr-created  /  ...  /  Create cross-platform build
6m 49s
pr-created / test / Create cross-platform build
pr-created  /  ...  /  Basic-Test
2m 41s
pr-created / test / Basic-Test
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 5 warnings
pr-created / test / Basic-Test
Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Cannot open: File exists
pr-created / test / Basic-Test
Process completed with exit code 1.
network_policy_multiple_replicas: results_xml_format/network_policy_multiple_replicas.xml#L1
expected_entries length is not equal to actual_entries length, actual: 12, expected: 3
network_policy_data_appended: results_xml_format/network_policy_data_appended.xml#L1
expected_entries length is not equal to actual_entries length, actual: 7, expected: 4
network_policy: configurations/system/__pycache__/network_policy.cpython-38.pyc#L1
expected_entries length is not equal to actual_entries length, actual: 8, expected: 4
network_policy_known_servers: results_xml_format/network_policy_known_servers.xml#L59
validate_expected_backend_results, timeout: 2 minutes, error: network policies generate response is empty 'CyberArmorTests' (code: 200, message: [] ). kwargs: '{'cluster': 'kind-systets-5e4207c3-a634-4822-b574-4140c06ce59a', 'namespace': 'systest-ns-51wc', 'expected_workloads_list': [{'apiVersion': 'apps/v1', 'kind': 'Deployment', 'metadata': {'name': 'busybox-deployment'}, 'spec': {'replicas': 2, 'selector': {'matchLabels': {'app': 'busybox'}}, 'template': {'metadata': {'labels': {'app': 'busybox'}}, 'spec': {'containers': [{'name': 'busybox', 'image': 'busybox', 'command': ['tail', '-f', '/dev/null'], 'env': [{'name': 'ARMO_TEST_NAME', 'value': 'network_policy_known_servers'}, {'name': 'CAA_ENABLE_CRASH_REPORTER', 'value': '1'}]}]}}}}], 'expected_network_neighbors_list': [{'apiVersion': 'spdx.softwarecomposition.kubescape.io/v1beta1', 'kind': 'NetworkNeighbors', 'metadata': {'annotations': {'kubescape.io/status': 'ready'}, 'creationTimestamp': '2024-03-07T12:59:31Z', 'labels': {'kubescape.io/workload-api-group': 'apps', 'kubescape.io/workload-api-version': 'v1', 'kubescape.io/workload-kind': 'Deployment', 'kubescape.io/workload-name': 'busybox-deployment'}, 'name': 'deployment-busybox-deployment', 'namespace': 'systest-ns-sjcr', 'resourceVersion': '1', 'uid': '47a6dcd2-55ee-4fa7-8322-ca2bbe59e68d'}, 'spec': {'egress': [{'dns': 'www.google.com.', 'identifier': '8ad885c9fb5e79d3c06756c5e42a369222f1eaa16f538198641ad090876b90f3', 'ipAddress': '64.233.181.104', 'namespaceSelector': None, 'podSelector': None, 'ports': [{'name': 'TCP-80', 'port': 80, 'protocol': 'TCP'}], 'type': 'external'}, {'dns': '', 'identifier': '9a1817356173a94001deda15a1a8c56bb9969454691f48661cbda6ce7f662bd4', 'ipAddress': '185.199.108.153', 'namespaceSelector': None, 'podSelector': None, 'ports': [{'name': 'TCP-80', 'port': 80, 'protocol': 'TCP'}], 'type': 'external'}, {'dns': '', 'identifier': 'e5e8ca3d76f701a19b7478fdc1c8c24ccc6cef9902b52c8c7e015439e2a1ddf3', 'ipAddress': '', 'namespaceSelector': {'matchLabels': {'kubernetes.io/metadata.name': 'kube-system'}}, 'podSelector': {'matchLabels': {'k8s-app': 'kube-dns'}}, 'ports': [{'name': 'UDP-53', 'port': 53, 'protocol': 'UDP'}], 'type': 'internal'}], 'ingress': [], 'matchLabels': {'app': 'busybox'}}}], 'expected_generated_network_policy_list': [{'apiVersion': 'spdx.softwarecomposition.kubescape.io/v1beta1', 'kind': 'GeneratedNetworkPolicy', 'metadata': {'creationTimestamp': '2024-03-07T13:03:29Z', 'labels': {'kubescape.io/workload-api-group': 'apps', 'kubescape.io/workload-api-version': 'v1', 'kubescape.io/workload-kind': 'Deployment', 'kubescape.io/workload-name': 'busybox-deployment'}, 'name': 'deployment-busybox-deployment', 'namespace': 'systest-ns-sjcr'}, 'policyRef': [{'dns': 'www.google.com.', 'ipBlock': '64.233.181.104/32', 'name': '', 'originalIP': '64.233.181.104', 'server': ''}, {'dns': '', 'ipBlock': '185.199.108.153/24', 'name': 'github-workflows', 'originalIP': '185.199.108.153', 'server': 'github.com'}], 'spec': {'apiVersion': 'networking.k8s.io/v1', 'kind': 'NetworkPolicy', 'metadata': {'annotations': {'generated-by': 'kubescape'}, 'creationTimestamp': None, 'labels': {'kubescape.io/workload-api-group': 'apps', 'kubescape.io/workload-api-version': 'v1', 'kubescape.io/workload-kind': 'Deployment', 'kubescape.io/workload-name': 'busybox-deployment'}, 'name': 'deployment-busybox-deployment', 'namespace': 'systest-ns-sjcr'}, 'spec': {'egress': [{'ports': [{'port': 80, 'protocol': 'TCP'}], 'to': [{'ipBlock': {'cidr': '185.199.108.153/24'}}, {'ipBlock': {'cidr': '64.233.181.104/32'}}]}, {'ports': [{'port': 53, 'protocol': 'UDP'}], 'to': [{'namespaceSelector': {'matchLabels': {'kubernetes.io/metadata.name': 'kube-system'}}, 'podSelector': {'matchLabels': {'k8s-app': 'kube-dns'}}}]}], 'ingress': [], 'podSelector': {'matchLabels': {'app': 'busybox'}}, 'policyTypes': ['Ingress', 'Egress']}}}]}'
network_policy_multiple_replicas: results_xml_format/network_policy_multiple_replicas.xml#L1
expected_entries length is not equal to actual_entries length, actual: 4, expected: 3
pr-created / test / Create cross-platform build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pr-created / test / Create cross-platform build
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
pr-created / test / Create cross-platform build
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
pr-created / test / Basic-Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3, coverallsapp/github-action@v1, peter-evans/create-or-update-comment@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pr-created / test / Basic-Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2