summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jonathan Rajotte [Thu, 23 Nov 2017 02:31:51 +0000 (21:31 -0500)]
Rename launch.py to bootstrap.py
bootstrap will also prebuild all project.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 22:47:01 +0000 (17:47 -0500)]
Base readme
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 22:46:40 +0000 (17:46 -0500)]
Licensing information
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 22:23:34 +0000 (17:23 -0500)]
Fix typo
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 22:16:03 +0000 (17:16 -0500)]
Add python venv requirement.txt file
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 21:03:05 +0000 (16:03 -0500)]
liblttng-ctl backward compatibility tests
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 19:42:46 +0000 (14:42 -0500)]
Revert
This is not needed, we can simply use the "lttng" bin for testing.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 19:11:08 +0000 (14:11 -0500)]
Introduce ust_app_tools_update tests
This provide a basic testing scenario where an app build against
lttng-ust 2.x is run inside a runtime for version 2.(x+1) or 2.(x-1) in
cases where we expect known features.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 19:09:44 +0000 (14:09 -0500)]
Include lttng-ctl apps for liblttng-ctl testing
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 19:08:49 +0000 (14:08 -0500)]
Typo
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 19:04:26 +0000 (14:04 -0500)]
fixup! Introduce precooked project
Jonathan Rajotte [Wed, 22 Nov 2017 19:03:36 +0000 (14:03 -0500)]
fixup! Implement Runtime wrapper
Jonathan Rajotte [Wed, 22 Nov 2017 19:02:09 +0000 (14:02 -0500)]
Cleanup
This matrix will be redefined when necessary.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 19:01:33 +0000 (14:01 -0500)]
Validate the trace generated during testing
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 19:00:49 +0000 (14:00 -0500)]
Consumerd swapping for 2.8-2.9 unexpectedly works in a basic test case
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 18:59:38 +0000 (13:59 -0500)]
Include babeltre 1.3 testing even if flaky
The test tuples are marked as expected to fail since these test are
flaky. Investigation under way.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 22 Nov 2017 18:58:48 +0000 (13:58 -0500)]
Always issues lttng stop before destroy
lttng-tools 2.7 did not perform a stop on destroy.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Fri, 17 Nov 2017 01:25:58 +0000 (20:25 -0500)]
Fix: be aggressive on closing to prevent hanging sessiond
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Fri, 17 Nov 2017 00:36:19 +0000 (19:36 -0500)]
Support optional args for sessiond_spawn
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Fri, 17 Nov 2017 00:35:58 +0000 (19:35 -0500)]
Add timeout to run
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Fri, 17 Nov 2017 00:35:02 +0000 (19:35 -0500)]
Use subprocess_terminate on Runtime close
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Fri, 17 Nov 2017 00:34:33 +0000 (19:34 -0500)]
Fix: use uuid for kill
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Fri, 17 Nov 2017 00:23:05 +0000 (19:23 -0500)]
Cleanup
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 15 Nov 2017 18:56:35 +0000 (13:56 -0500)]
Introduce babeltrace live test
These test seems to expose a bug/race on relayd/babeltrace side with
mostly babeltrace 1.3.
Further investigation is required to either modify the test or provide a
fix on the concerned project.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 15 Nov 2017 18:49:37 +0000 (13:49 -0500)]
Utility function for relayd spawning
Spawn a relayd under a runtime with random free ports.
Synchronization is based on log which is less than ideal.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 15 Nov 2017 18:47:54 +0000 (13:47 -0500)]
Rework subprocess utility function
Add a wait function with a possible timeout.
The terminate function will perform an aggressive kill if the timeout is
reached.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 15 Nov 2017 18:47:16 +0000 (13:47 -0500)]
Unload test module only if it was loaded
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 15 Nov 2017 18:46:42 +0000 (13:46 -0500)]
Traceback is not used
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 14 Nov 2017 22:06:16 +0000 (17:06 -0500)]
Introduce basic babeltrace testing
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 14 Nov 2017 02:17:53 +0000 (21:17 -0500)]
Introduce consumerd vs relayd testing
Those testing are performed locally only.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 14 Nov 2017 02:17:20 +0000 (21:17 -0500)]
Remove debug printing statement
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 13 Nov 2017 16:46:05 +0000 (11:46 -0500)]
Base utils for xsd mi validation and saved sessions file
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 13 Nov 2017 16:45:03 +0000 (11:45 -0500)]
Ignore .envrc from direnv
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 13 Nov 2017 16:44:46 +0000 (11:44 -0500)]
Introduce save load test
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 8 Nov 2017 21:49:28 +0000 (16:49 -0500)]
Introduce test_ust_python_agent_vs_tools.py
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 7 Nov 2017 01:04:25 +0000 (20:04 -0500)]
Do not use for now since a regression in userspace master deadlock java agent
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 7 Nov 2017 01:03:33 +0000 (20:03 -0500)]
Add test_ust_java_agent_vs_tools
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 6 Nov 2017 21:13:43 +0000 (16:13 -0500)]
Support version ABI check for test_ust_app_vs_ust_tools
Introduce a small utils for string searching inside a file.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 1 Nov 2017 15:40:32 +0000 (11:40 -0400)]
Build jul agent and python agent for lttng-ust
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 23:27:26 +0000 (19:27 -0400)]
Add statedump regen and star globing for ust testing
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 20:24:36 +0000 (16:24 -0400)]
Fix: pytest.fail not fails
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 19:39:52 +0000 (15:39 -0400)]
Add utility shell script to launch pytest under a venv
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 19:38:49 +0000 (15:38 -0400)]
Implement part of test_modules_abi_vs_tools
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 19:37:14 +0000 (15:37 -0400)]
Formatting
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 19:36:30 +0000 (15:36 -0400)]
Rename to must_be_root
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 19:35:27 +0000 (15:35 -0400)]
Fix: wrong option for directory manipulation of modprobe
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 15:50:11 +0000 (11:50 -0400)]
Remove unnecessary handler
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 15:48:43 +0000 (11:48 -0400)]
Checksum the project.py file to validate that the pickle we get from the project cache is still valid.
This will rebuild all project if project.py changes. Not the best
solution but is good enough to prevent corruption.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 31 Oct 2017 15:26:38 +0000 (11:26 -0400)]
Use os.path.join
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Thu, 26 Oct 2017 19:54:20 +0000 (15:54 -0400)]
Add test_ust_tracepoint_probe_ABI_API_vs_ust
Jonathan Rajotte [Thu, 26 Oct 2017 15:55:59 +0000 (11:55 -0400)]
Marx as xfail since it seems to be problematic
Looks like the sizeof fields changed between 2.7 and 2.8 and lead to
serialization problem on event creation sessiond side.
Since no response is sent it can also end up in a hang app side.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Thu, 26 Oct 2017 15:17:33 +0000 (11:17 -0400)]
Add ust_tracepoint_ABI-API_vs_ust
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Thu, 26 Oct 2017 15:13:38 +0000 (11:13 -0400)]
Add preload_provider app
Shared object provider can be built and used independently of the app under
test.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Thu, 26 Oct 2017 15:11:50 +0000 (11:11 -0400)]
Always terminate sessiond before reading traces.
Ensure that data is present on disk at the moment of reading.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Thu, 26 Oct 2017 15:09:53 +0000 (11:09 -0400)]
Output env cmd file as a possible bash like format for easier debugging
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Thu, 26 Oct 2017 15:01:39 +0000 (11:01 -0400)]
Add ld_preload capability to runtime.run()
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Thu, 26 Oct 2017 15:01:07 +0000 (11:01 -0400)]
Fix: ld_library_path uses : as separator
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 24 Oct 2017 15:54:20 +0000 (11:54 -0400)]
Extract spawn sessiond to utils function
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 24 Oct 2017 15:22:25 +0000 (11:22 -0400)]
Remove whitespace
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 24 Oct 2017 14:55:18 +0000 (10:55 -0400)]
Basic test ust_app_vs_ust_tools
Jonathan Rajotte [Tue, 24 Oct 2017 14:53:30 +0000 (10:53 -0400)]
modules_abi_vs_tools base empty test
TODO:
add skip if not root.
version check the current kernel version and mark as skip or expected to fail.
implement tests.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 24 Oct 2017 14:51:14 +0000 (10:51 -0400)]
Basic utils
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 24 Oct 2017 14:50:33 +0000 (10:50 -0400)]
Import gen-ust-app application
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Tue, 24 Oct 2017 14:49:43 +0000 (10:49 -0400)]
Multiple framework fixes
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 16 Oct 2017 20:19:03 +0000 (16:19 -0400)]
Implement Runtime wrapper
Using this wrapper, it is possible obtain a specifier runtime environment
with valid pre-defined environment variables.
Each runtime can spawn individual background process and run command as
if it was on the command line. Each runtime also save all stdout and
stderr for further inspection and validation.
Include fix-up to Project objects to accomodate the Runtime object
requirement.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Wed, 11 Oct 2017 19:49:26 +0000 (15:49 -0400)]
Introduce precooked project
Precooked projects are cached project. This allows test that need
vanilla binary of projects to simply get a valid project without the
need to build one if it was already built.
This case is persistent accross pytest call and will update itself if
the run configuration is changed.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 2 Oct 2017 21:57:56 +0000 (17:57 -0400)]
Base framework and liblttng-ust-ctl test
Provide building block for building projects and a base primer for
pytest usage.
test_ust_so_name_vs_tools.py uses parametrized tests to ease the
handling of matrix testing.
Note that matrix can also be restricted to only tuples where certains
projects are constituent. This can be set under setting.py for now.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 2 Oct 2017 21:57:25 +0000 (17:57 -0400)]
Ignore swp file and .cache directory
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 2 Oct 2017 21:55:23 +0000 (17:55 -0400)]
Cleanuop to squash
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 2 Oct 2017 21:53:27 +0000 (17:53 -0400)]
Add ignore for python in general and project specific tmp files
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Jonathan Rajotte [Mon, 2 Oct 2017 21:46:59 +0000 (17:46 -0400)]
Initial commit
This page took 0.034207 seconds and 5 git commands to generate.