Stefan Sauer [Fri, 16 Dec 2016 13:08:46 +0000 (14:08 +0100)]
tracer/Makefile: fix test invocation
And fix a deprecation warning.
Stefan Sauer [Fri, 16 Dec 2016 13:07:45 +0000 (14:07 +0100)]
tracer/structure: add more tests and a benchmark
Stefan Sauer [Wed, 14 Dec 2016 20:28:12 +0000 (21:28 +0100)]
tracer/gsttr-stats: move time unit hack into method
Stefan Sauer [Wed, 14 Dec 2016 18:07:22 +0000 (19:07 +0100)]
tracer/gsttr-stats: split Analyzer into Analyzer and AnalysisRunner
This lets us run chain analyzers. Move the stats collection into the
gsttr-stats tool.
Stefan Sauer [Mon, 12 Dec 2016 21:41:23 +0000 (22:41 +0100)]
tracer: add a first tool to report aggregated findings
A tool to report min/max/avg values per scope and traced value.
Stefan Sauer [Mon, 12 Dec 2016 21:38:57 +0000 (22:38 +0100)]
tracer: add new python library to process tracer logs
This is the beginning of a python library for wrting tools that process tracer
logs. This library contains a structure parser written in python to avoid the
dependency on gobject introspection (and the slowness and non pythoness that
comes with it).
Stefan Sauer [Tue, 13 Dec 2016 12:26:35 +0000 (13:26 +0100)]
debug-viewer: inline expression
Edward Hervey [Mon, 19 Dec 2016 15:17:56 +0000 (16:17 +0100)]
validate-scenario: Properly get the rate for action validation
This issue was most likely introduced by the refactoring of the
position querying into a standalone function.
In execute_next_action() the rate variable was never replaced by
the current rate of the pipeline, this would result in all reverse
playback actions to trigger immediately instead of waiting for
the actual target time.
https://bugzilla.gnome.org/show_bug.cgi?id=776280
Thibault Saunier [Mon, 12 Dec 2016 18:07:30 +0000 (15:07 -0300)]
validate: Fix usage of get_stack)trace after API change
Thibault Saunier [Mon, 12 Dec 2016 15:27:42 +0000 (12:27 -0300)]
validate: transcode: No buffering handling when the sink is not synced on the clock
It makes no sense to pause the pipeline and wait for buffering to be
done when the pipeline is just processing the data as it comes
in without synchronizing on the clock.
Thibault Saunier [Fri, 9 Dec 2016 20:43:53 +0000 (17:43 -0300)]
meson: Support building without Gst debug
Reynaldo H. Verdejo Pinochet [Wed, 7 Dec 2016 23:11:33 +0000 (15:11 -0800)]
validate: fix small grammar nit
Thibault Saunier [Thu, 1 Dec 2016 13:51:56 +0000 (10:51 -0300)]
launcher: Handle stack trace information as jenkins expect it in the xunit file
Thibault Saunier [Wed, 30 Nov 2016 17:07:04 +0000 (14:07 -0300)]
validate:launcher: Handle missing media info file
Thibault Saunier [Wed, 30 Nov 2016 16:32:09 +0000 (13:32 -0300)]
validate: Properly handle proxy pads generating detailed info about NNEs
In cases where we had a two consecutive bins with proxy pads, we could
segfault because we were dereferencing a NULL pointer to pad.
Thibault Saunier [Fri, 18 Nov 2016 17:45:42 +0000 (14:45 -0300)]
meson: Modernize the way we set test env variables
Removing the now useless getplugindirs script
Thibault Saunier [Wed, 30 Nov 2016 10:40:05 +0000 (07:40 -0300)]
validate:launcher: Make sure that the IPC server is shutdown before closing the socket
Thibault Saunier [Tue, 29 Nov 2016 17:47:35 +0000 (14:47 -0300)]
validate:launcher: Make sure to check string when verifying expected failures
The value can potentially be None and we should handle that
Thibault Saunier [Sat, 26 Nov 2016 13:25:43 +0000 (10:25 -0300)]
validate:launcher: Allow specifying timeout as a known issue
And minor cleanups
Thibault Saunier [Sat, 26 Nov 2016 13:24:11 +0000 (10:24 -0300)]
validate:launcher: Properly report stack trace as such in the xunit file
Thibault Saunier [Sat, 26 Nov 2016 12:27:45 +0000 (09:27 -0300)]
validate:launcher: Remove now useless validatelog
We are now doing IPC to communicate with the launcher
so let it simply go to stdout.
Thibault Saunier [Thu, 24 Nov 2016 13:29:53 +0000 (10:29 -0300)]
validate:launcher: Handle checking bug status for expected failures
Tim-Philipp Müller [Sat, 26 Nov 2016 11:26:05 +0000 (11:26 +0000)]
common: use https protocol for common submodule
https://bugzilla.gnome.org/show_bug.cgi?id=775110
Thibault Saunier [Wed, 23 Nov 2016 11:38:49 +0000 (08:38 -0300)]
validate: Fix GI warnings
Sebastian Dröge [Sat, 19 Nov 2016 10:36:32 +0000 (12:36 +0200)]
meson: Move vs_module_defs_dir to the validate subdirectory
It's validate/win32/ and not just win32/
https://bugzilla.gnome.org/show_bug.cgi?id=774638
Scott D Phillips [Fri, 18 Nov 2016 18:06:14 +0000 (10:06 -0800)]
validate: make: include common/win32.mak
With the addition of the .def file for validate we need to make
sure the check-export script from common gets executed so that the
.def stays up to date.
https://bugzilla.gnome.org/show_bug.cgi?id=774638
Scott D Phillips [Fri, 18 Nov 2016 01:26:49 +0000 (17:26 -0800)]
meson: Add ignored warnings for MSVC
https://bugzilla.gnome.org/show_bug.cgi?id=774656
Scott D Phillips [Thu, 17 Nov 2016 18:00:25 +0000 (10:00 -0800)]
Enable building with MSVC
https://bugzilla.gnome.org/show_bug.cgi?id=774638
Scott D Phillips [Thu, 17 Nov 2016 18:28:01 +0000 (10:28 -0800)]
pad-monitor: fix return type of get_range_func
The return type of GstPadGetRangeFunction is GstFlowReturn
https://bugzilla.gnome.org/show_bug.cgi?id=774638
Scott D Phillips [Thu, 17 Nov 2016 18:25:37 +0000 (10:25 -0800)]
validate: Remove #include <unistd.h>
It isn't needed and isn't present in non-posix environments like windows
with MSVC or mingw.
https://bugzilla.gnome.org/show_bug.cgi?id=774638
Scott D Phillips [Thu, 17 Nov 2016 18:24:08 +0000 (10:24 -0800)]
Fix MSVC const warnings
https://bugzilla.gnome.org/show_bug.cgi?id=774638
Scott D Phillips [Thu, 17 Nov 2016 18:19:22 +0000 (10:19 -0800)]
Pass gint/guint pointers instead of enum pointers
The underlying integer type for enums are implementation defined and may
not be the same size as gint/guint. So implicitly casting from pointers-
to-enum-types to pointers-to-int-types is unsafe. MSVC warns on these.
https://bugzilla.gnome.org/show_bug.cgi?id=774638
Thibault Saunier [Thu, 17 Nov 2016 18:43:15 +0000 (15:43 -0300)]
validate: Minor documentation fixes.
Thibault Saunier [Wed, 16 Nov 2016 13:47:21 +0000 (10:47 -0300)]
validate: launcher: Allow checking if bugs linked to blacklist is fixed
Thibault Saunier [Wed, 16 Nov 2016 13:48:26 +0000 (10:48 -0300)]
validate:launcher: Consider wanted tests as whitelisted
Thibault Saunier [Tue, 15 Nov 2016 21:55:09 +0000 (18:55 -0300)]
validate: meson: Do not mixup gstvalidate lib and tracer plugin
Even though it is mostly the same thing in the end
Thibault Saunier [Mon, 14 Nov 2016 21:41:34 +0000 (18:41 -0300)]
validate:launcher: Timeout if running gdb takes too much time
Thibault Saunier [Sat, 29 Oct 2016 14:22:31 +0000 (11:22 -0300)]
validate:launcher: Allow running the testsuite N number of times
Thibault Saunier [Mon, 14 Nov 2016 16:05:04 +0000 (13:05 -0300)]
validate: Remove extra buffering status prints
Thibault Saunier [Wed, 9 Nov 2016 20:37:24 +0000 (17:37 -0300)]
validate:launcher: Fix usage in an uninstalled environment
Thibault Saunier [Tue, 8 Nov 2016 21:06:19 +0000 (18:06 -0300)]
validate: Use gst_debug_get_stack_trace instead of our implementation
And remove now useless config.h.meson file
Thibault Saunier [Mon, 7 Nov 2016 20:20:09 +0000 (17:20 -0300)]
validate:launcher: Try to generate a backtrace on segfaults
Thibault Saunier [Fri, 4 Nov 2016 21:04:37 +0000 (18:04 -0300)]
validate:launcher: Port to Python3
And sync logging.py with Pitivi version
Thibault Saunier [Fri, 4 Nov 2016 17:45:19 +0000 (14:45 -0300)]
meson: Unset the plugin paths to generate the .gir files
Avoiding problems when using subproject:
'Failed to load plugin something.so file too short'
Thibault Saunier [Thu, 3 Nov 2016 19:17:08 +0000 (16:17 -0300)]
validate: report: Do not unref an object where we do not own a ref
g_io_stream_get_output_stream is transfer none
Thibault Saunier [Thu, 3 Nov 2016 14:22:08 +0000 (11:22 -0300)]
validate: gir: We should not depend on GstVideo
We do not depend on it at all in GstValidate itself
https://bugzilla.gnome.org/show_bug.cgi?id=773898
Thibault Saunier [Wed, 2 Nov 2016 11:28:27 +0000 (08:28 -0300)]
validate: Allow using json-glib as a subproject
Thibault Saunier [Wed, 2 Nov 2016 20:25:21 +0000 (17:25 -0300)]
validate: media check: Always print runner infos when bailing out.
Thibault Saunier [Wed, 2 Nov 2016 15:43:54 +0000 (12:43 -0300)]
validate:launcher: Do not try to set DISPLAY envvar to None
Tim-Philipp Müller [Tue, 1 Nov 2016 18:11:13 +0000 (18:11 +0000)]
meson: update version
Sebastian Dröge [Tue, 1 Nov 2016 16:53:16 +0000 (18:53 +0200)]
Back to development
Sebastian Dröge [Tue, 1 Nov 2016 16:16:13 +0000 (18:16 +0200)]
Release 1.10.0
Edward Hervey [Wed, 26 Oct 2016 15:58:58 +0000 (17:58 +0200)]
scenarios: Simplify Makefile
Edward Hervey [Wed, 26 Oct 2016 15:51:37 +0000 (17:51 +0200)]
scenarios: Add a forward key-unit trick mode scenario
Not enabled for the time being
Edward Hervey [Wed, 26 Oct 2016 15:34:49 +0000 (17:34 +0200)]
baseclasses: Also check for minimum number of video-tracks
Some scenarios might only be for video files and are meaningless for
audio-only files
Scott D Phillips [Tue, 25 Oct 2016 15:53:59 +0000 (08:53 -0700)]
meson: Don't depend on gstreamer-check-1.0 on windows
https://bugzilla.gnome.org/show_bug.cgi?id=773114
Nirbheek Chauhan [Tue, 25 Oct 2016 05:22:12 +0000 (10:52 +0530)]
Revert "meson: move gstreamer-check-1.0 dependency to validate/tests/check"
This reverts commit
e8e51bdad499b38d2acc0216dc124bb82b0bd72b.
Does not actually work. See:
https://bugzilla.gnome.org/show_bug.cgi?id=773114#c31
Scott D Phillips [Fri, 21 Oct 2016 07:48:47 +0000 (00:48 -0700)]
meson: move gstreamer-check-1.0 dependency to validate/tests/check
https://bugzilla.gnome.org/show_bug.cgi?id=773114
Edward Hervey [Tue, 18 Oct 2016 13:41:11 +0000 (15:41 +0200)]
validate: Blacklist failing hls tests
See https://bugzilla.gnome.org/show_bug.cgi?id=773159
Nicolas Dufresne [Fri, 14 Oct 2016 15:05:26 +0000 (11:05 -0400)]
Also fix link issue in the plugin with libdw
Nicolas Dufresne [Fri, 14 Oct 2016 14:52:53 +0000 (10:52 -0400)]
Fix non-C89 code
In the automake build system we force C89 which does not allow mixing
code and declaration.
Nicolas Dufresne [Fri, 14 Oct 2016 14:48:16 +0000 (10:48 -0400)]
Fix missing linker flags for libdw
This was added in the meson build but was only checked and not used in
the automake build.
Stefan Sauer [Mon, 10 Oct 2016 13:59:49 +0000 (15:59 +0200)]
debug-viewer: window: add helper to get visible range
Move this code to the window class, as multiple plugins are going to need it.
Stefan Sauer [Sun, 9 Oct 2016 10:55:59 +0000 (12:55 +0200)]
degbug-viewer: models: only temporarilly modify the row for filtering
This avoid that we have to chek the type in the getter.
Also update the comment - we need the strip since the readline call
will not strip the newline.
William Manley [Tue, 21 Jun 2016 16:56:58 +0000 (17:56 +0100)]
gst-devtools/codecanalyser: Fix typo NO_CONFIGURE should be NOCONFIGURE
For consistency with the rest of the autogen.sh scripts.
https://bugzilla.gnome.org/show_bug.cgi?id=772616
Stefan Sauer [Sat, 8 Oct 2016 20:23:39 +0000 (22:23 +0200)]
debug-viewer: app: Switch for rc_parse to css
This gets us the line shading back and some size savings.
Stefan Sauer [Sat, 8 Oct 2016 12:49:38 +0000 (14:49 +0200)]
debug-viewer: models: allow filter to check COL_MESSAGE
COL_MESSAGE contains the message offset as an internal optimization. When
preparing a row for filters, we need to replace this. Otherwise filters
get an 'int' instead of the 'string' they expect.
Jinwoo Ahn [Fri, 7 Oct 2016 04:42:02 +0000 (13:42 +0900)]
validate: fix typo
https://bugzilla.gnome.org/show_bug.cgi?id=772543
Jinwoo Ahn [Wed, 5 Oct 2016 05:50:53 +0000 (14:50 +0900)]
validate: fix typo in gst-validate-report.c
parametter -> parameter
https://bugzilla.gnome.org/show_bug.cgi?id=772439
Stefan Sauer [Fri, 30 Sep 2016 20:29:43 +0000 (22:29 +0200)]
debug-viewer: small code cleanups
Inline a few statements. Remove unused variables.
Stefan Sauer [Fri, 30 Sep 2016 20:31:24 +0000 (22:31 +0200)]
debug-viewer: add a few doc strings
Thibault Saunier [Fri, 30 Sep 2016 14:35:41 +0000 (11:35 -0300)]
meson: Setup pre commit hook and fix getpluginsdir for standalone case
Tim-Philipp Müller [Fri, 30 Sep 2016 13:57:27 +0000 (14:57 +0100)]
meson: update version
Sebastian Dröge [Fri, 30 Sep 2016 10:06:16 +0000 (13:06 +0300)]
Release 1.9.90
Thibault Saunier [Fri, 23 Sep 2016 23:40:52 +0000 (20:40 -0300)]
meson: Fix gtkdoc using new meson features
Stefan Sauer [Wed, 28 Sep 2016 19:19:29 +0000 (21:19 +0200)]
debug-viewer: initialize all features from tuples
Also add a first doc string about the plugin initialisation.
Stefan Sauer [Wed, 28 Sep 2016 18:38:55 +0000 (20:38 +0200)]
formatting: run autopep8 over all files
We have a commit hook on the repo. Get all files to match the pep8 guidelines.
Stefan Sauer [Wed, 28 Sep 2016 18:34:53 +0000 (20:34 +0200)]
debug-viewer: cleanup imports in plugins
Don't use * imports. Don't rely on package level imports.
Thibault Saunier [Wed, 21 Sep 2016 19:41:45 +0000 (16:41 -0300)]
meson: Fix installing configured files
Thibault Saunier [Wed, 21 Sep 2016 19:14:59 +0000 (16:14 -0300)]
validate: Allow doting the pipeline on issue reporting
And let the user configure on what level of issues to do it
by setting the GST_VALIDATE_CONFIG env var.
Always dot on critical issues.
Thibault Saunier [Wed, 21 Sep 2016 19:00:18 +0000 (16:00 -0300)]
validate: Allow passing a GST_VALIDATE_CONFIG as a string
Instead of forcing user to put it in a file.
We are simply using the GstCaps synthax to parse it.
Thibault Saunier [Wed, 21 Sep 2016 18:48:57 +0000 (15:48 -0300)]
validate: Add a reference to the pipeline from each monitor
That will allow us to add more flexibility regarding the way
we report thing to the user and will allow us to properly make
reports per pipeline.
Thibault Saunier [Wed, 21 Sep 2016 17:10:53 +0000 (14:10 -0300)]
validate:launcher: Minor fix in returncode check
Thibault Saunier [Wed, 21 Sep 2016 17:07:29 +0000 (14:07 -0300)]
validate: Always print trace for critical issues
And take into account issue details level to generate backtrace.
Thibault Saunier [Wed, 21 Sep 2016 15:26:17 +0000 (12:26 -0300)]
validate: Add support for setting a report level for an issue type
Until now we could set report levels to the monitor, this adds support
for setting report level for the issue types too.
Reynaldo H. Verdejo Pinochet [Mon, 26 Sep 2016 01:23:30 +0000 (18:23 -0700)]
validate: transcoding: fix several error messages
No encoders found, no static src/sink pads found and keyunit and force-stop
error conditions.
Reynaldo H. Verdejo Pinochet [Mon, 26 Sep 2016 01:03:45 +0000 (18:03 -0700)]
validate: fix grammar on subtitle-file action description
Thibault Saunier [Thu, 22 Sep 2016 18:56:24 +0000 (15:56 -0300)]
validate: Dump the infos about NNEs if we can not properly determine the problem
It should anyway be pretty interesting pieces of information.
Javier Martinez Canillas [Thu, 22 Sep 2016 15:37:57 +0000 (11:37 -0400)]
validate: fix build warning in generate_unwind_trace()
The unw_word_t type has different sizes for 32-bit and 64-bit, so using the
%lx format specifier on a 32-bit CPU leads to the following compile warning:
CC libgstvalidate_1.0_la-gst-validate-report.lo
gst-validate-report.c: In function 'generate_unwind_trace':
gst-validate-report.c:137:36: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'unw_word_t {aka unsigned int}' [-Werror=format=]
g_string_append_printf (trace, "%s (0x%lx)\n", name, offset);
Cast to long so the %lx fomart specifier can be always used.
Thibault Saunier [Thu, 22 Sep 2016 15:36:29 +0000 (12:36 -0300)]
validate: Avoid checking NULL pads when generating NNE reports
Tim-Philipp Müller [Tue, 20 Sep 2016 12:39:02 +0000 (13:39 +0100)]
validate: fix compiler warnings
gst-validate-report.c: In function ‘generate_unwind_trace’:
gst-validate-report.c:116:1: error: old-style function definition [-Werror=old-style-definition]
generate_unwind_trace ()
^~~~~~~~~~~~~~~~~~~~~
gst-validate-report.c:122:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
unw_cursor_t cursor;
^~~~~~~~~~~~
Thibault Saunier [Thu, 8 Sep 2016 15:53:30 +0000 (12:53 -0300)]
validate: Add backtraces in the reports
Printing them when the reporting all the details only
Sebastian Dröge [Wed, 14 Sep 2016 09:31:47 +0000 (11:31 +0200)]
configure: Depend on gstreamer 1.9.2.1
Thibault Saunier [Mon, 12 Sep 2016 17:21:30 +0000 (14:21 -0300)]
validate:launcher: Do not use unset sent_eos variable
And rename class member to sent_eos_time as it is more accurate
Thibault Saunier [Fri, 9 Sep 2016 15:09:45 +0000 (12:09 -0300)]
meson:validate:test: Properly set paths to run launcher based tests
Adding a --validate-tools-path option to the launcher, allowing
to pass it from meson.
Thibault Saunier [Thu, 8 Sep 2016 15:52:24 +0000 (12:52 -0300)]
meson: Build GstValidate as a tracer
And add version to the GStValidate shared library
Thibault Saunier [Wed, 7 Sep 2016 20:24:53 +0000 (17:24 -0300)]
validate: tests: Add launcher based GstValidate tests
First checking the new not negotiated error reporting code.
Thibault Saunier [Fri, 2 Sep 2016 20:39:50 +0000 (17:39 -0300)]
validate: launcher: Always clean all tests at the end
Making sure that if an exception of anything happens we will
properly clean all the tests, or at least try to.
Thibault Saunier [Fri, 2 Sep 2016 20:37:24 +0000 (17:37 -0300)]
validate:launcher: Allow specifying expected tests errors
In the future instead of blacklisting tests we should define
what error is expected, and this way when the bug is closed,
we will notice, also, it will allow us to check GstValidate
error reporting itself.
Thibault Saunier [Thu, 1 Sep 2016 20:39:38 +0000 (17:39 -0300)]
validate: Pass information about GstValidate execution over a socket
Instead of trying to parsing stdout, generate json messages and
send them over a socket so that gst-validate-launcher can properly
have informations about gst-validate subprocess execution.