Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Delete (some) mesos tests + temporarily stop running itests
Browse files Browse the repository at this point in the history
Something weird is happening with the itests where the acceptance Mesos
master is not coming up (and there's also some logspam about kubeconfigs)

We no longer run Mesos at Yelp so we don't need to block on these tests.

I'm not quite sure what caused the k8s itests to also start failing at
the same time (perhaps test pollution?), but we're not actually making
many changes to clusterman right now in favor of using karpenter, so it
seems fine to simply stop running these acceptance tests in the first
place since the impact should be low

I left the acceptance tests around in case we do pick up development
again and want to bring them back (and also, it seems like there's some
slight dependencies with the debian itests on some of the files).
  • Loading branch information
nemacysts committed Oct 17, 2023
1 parent 2595b5e commit 4835c6d
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 857 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,10 @@ test-external: clean-cache
tox -e external -- --tags=-yelp

.PHONY: itest
itest: export EXTRA_VOLUME_MOUNTS=/nail/etc/services/services.yaml:/nail/etc/services/services.yaml:ro
itest: cook-image
COMPOSE_PROJECT_NAME=clusterman_jammy tox -e acceptance
./service-itest-runner clusterman.batch.spot_price_collector "--aws-region=us-west-1 "
./service-itest-runner clusterman.batch.cluster_metrics_collector "--cluster=local-dev"
./service-itest-runner clusterman.batch.autoscaler_bootstrap "" clusterman.batch.autoscaler
make -C acceptance local-cluster-clean && make -C acceptance acceptance-internal

.PHONY: itest-external
itest-external: cook-image-external
COMPOSE_PROJECT_NAME=clusterman_jammy tox -e acceptance
./service-itest-runner examples.batch.spot_price_collector "--aws-region=us-west-1 --env-config-path=acceptance/srv-configs/clusterman-external.yaml"
./service-itest-runner examples.batch.cluster_metrics_collector "--cluster=local-dev --env-config-path=acceptance/srv-configs/clusterman-external.yaml"
./service-itest-runner examples.batch.autoscaler_bootstrap "--env-config-path=acceptance/srv-configs/clusterman-external.yaml" examples.batch.autoscaler
make -C acceptance local-cluster-clean && make -C acceptance acceptance-external

.PHONY: cook-image
cook-image:
Expand Down
7 changes: 0 additions & 7 deletions package/itest/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ python3.8 /itest/run_instance.py \
# Run the critical clusterman CLI commands
if [ ! "${EXAMPLE}" ]; then
highlight_exec /usr/bin/clusterman --version
highlight_exec /usr/bin/clusterman status --cluster local-dev -v
highlight_exec /usr/bin/clusterman manage --cluster local-dev --target-capacity 10 --dry-run
highlight_exec /usr/bin/clusterman disable --cluster local-dev --until tomorrow
highlight_exec /usr/bin/clusterman enable --cluster local-dev
highlight_exec /usr/bin/clusterman simulate --cluster local-dev --start-time 2017-12-01T08:00:00Z --end-time 2017-12-01T09:00:00Z --metrics-data-files /itest/metrics.json.gz
highlight_exec /usr/bin/clusterman --log-level debug simulate --cluster local-dev --scheduler mesos --autoscaler-config /itest/autoscaler_config.yaml --start-time 2017-12-01T08:00:00Z --end-time 2017-12-01T08:05:00Z --metrics-data-files /itest/metrics.json.gz

highlight "$0:" 'success!'
else
/bin/bash
Expand Down
Loading

0 comments on commit 4835c6d

Please sign in to comment.