Commit Graph
39 Commits
Author SHA1 Message Date
Michał Kowalczyk 5cc0ae0c9e Clean up newly migrated apps and LTP 2020-03-30 21:10:41 +02:00
Dmitrii Kuvaiskii 997d84c40e [LibOS] Add Glibc 2.31 (used in Ubuntu 20.04) 2020-03-17 21:57:11 +01:00
borysp a3305ed6b8 [Jenkins] Add blender app to Jenkins 2020-03-06 13:03:36 -08:00
Simon Gaiser 0daeed847f [Jenkins] Check for missing gitignores and fix found issues 2020-02-05 02:46:13 +01:00
Dmitrii Kuvaiskii c43cb19179 [Jenkins] Add missing timeouts to apps on all pipelines 2020-02-04 18:27:37 -08:00
Dmitrii Kuvaiskii bca88eb94d [LibOS] test/apps: Allow SSL/TLS connections in Apache httpd 2020-02-04 18:25:40 -08:00
Simon Gaiser 7377a787bc [Makefile] Add distclean target
Before, there was no target that cleaned up downloaded sources. This
commit adds a distclean target to match the 'apps' Makefiles.
2020-02-04 01:15:08 +01:00
Dmitrii Kuvaiskii 7d99d4788c [LibOS,Pal] Remove Graphene IPC completely
Graphene IPC (GIPC) was introduced to perform faster bulk IPC by sharing pages as copy-on-write
across processes. This feature became stale, and it was shown that recent Linux kernels (4.2+)
have zero-copy transfers over UNIX sockets and exhibit similar performance. GIPC is not built and
not tested in Jenkins. Also, GIPC does not work under SGX. This commit completely removes GIPC.
2019-12-30 12:17:51 -08:00
Thomas Knauth 0f0eb95732 [Pal/lib] Fetch and build mbedtls 2.16.3 from official repo 2019-12-19 21:03:56 -08:00
Dmitrii Kuvaiskii b4673dc171 [Jenkins] Add Redis test to all Jenkins pipelines
Redis is tested with select() syscall on 16.04 pipelines and with
epoll() on 18.04 pipelines.
2019-12-14 12:53:45 -08:00
Wojtek Porczyk efbf2706dd [CI] Run shellcheck as part of Jenkins pipelines
The pipeline is failed only when pylint whines about the code actually
touched as part of the pull request.

The `run-shellcheck` script is provided so it can be reused, maybe in
`.git/hooks/pre-push`.
2019-12-11 17:16:09 +01:00
Chia-Che Tsai 5384141b97 [LibOS] test/apps: Rewrite LMBench 2.5 example 2019-12-03 16:36:13 -08:00
Rafał Wojdyła baab561a75 [LibOS] Add tests for some typical FS use cases
These tests perform common FS operations in various ways:
- open/close
- read/write
- create/delete
- read/change size
- seek/tell
- memory-mapped read/write
- copy directory in different ways

Tests use both direct syscalls and stdio wrappers (FILE).

To run, call `make test` in `LibOS/shim/test/fs`.
2019-12-03 15:25:47 +01:00
Wojtek Porczyk 101371683a [LibOS] Sanitize glibc build script
The academic-quality build script was supplanted by industry-grade
Makefile rule.

Also, glibc 2.19 is not supported, because it is not present in any
supported distro.
2019-12-02 18:50:13 +01:00
Dmitrii Kuvaiskii 73e9ed2e8a [Jenkins] Add Nginx test to all Jenkins pipelines 2019-11-28 19:41:17 -08:00
Dmitrii Kuvaiskii 63f1e0a2e6 [LibOS] test/apps: Rewrite Curl example
This commit also adds Curl to Jenkins tests.
2019-11-28 16:48:19 -08:00
Chia-Che Tsai ffe2366beb [LibOS] test/apps: Rewrite Python example
There are two Python3 examples now:
- python-simple contains simple and secure Python3 scripts;
- python-scipy-insecure contains SciPy and NumPy insecure Python3 scripts.

Both examples are tested in Jenkins.
2019-11-27 15:39:48 -08:00
Thomas Knauth ea72e84a88 [LibOS] test/apps: Rewrite GCC example 2019-10-28 22:48:07 -07:00
Wojtek Porczyk 6866bdb2c6 [LibOS, Jenkins] parse LTP test results 2019-10-18 09:10:31 +02:00
Chia-Che Tsai c1049a66a0 [LibOS] test/apps: Rewrite Lighttpd example 2019-10-08 16:21:16 -07:00
Simon Gaiser 8dd19d28fb [Makefile] Check make clean on Jenkins 2019-09-27 03:45:21 +02:00
Chia-Che Tsai 99ec09b2be [Pal/Skeleton] Fix the build of Skeleton PAL 2019-09-10 14:55:25 -07:00
Don Porter a01bbdfb60 [Jenkins] Fix the specific kernel headers version within an Ubuntu release 2019-09-09 20:23:57 +02:00
Michał Kowalczyk 09907126ed [LibOS] test/apps: Fix up apache and lighttpd tests 2019-08-16 02:33:34 +02:00
Chia-Che Tsai dc8b63ce62 [Glibc] Update Glibc version to 2.23 and 2.27
Previously, Graphene supported Glibc version 2.19 only. This commit
adds support for Glibc v2.23 (default in Ubuntu 16.04) and Glibc
v2.27 (default in Ubuntu 18.04). The exact version can be chosen by
specifying GLIBC_VERSION during Graphene build. The default version
to be built is v2.27.

Note that for the best GDB experience it is advised to build Graphene
with the same Glibc version as installed on the host OS.
2019-08-15 13:30:53 -07:00
Simon Gaiser f8b60ced5c [Jenkins] Don't update LTP submodule twice
Jenkins already runs a recursive submodule update. So no need to do this
again manually.
2019-08-14 13:08:55 -07:00
Simon Gaiser 1ff85d10a3 [Makefile] Move building of tests to a separate target
Fixes #204.
2019-08-14 00:44:17 +02:00
Don Porter bdb58741ec [Jenkins] Test the build of graphene-ipc module
At least test the build of graphene-ipc module, even if we
don't currently use it or test it, to try to limit bitrot.
2019-08-01 01:02:32 -07:00
Wojtek Porczyk cfffd6ff0f [Jenkins] enable detailed test reports in Jenkins via junit 2019-07-29 19:40:00 +02:00
Chia-Che Tsai 9362b1317d [Jenkins] Tune the run time of LMBench 2019-07-25 18:17:35 -07:00
Chia-Che Tsai 8b1ae05125 [Jenkins] Tune the run time of Apache and Lighttpd tests 2019-07-24 19:46:04 -07:00
Chia-Che Tsai aa9743dbce [Regression] Update LTP tests to the upstream version 2019-07-23 18:31:37 -07:00
Don Porter a0c208f71e [Makefiles] Enable parallel make in Jenkins, fix parallel make for SGX 2019-06-20 19:16:10 -07:00
Don Porter d95c4f9da6 Put a timeout on the Python test. 2019-03-05 14:31:50 -05:00
Chia-Che Tsai cba6e3278a Add -Werror to CFLAGS with WERROR=1
Signed-off-by: Chia-Che Tsai <chiache@tamu.edu>
2019-02-12 20:09:43 -06:00
Michał Kowalczyk ce43853139 Fix mixed tabs and trailing blanks in Jenkinsfiles 2018-11-30 03:05:22 +01:00
Jaehyun Han 35fc8110de Fix manifests for Bash (#184)
* Fix Bash manifests on SGX

* Add regression test to Bash
2018-03-14 15:33:12 -04:00
Don Porter c844d24199 CI Improvements (#141)
Run CI in a Docker image

* Wait a second for lighttp and apache to fully initialize the socket

* Try to add a timeout for lmbench, which is prone to hanging (vfork)

* Set a timeout on gcc; one of the PRs is causing gcc hello to hang.  Also, to avoid interference, run apache test on 8001 by default.

* Update lmbench to ignore bin dir

* Do the faster tests first; fail earlier

* Get the IP addr properly for web server tests

* Some notes on flaky LTP tests to debug later.  Move a few that tend to heisenbugs off of the required list for now 

* Try to detect vma list corruption during the debug dump, lest it be infinite.

* Temporarily disable the lmbench vfork test (Issue #142).

* Catch some failures faster.

* Catch failures in apachebench

* Take apache out of the Linux host/Debug build CI for now, as it hangs consistently.  Filed issue #144 to track.
2017-12-09 16:34:56 -08:00
Don Porter ce49dcb03d Migrate unit tests to jenkins (#122)
* Migrate running unit tests for Linux host to Jenkins.  Add a unit test for the Linux host, Debug build

* Ignore files generated as part of unit testsing.

* A quick and dirty fix for port collisions during CI tests.  Come back and do a better job if we continue having problems

* For some reason, the PAL Process regression tests fail using the default manifest under a debug build.  Go ahead and explicate a template for the Process test.
2017-12-03 14:04:39 +00:00