# Bionic

**URL:** https://travis-ci.community/c/environments/bionic/62.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [For \`dist: bionic\`, Xenial VM is used instead with \`language: rust\`](https://travis-ci.community/t/for-dist-bionic-xenial-vm-is-used-instead-with-language-rust/4487)

<div class="topic-metadata">

**Author:** [@gdesmott](https://travis-ci.community/u/gdesmott)\
**Replies:** 5\
**Last updated:** [March 7, 2022, 3:35pm UTC](https://travis-ci.community/t/for-dist-bionic-xenial-vm-is-used-instead-with-language-rust/4487 "2022-03-07T15:35:14Z")

</div>

Hello there, I have an image using dist: bionic on which I try to install extra debian packages. But for some reason it installs the Xenial version of the debs rather than the Bionic ones. See https://travis-ci.org/gd…

---

## [Old java version in bionic](https://travis-ci.community/t/old-java-version-in-bionic/4726)

<div class="topic-metadata">

**Author:** [@paschty](https://travis-ci.community/u/paschty)\
**Replies:** 4\
**Last updated:** [November 24, 2021, 7:07am UTC](https://travis-ci.community/t/old-java-version-in-bionic/4726 "2021-11-24T07:07:28Z")

</div>

I added this lines to before\_install: sudo apt-get update sudo apt-get upgrade java -version The output is: java -version openjdk version “11.0.2” 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJ…

---

## [Postgresql fails to start: "Unrecognized operating system."](https://travis-ci.community/t/postgresql-fails-to-start-unrecognized-operating-system/4558)

<div class="topic-metadata">

**Author:** [@AntonyLeons](https://travis-ci.community/u/AntonyLeons)\
**Replies:** 12\
**Last updated:** [November 15, 2021, 8:27am UTC](https://travis-ci.community/t/postgresql-fails-to-start-unrecognized-operating-system/4558 "2021-11-15T08:27:58Z")

</div>

\> $ travis\_setup\_postgresql Unrecognized operating system Starting PostgreSQL v Assertion failed on job for postgresql@-main.service. sudo systemctl start postgresql@-main This is a Bionic issue

---

## [Travis Fails - error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock](https://travis-ci.community/t/travis-fails-error-cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock/12049)

<div class="topic-metadata">

**Author:** [@geega](https://travis-ci.community/u/geega)\
**Replies:** 0\
**Last updated:** [September 2, 2021, 5:12am UTC](https://travis-ci.community/t/travis-fails-error-cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock/12049 "2021-09-02T05:12:05Z")

</div>

Hello. Has anyone seen this error? $ docker run -it --rm -e {SOME\_ENV\_PARAMS} demo\_frontend:1.0-frontend nginx -t docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running…

---

## [Docker memory limits](https://travis-ci.community/t/docker-memory-limits/8407)

<div class="topic-metadata">

**Author:** [@mstormi](https://travis-ci.community/u/mstormi)\
**Replies:** 1\
**Last updated:** [August 28, 2021, 3:44am UTC](https://travis-ci.community/t/docker-memory-limits/8407 "2021-08-28T03:44:53Z")

</div>

Hi, I’m trying to use the --memory and --memory-swap parameters of Docker to limit the container’s RAM/swap size. For this to work Docker needs cgroups enabled in the Linux kernel. There’s explanations on the net for U…

---

## [Building Opencv With Cuda](https://travis-ci.community/t/building-opencv-with-cuda/11317)

<div class="topic-metadata">

**Author:** [@yashrajsingh](https://travis-ci.community/u/yashrajsingh)\
**Replies:** 1\
**Last updated:** [March 18, 2021, 10:28am UTC](https://travis-ci.community/t/building-opencv-with-cuda/11317 "2021-03-18T10:28:28Z")

</div>

Hi everyone i’m working on project which require opencv with cuda so i need to build that but when i try to build that on travis it was crossing it’s max limit time so if anyone knows about it or have build open cv with…

---

## [Failed job with null log](https://travis-ci.community/t/failed-job-with-null-log/8500)

<div class="topic-metadata">

**Author:** [@abitrolly](https://travis-ci.community/u/abitrolly)\
**Replies:** 3\
**Last updated:** [June 29, 2020, 4:38pm UTC](https://travis-ci.community/t/failed-job-with-null-log/8500 "2020-06-29T16:38:16Z")

</div>

The job failed with empty log. Raw log page just shows null. Even no information on worker and environment. https://travis-ci.org/github/fedora-infra/fmn/jobs/684067351 https://api.travis-ci.org/v3/job/684067351/log.tx…

---

## [Xenial builds occasionally fail when using LXD as a Snap](https://travis-ci.community/t/xenial-builds-occasionally-fail-when-using-lxd-as-a-snap/8597)

<div class="topic-metadata">

**Author:** [@egee-irl](https://travis-ci.community/u/egee-irl)\
**Replies:** 0\
**Last updated:** [May 14, 2020, 1:24pm UTC](https://travis-ci.community/t/xenial-builds-occasionally-fail-when-using-lxd-as-a-snap/8597 "2020-05-14T13:24:23Z")

</div>

Hello - We are using TravisCI to build and publish Snaps and I encountered an issue yesterday with Bionic where the build would hang at sudo lxd.migrate -yes for quite some time, sometimes 5+ minutes, and occasionally c…

---

## [How to add DNS search or nameserver for internal networks to resolv.conf](https://travis-ci.community/t/how-to-add-dns-search-or-nameserver-for-internal-networks-to-resolv-conf/8083)

<div class="topic-metadata">

**Author:** [@oskrdt](https://travis-ci.community/u/oskrdt)\
**Replies:** 3\
**Last updated:** [April 13, 2020, 8:09pm UTC](https://travis-ci.community/t/how-to-add-dns-search-or-nameserver-for-internal-networks-to-resolv-conf/8083 "2020-04-13T20:09:38Z")

</div>

Is there any way to include domain to search or a particular nameserver to the resolv.conf file on the Travis CI virtual environment? I tried to append it directly to the /etc/resolv.conf file, but I got a permission de…

---

## [For \`dist: bionic\`, Xenial VM is used instead with \`language: perl\`](https://travis-ci.community/t/for-dist-bionic-xenial-vm-is-used-instead-with-language-perl/7230)

<div class="topic-metadata">

**Author:** [@marked](https://travis-ci.community/u/marked)\
**Replies:** 2\
**Last updated:** [February 18, 2020, 7:07pm UTC](https://travis-ci.community/t/for-dist-bionic-xenial-vm-is-used-instead-with-language-perl/7230 "2020-02-18T19:07:48Z")

</div>

Trying to using Bionic for perl project, however Xenial binaries show up instead. Build headers show Bionic is specified but not used. https://travis-ci.com/marked/mojo/jobs/287167780 Build language: perl Build group…

---

## [Openjdk8 on Bionic](https://travis-ci.community/t/openjdk8-on-bionic/4373)

<div class="topic-metadata">

**Author:** [@daniel-shuy](https://travis-ci.community/u/daniel-shuy)\
**Replies:** 7\
**Last updated:** [February 12, 2020, 9:17pm UTC](https://travis-ci.community/t/openjdk8-on-bionic/4373 "2020-02-12T21:17:05Z")

</div>

According to https://docs.travis-ci.com/user/reference/bionic/#jvm-clojure-groovy-java-scala-support, Bionic comes with openjdk8 preinstalled, and the default JVM is openjdk8. However, the build fails with: Expected fe…

---

## [Bionic doesn't recognise deadsnakes on apt safelist](https://travis-ci.community/t/bionic-doesnt-recognise-deadsnakes-on-apt-safelist/6228)

<div class="topic-metadata">

**Author:** [@scottgigante](https://travis-ci.community/u/scottgigante)\
**Replies:** 0\
**Last updated:** [December 1, 2019, 4:41pm UTC](https://travis-ci.community/t/bionic-doesnt-recognise-deadsnakes-on-apt-safelist/6228 "2019-12-01T16:41:56Z")

</div>

For some reason sources: deadsnakes and dist:bionic don’t play nice together, marking deadsnakes as ‘disallowed’. Example: https://travis-ci.com/scottgigante/s\_gd2/jobs/261732109 Related: https://travis-ci.community/t/…

---

## [Bionic doesn't seem to be using a correct safelist](https://travis-ci.community/t/bionic-doesnt-seem-to-be-using-a-correct-safelist/5215)

<div class="topic-metadata">

**Author:** [@native-api](https://travis-ci.community/u/native-api)\
**Replies:** 2\
**Last updated:** [November 29, 2019, 10:59pm UTC](https://travis-ci.community/t/bionic-doesnt-seem-to-be-using-a-correct-safelist/5215 "2019-11-29T22:59:56Z")

</div>

Reported at Cannot install git-svn apt-package - #11 by nijel While git-core is present as an alias at https://github.com/travis-ci/apt-source-safelist/blob/master/ubuntu.json#L199

---

## [Disallowing sources: ppa:ubuntu-toolchain-r/test on bionic](https://travis-ci.community/t/disallowing-sources-ppa-ubuntu-toolchain-r-test-on-bionic/5148)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://travis-ci.community/u/gdevenyi)\
**Replies:** 1\
**Last updated:** [September 22, 2019, 9:30am UTC](https://travis-ci.community/t/disallowing-sources-ppa-ubuntu-toolchain-r-test-on-bionic/5148 "2019-09-22T09:30:30Z")

</div>

Bionic apt addon currently disallows ppa:ubuntu-toolchain-r/test Please enable it like all previous versions :slight\_smile:

---

## [Localhost resolves to 127.0.1.1 instead of 127.0.0.1 on bionic](https://travis-ci.community/t/localhost-resolves-to-127-0-1-1-instead-of-127-0-0-1-on-bionic/4764)

<div class="topic-metadata">

**Author:** [@marten-seemann](https://travis-ci.community/u/marten-seemann)\
**Replies:** 0\
**Last updated:** [August 17, 2019, 3:55am UTC](https://travis-ci.community/t/localhost-resolves-to-127-0-1-1-instead-of-127-0-0-1-on-bionic/4764 "2019-08-17T03:55:39Z")

</div>

/etc/hosts has the following entries: 127.0.1.1 localhost localhost ip4-loopback 127.0.0.1 localhost nettuno travis vagrant travis-job-xxxx This means that localhost is always resolved to 127.0.1.1 instead of 127.0.0.…

---

## [How can I setup LLVM 7 as default C / C++ compiler in Bionic](https://travis-ci.community/t/how-can-i-setup-llvm-7-as-default-c-c-compiler-in-bionic/4678)

<div class="topic-metadata">

**Author:** [@slee047](https://travis-ci.community/u/slee047)\
**Replies:** 2\
**Last updated:** [August 11, 2019, 11:47am UTC](https://travis-ci.community/t/how-can-i-setup-llvm-7-as-default-c-c-compiler-in-bionic/4678 "2019-08-11T11:47:52Z")

</div>

Hi all, as title, I have a Travis project that kept failing due to this error: if \[ ! -r node -o ! -L node \]; then ln -fs out/Release/node node; fi -\> cd /home/travis/build/slee047/node-packer -\> cp "/tmp/nodec\_tests\_tm…

---

## [\[Fixed\] APT Addon doesn't run in Bionic](https://travis-ci.community/t/fixed-apt-addon-doesnt-run-in-bionic/4061)

<div class="topic-metadata">

**Author:** [@Farwaykorse](https://travis-ci.community/u/Farwaykorse)\
**Replies:** 7\
**Last updated:** [August 7, 2019, 3:46pm UTC](https://travis-ci.community/t/fixed-apt-addon-doesnt-run-in-bionic/4061 "2019-08-07T15:46:10Z")

</div>

On the Bionic image the APT Addon does not run. Manually running APT works fine. Job log Job log - manual Possible related: apt-cache returns an error. The command "apt-cache show cmake -a | grep Version" exited wit…

---

## [Bionic TLS failures?](https://travis-ci.community/t/bionic-tls-failures/4419)

<div class="topic-metadata">

**Author:** [@jay0lee](https://travis-ci.community/u/jay0lee)\
**Replies:** 0\
**Last updated:** [July 27, 2019, 2:08pm UTC](https://travis-ci.community/t/bionic-tls-failures/4419 "2019-07-27T14:08:19Z")

</div>

I’m seeing odd issues with bionic and TLS connectivity. For example, trying to wget Python source from https://www.python.org is failing with an unknown certificate error: https://travis-ci.org/jay0lee/GAM/jobs/56410983…

---

## [Install CMake using APT (again)](https://travis-ci.community/t/install-cmake-using-apt-again/4062)

<div class="topic-metadata">

**Author:** [@Farwaykorse](https://travis-ci.community/u/Farwaykorse)\
**Replies:** 0\
**Last updated:** [July 3, 2019, 7:46pm UTC](https://travis-ci.community/t/install-cmake-using-apt-again/4062 "2019-07-03T19:46:41Z")

</div>

With the upcoming Bionic environment, could the locally installed CMake version be replaced by the use of the Kitware APT repository? Problem Currently (on Trusty and Xenial) CMake is installed in /usr/local/cmake-\<vers…
