The command "sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"" failed and exited with 1 during

As a reference, in my case, the cause of the issue was by Travis s390x’s IPv6.
I reported it here.