aboutsummaryrefslogtreecommitdiff
path: root/opal-ci
AgeCommit message (Collapse)AuthorFilesLines
2019-05-21ubuntu:rolling now missing libcrypto.so.1.0.0, remove p8 mamboStewart Smith1-1/+0
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-05-21opal-ci: Add Fedora 30Stewart Smith2-0/+10
Disable Fedora30 on ppc64le due to mysterious failures Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-04-17opal-ci: Centos7 with latest crosstool toolchain (gcc 8.1.0)Stewart Smith2-4/+4
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-28ci/fedora29: --allowerasing to work around conflicting packagesStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-28ci: Remove debian-jessie boot test.Stewart Smith4-6/+0
Debian (in its infinite "wisdom") has decided to erase most evidence of there ever being a ppc64el installer for Debian Jessie. So, screw them. Backwards compatibility testing was for losers anyway. There is snapshot.debian.org, but it's *really* slow pulling things from there, so it's not really an option unless we want to add multiple minutes to test duration. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-20Fix broken opal-ci/build-fedora-rawhide.sh symlinkStewart Smith1-1/+1
Fixes: e4a06f098c4f34fb5539129dddb6646667f4d5ab Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-15opal-ci: drop fedora 28Stewart Smith3-40/+30
We're getting close to Fedora 30, and keeping N-1 fedora around for too long doesn't really add much. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-15opal-ci: Drop CentOS6 supportStewart Smith2-38/+0
We use the same compiler on our CentOS7 image, and it has the bonus of being able to test against P8 and P9 Mambo. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13opal-ci: Drop fedora27, add fedora29Stewart Smith3-26/+5
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Bump Qemu versionJoel Stanley1-1/+1
This moves the qemu version to qemu-powernv-for-skiboot-7 which is based on upstream's 3.1.0, and supports a Power9 machine. It also includes a fix for the skiboot XSCOM errors: XSCOM: read error gcid=0x0 pcb_addr=0x1020013 stat=0x0 There is no modelling of the xscom behaviour but the reads/writes now succeed which is enough for skiboot to not error out. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Add opal-utils to Debian unstableJoel Stanley1-1/+4
This puts a 'pflash' in the users PATH, allowing more test coverage of ffspart. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Drop P8 mambo from Debian unstableJoel Stanley1-1/+0
Debian Unstable has removed OpenSSL 1.0.0 from the repository so mambo no longer runs: /opt/ibm/systemsim-p8/bin/systemsim-pegasus: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory By removing it from the container these tests will be automatically skipped. Tracked in https://github.com/open-power/op-build/issues/2519 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Add dtc dependencies for rawhideJoel Stanley1-0/+2
Both F28 and Rawhide build their own dtc version. Rawhide was missing the required build deps. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Update Debian unstable packagesJoel Stanley1-3/+2
This syncs Debian unstable with Ubuntu 18.04 in order to get the clang package. It also adds qemu to the Debian install, which makes sense Debian also has 2.12. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Use Ubuntu latest config for Debian unstableJoel Stanley1-1/+1
Debian unstable has the same GCOV issue with 8.2 as Ubuntu latest so it makes sense to share configurations there. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Disable GCOV builds in ubuntu-latestJoel Stanley1-1/+36
They are known to be broken with GCC 8.2: https://github.com/open-power/skiboot/issues/206 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13ci: Update gcov comment in Fedora 28Joel Stanley1-4/+3
Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-11-28opal-ci: Use ubuntu:rolling for Ubuntu latest imageJoel Stanley1-2/+2
This updates the Ubuntu 'latest' to use ubuntu:rolling, which is the most recent release. It turns out that ubuntu:latest is actually the latest LTS (18.04). Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-11-02CI: Bump the Qemu we build for CI testingStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-10-29travis/ci: rework Dockerfiles to produce build artifactsStewart Smith16-13/+16
ubuntu-latest was also missing clang, as ubuntu-latest is closer to ubuntu 18.04 than 16.04 Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-09-20opal-ci: Build old dtc version for fedora 28Stewart Smith2-1/+34
There are patches that will go into dtc to fix the issues we hit, but for the moment let's just build and use a slightly older version. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-09-13Use $() rather than backticks in all shellStewart Smith5-12/+12
The cool kids are all using $() these days as backticks are all backwards and uncool. Practically speaking, it makes it easier to escape things, nest things, and all the other reasons listed on http://mywiki.wooledge.org/BashFAQ/082 Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2018-06-27test/qemu: start building qemu again, and use our built qemu for testsStewart Smith1-1/+2
We need to use QEMU_BIN rather than QEMU as the makefiles define QEMU already. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-06-26opal-ci: qemu: Use the powernv-3.0 branchJoel Stanley1-1/+1
This is based off the current development version of Qemu, and importantly it contains the patch that allows skiboot and Linux to clear the PCR that we require to boot. Signed-off-by: Joel Stanley <joel@jms.id.au> [stewart: use the open-power/qemu.git tree for prosterity] Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-29travis: remove Ubuntu 12.04Stewart Smith2-43/+0
It's been EOL since April 2017 (now 13 months ago). Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-29travis: add fedora28Stewart Smith1-0/+7
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09travis: Require Ubuntu 18.04 to pass, fix on ppc64leStewart Smith2-6/+10
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09opal-ci: Remove unwanted .orig fileJoel Stanley1-10/+0
This snuck in recently. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09opal-ci: 18.04: Go back to updating before installing packagesJoel Stanley1-3/+2
Docker tries to cache stuff and it bites us. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09opal-ci: Build qemu from Cedric's powernv-2.12 branchJoel Stanley1-1/+1
This contains the latest features. It's close to upstream, but there's enough stuff in there that it probably makes sense to continue using it for now. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-06opal-ci: Additionally build with clang on Ubuntu 18.04Joel Stanley1-0/+5
Now that skiboot supports building with clang we can use a modern distro to cross compile using that compiler. Ubuntu 18.04 ships with clang 6, so start with that. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-06travis: fix if x86_64 tests in dockerfiles.Stewart Smith9-15/+25
In today's lesson, Stewart learns shell. Fixes: e101e85c9ff65e82f7ede4d5541d921b4a3ed923 Reported-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-06opal-ci: Add Ubuntu 18.04Joel Stanley2-0/+39
Start doing builds on latest LTS. We can simplify the build script a little, as we know that this version of Ubuntu ships with an ARM cross compiler and a Qemu that can run the tests. This provides us with: gcc 7.3.0 (for native and cross-builds) qemu 2.11 clang 6 Simplify the docker script a little by merging the two different install lines, and getting rid of the duplicate 'apt-get update' steps. We now install clang in preparation for future shenanigans, and use the system qemu instead of building one ourselves. Signed-off-by: Joel Stanley <joel@jms.id.au> [stewart: allow 18.04 to fail as we stabilise it in travis] Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-04travis: remove obsolete fedora 24,25,26Stewart Smith6-23/+2
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-01opal-ci/dockerfiles: DEBIAN_FRONTEND=noninteractiveStewart Smith5-0/+5
Suggested-by: Daniel Black <danielgb@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-04-19travis: Enable ppc64le buildsStewart Smith11-60/+47
At least on the IBM Travis Enterprise instance, we can now do ppc64le builds! We can only build a subset of our matrix due to availability of ppc64le distros. The Dockerfiles need some tweaking to only attempt to install (x86_64 only) Mambo binaries, as well as the build scripts. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-04-19travis-ci: pull Mambo over http rather than ftpStewart Smith4-4/+4
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-04-05travis: add -L to all curl invocations to follow redirectsStewart Smith8-13/+18
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2017-12-20Mambo: run hello_world and sreset_world tests with Secure and Trusted BootStewart Smith2-2/+2
We *disable* the secure boot part, but we keep the verified boot part as we don't currently have container verification code for Mambo. We can run a small part of the code currently though. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-12-04Use systemsim-p9 v1.1Stewart Smith8-11/+11
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-11-22travis: Add Fedora 27Stewart Smith1-0/+7
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-08-24travis: set -vx on all build scriptsStewart Smith6-1/+6
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-08-24travis: Debian Stretch must passStewart Smith1-2/+0
this means we don't run systemsim-p8 on debian stretch as: "libcrypto.so.1.0.0: cannot open shared object file: No such file or directory" Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-07-20travis: Add debian stretch and unstableStewart Smith2-0/+30
At the moment, we mark them both as being able to fail, as we're hitting an assert in one of the unit tests on debian stretch, and that hasn't yet been chased down. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-07-12opal-ci/fetch-debian-jessie-installer: follow redirectsStewart Smith1-2/+2
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-07-12travis: add fedora26Stewart Smith1-0/+7
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-04-07libstb/create-container: Add full container build and sign with imprint keysDave Heller8-8/+8
This adds support for writing all the public key and signature fields to the container header, and for dumping the prefix and software headers so they may may be signed, and for signing those headers with the imprint keys. Signed-off-by: Dave Heller <hellerda@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: fixup warnings&build, include openssl-devel in CI dockerfiles] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-02-16hdata_to_dt: Only output dtbStewart Smith8-8/+11
convert test cases to diff DTS rather than DTB. This means we also have to build dtc on CentOS 7 to be able to run the test suite. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> [oohall@gmail.com moved the test cases into seperate patches] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-23update opal-ci/READMEStewart Smith1-1/+8
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: install expect on ubuntu 12.04, disable qemu on 16.04/latestStewart Smith4-4/+4
due to an oddity with our qemu (that I haven't yet debugged), the hello world test fails in qemu on recent ubuntu. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>