Hi,

During the refactor related to FLIP-449, we have started encountering the
following errors on CI:


   - "You are running out of disk space. The runner will stop working when
   the machine runs out of disk space. Free space left: 0 MB."
   -  "You are running out of disk space. The runner will stop working when
   the machine runs out of disk space. Free space left: 0 MB."


Initially, the runner has 21GB free space, and the docker images used take
up 12GB. This usage could increase if more databases are added. The free
space details are as follows:

Filesystem Size Used Avail Use% Mounted on
/dev/root 73G 52G 21G 72% /

Considering Maven might use another 3GB (for jars, class files, etc.), we
should still have around 5GB of free space.

I have created a copy of the workflow and added some steps to clean up the
runner to free up more space. With these changes, I am now able to run the
tests successfully. The updated free space details are:

Filesystem Size Used Avail Use% Mounted on
/dev/root 73G 34G 40G 46% /


You can find the changes I made here [2]

Could someone assist us in resolving this issue?

Should we add an option to clean the runner in
apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils?

 Another option might be to configure Docker to store files on /mnt, which
has 66GB free space:

Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 74G 4.1G 66G 6% /mnt


However, I haven't found a way to do this.

Here are the details of the last runs:

   - Last run of CI:
   https://github.com/apache/flink-connector-jdbc/actions/runs/9854907626
   - Last run of clean CI:
   https://github.com/apache/flink-connector-jdbc/actions/runs/9854907586

Thank you for your help!

[1]
https://cwiki.apache.org/confluence/display/FLINK/FLIP-449%3A+Reorganization+of+flink-connector-jdbc

[2]
https://github.com/eskabetxe/flink-connector-jdbc/blob/FLINK-35363/.github/workflows/clean_space.yml#L47-L54


Best regards,

Reply via email to