About the Multi CPU Architecture category

Hi, this is wanderful! It’s greate to have aarch64 support in Travis.

I try to test it for Apache Storm, but I found a swapon related problem on the aarch64 arch, I do the same thing with x86:

sudo dd if=/dev/zero of=/swapfile.img bs=4096 count=1M
sudo chmod 0600 /swapfile.img
sudo mkswap /swapfile.img
sudo swapon /swapfile.img

but I got the “swapon: /swapfile.img: skipping - it appears to have holes.”.

After some investigation, I found that the filesystem of aarch64 in travis is “shiftfs”[2], but the x86 is “ext4”[3].

So do we have some way to set the file system to ext4 in travis aarch64 arch? or any idea on how to do swapon in current travis aarch64 arch?

[1] https://travis-ci.org/Yikun/arm-openlab-test/jobs/619518155#L81
[2] https://travis-ci.org/Yikun/arm-openlab-test/jobs/619518155#L59
[3] https://travis-ci.org/Yikun/arm-openlab-test/jobs/619518159#L218