-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Github actions]Fix integration test disk space is full #6098
Merged
sijie
merged 3 commits into
apache:master
from
AmateurEvents:fix/integration-test-space-full-new
Jan 20, 2020
Merged
[Github actions]Fix integration test disk space is full #6098
sijie
merged 3 commits into
apache:master
from
AmateurEvents:fix/integration-test-space-full-new
Jan 20, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run cpp tests |
run java8 tests |
1 similar comment
run java8 tests |
tuteng
changed the title
[Github actions]The integration test disk space is full
[Github actions]Fix integration test disk space is full
Jan 20, 2020
sijie
approved these changes
Jan 20, 2020
huangdx0726
pushed a commit
to huangdx0726/pulsar
that referenced
this pull request
Aug 24, 2020
### Motivation At present, there are about 28 GB of space available on the running machine of Github action, and there is less than 10GB of disk space left after packing with the `mvn install -DskipTests -Pdocker` command. therefore, the bookie is very easy to exit due to insufficient disk in the integration test. therefore, fix this problem and pack only the needed images. The current integration tests `PulsarFunctionsTest` are all in one class, which is very inconvenient to manage. For example, after the relevant tests of debezium are run, we can clean up the unused images of debezium, so adding groups to the integration test cases, so that we can control the tests more conveniently in the future. Now we have about 20G of space for testing. ``` df -h Filesystem Size Used Avail Use% Mounted on udev 3.4G 0 3.4G 0% /dev tmpfs 695M 688K 694M 1% /run /dev/sda1 84G 64G 20G 77% / tmpfs 3.4G 8.0K 3.4G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup /dev/sda15 105M 3.6M 101M 4% /boot/efi /dev/sdb1 14G 41M 13G 1% /mnt ``` ``` docker images REPOSITORY TAG IMAGE ID CREATED SIZE apachepulsar/pulsar-test-latest-version 2.6.0-SNAPSHOT c599fe91d80e 2 seconds ago 2.82GB apachepulsar/pulsar-test-latest-version latest c599fe91d80e 2 seconds ago 2.82GB apachepulsar/pulsar-all latest 77d849fb13b7 3 days ago 2.76GB node 10 ea119cebc1c3 3 weeks ago 908MB node 12 6b5991bf650f 3 weeks ago 913MB buildpack-deps stretch 2adbcf3b6aff 3 weeks ago 835MB debian 9 f6c68e2ad82a 3 weeks ago 101MB debian 8 5d7d9c6338e8 3 weeks ago 129MB node 10-alpine d32bf7fc7d5f 3 weeks ago 80.5MB node 12-alpine 1cbcaddb8074 3 weeks ago 85.2MB alpine 3.10 965ea09ff2eb 3 months ago 5.55MB jekyll/builder latest 4605d94a6b36 3 months ago 564MB alpine 3.9 055936d39205 8 months ago 5.53MB alpine 3.7 6d1ef012b567 10 months ago 4.21MB alpine 3.8 dac705114996 10 months ago 4.41MB mcr.microsoft.com/azure-pipelines/node8-typescript latest 9a948d360778 15 months ago 595MB ``` ### Modifications * Add groups for integration tests * Delete no used Docker image * Pack images as needed ### Verifying this change Now the integration test can pass normally, please refer to https://github.com/AmateurEvents/pulsar/pull/5/checks?check_run_id=398472038
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
At present, there are about 28 GB of space available on the running machine of Github action, and there is less than 10GB of disk space left after packing with the
mvn install -DskipTests -Pdocker
command. therefore, the bookie is very easy to exit due to insufficient disk in the integration test. therefore, fix this problem and pack only the needed images.The current integration tests
PulsarFunctionsTest
are all in one class, which is very inconvenient to manage. For example, after the relevant tests of debezium are run, we can clean up the unused images of debezium, so adding groups to the integration test cases, so that we can control the tests more conveniently in the future.Now we have about 20G of space for testing.
Modifications
Verifying this change
Now the integration test can pass normally, please refer to https://github.com/AmateurEvents/pulsar/pull/5/checks?check_run_id=398472038