SuccessChanges

Summary

  1. tmf: Fix some tests not working in different time zones (details)
  2. releng: Bump versions for 1.2.1 release (details)
  3. control: Bug 489857: Fix live mode support for LTTng 2.4 (details)
  4. tmf: enable and fix o.e.tc.tmf.ui.tests.trace test cases (details)
  5. tmf: Bug 489971: Premature processing of payload in custom parser (details)
  6. releng: Target update for Mars.2 (details)
Commit f57723bd1151f9ed3b2b84feb26dd8fdf8027e33 by Marc-Andre Laperle
tmf: Fix some tests not working in different time zones

Also print the timezone at the start of test to help troubleshoot
if it happens on a server.

Reviewed-on: https://git.eclipse.org/r/66579

This is a combination of 2 commits because the first one introduced
a regression and the second fixed it.

---Second commit---

tmf: Fix TestRefreshTextTrace failure because of bad time zone reset

Commit 6941941dae56 (https://git.eclipse.org/r/#/c/66579/)
changed tests to set explicitly a time zone but it doesn't
reset it properly. Because of this, TestRefreshTextTrace had
mismatching time stamps.

This can reproduced by running FilterViewerTest first then
running TestRefreshTextTrace. The easiest way is to modify
SWTBotStressTests to have this:

s.addTest(new JUnit4TestAdapter(FilterViewerTest.class));
s.addTest(new JUnit4TestAdapter(TestRefreshTextTrace.class));

To fix it, we reset the time zone to the time zone id, not the label.
The safest way to do this is to use what we decided to use in the
default preference map.

Change-Id: I35afe305ac6c81c1ccbb5c01b4031aaa2074e420
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/66723
Reviewed-on: https://git.eclipse.org/r/68881
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
(cherry picked from commit f6612036445d8f438413ac6456a1d9b9abf25fee)
Reviewed-on: https://git.eclipse.org/r/68905
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/viewers/events/TestTraceOffsetting.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/ConditionHelpers.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/viewers/events/FilterViewerTest.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/timestamp/TmfTimePreferences.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/SWTBotUtils.java
Commit 2e317172feb18048fc41adcec0e8a0db281680f0 by Marc-Andre Laperle
releng: Bump versions for 1.2.1 release

Change-Id: I4332922fb448413e41ccdeb03c1f60e70e3f1978
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68880
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/69042
The file was modifiedgdbtrace/org.eclipse.tracecompass.gdbtrace.ui.tests/pom.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp/pom.xml
The file was modifiedpcap/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.remote.ui/pom.xml
The file was modifiedanalysis/org.eclipse.tracecompass.analysis.os.linux.core.tests/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.kernel.core.tests/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.ctf.core.tests/pom.xml
The file was modifiedgdbtrace/org.eclipse.tracecompass.gdbtrace/pom.xml
The file was modifiedbtf/org.eclipse.tracecompass.btf.core/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.analysis.xml.ui.tests/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.remote.core/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.core/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.ust.ui/pom.xml
The file was modifieddoc/org.eclipse.tracecompass.examples/pom.xml
The file was modifieddoc/org.eclipse.tracecompass.rcp.doc.user/META-INF/MANIFEST.MF
The file was modifiedctf/org.eclipse.tracecompass.tmf.ctf/pom.xml
The file was modifiedstatesystem/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/pom.xml
The file was modifiedreleng/org.eclipse.tracecompass.testing/pom.xml
The file was modifiedrcp/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.ui/pom.xml
The file was modifiedbtf/org.eclipse.tracecompass.btf/feature.xml
The file was modifieddoc/org.eclipse.tracecompass.doc.user/META-INF/MANIFEST.MF
The file was modifiedctf/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.ui.swtbot.tests/pom.xml
The file was modifieddoc/org.eclipse.tracecompass.tmf.pcap.doc.user/META-INF/MANIFEST.MF
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.ui.tests/pom.xml
The file was modifieddoc/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.ust/feature.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp.ui/META-INF/MANIFEST.MF
The file was modifiedrcp/org.eclipse.tracecompass.rcp.product/pom.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp.product/tracing.product
The file was modifiedrcp/org.eclipse.tracecompass.rcp/feature.xml
The file was modifiedcommon/org.eclipse.tracecompass.common.core/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.core/pom.xml
The file was modifiedstatesystem/org.eclipse.tracecompass.statesystem.core.tests/pom.xml
The file was modifiedanalysis/org.eclipse.tracecompass.analysis.os.linux.ui/pom.xml
The file was modifiedpcap/org.eclipse.tracecompass.tmf.pcap.ui.swtbot.tests/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.core.tests/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.remote.core.tests/pom.xml
The file was modifiedpcap/org.eclipse.tracecompass.pcap.core.tests/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/pom.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp.branding/META-INF/MANIFEST.MF
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.kernel.core/pom.xml
The file was modifiedanalysis/org.eclipse.tracecompass.analysis.os.linux.core/pom.xml
The file was modifiedgdbtrace/org.eclipse.tracecompass.gdbtrace.core/pom.xml
The file was modifiedpcap/org.eclipse.tracecompass.tmf.pcap.core.tests/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.remote.ui.tests/pom.xml
The file was modifiedpcap/org.eclipse.tracecompass.tmf.pcap.core/pom.xml
The file was modifiedbtf/org.eclipse.tracecompass.btf/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.kernel/feature.xml
The file was modifiedreleng/org.eclipse.tracecompass.target/pom.xml
The file was modifiedcommon/org.eclipse.tracecompass.common.core.tests/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control/feature.xml
The file was modifiedpcap/org.eclipse.tracecompass.tmf.pcap.ui/pom.xml
The file was modifiedreleng/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.kernel/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui/pom.xml
The file was modifiedgdbtrace/org.eclipse.tracecompass.gdbtrace.ui/pom.xml
The file was modifiedgdbtrace/org.eclipse.tracecompass.gdbtrace/feature.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests/pom.xml
The file was modifiedbtf/org.eclipse.tracecompass.btf.ui/pom.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp.branding/pom.xml
The file was modifiedanalysis/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.analysis.xml.ui/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.ust.ui.tests/pom.xml
The file was modifieddoc/org.eclipse.tracecompass.rcp.doc.user/pom.xml
The file was modifiedpcap/org.eclipse.tracecompass.tmf.pcap/feature.xml
The file was modifiedctf/org.eclipse.tracecompass.ctf/pom.xml
The file was modifiedcommon/pom.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp.branding/plugin.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf/feature.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.ust/pom.xml
The file was modifiedtmf/pom.xml
The file was modifiedgdbtrace/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.kernel.ui/pom.xml
The file was modifieddoc/org.eclipse.tracecompass.doc.dev/pom.xml
The file was modifieddoc/org.eclipse.tracecompass.tmf.pcap.doc.user/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.tmf.ctf/feature.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.analysis.xml.core/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.core/META-INF/MANIFEST.MF
The file was modifiedreleng/org.eclipse.tracecompass.alltests/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.remote/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.ust.core/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.tmf.ctf.core.tests/pom.xml
The file was modifiedpcap/org.eclipse.tracecompass.tmf.pcap/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.ctf.parser.tests/pom.xml
The file was modifieddoc/org.eclipse.tracecompass.doc.user/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.ust.core.tests/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.ctf.core/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.core.tests/pom.xml
The file was modifiedgdbtrace/org.eclipse.tracecompass.gdbtrace.core.tests/pom.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp.branding.feature/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.ctf.parser/pom.xml
The file was modifiedrcp/org.eclipse.tracecompass.rcp.branding.feature/feature.xml
The file was modifieddoc/org.eclipse.tracecompass.doc.dev/META-INF/MANIFEST.MF
The file was modifiedrcp/org.eclipse.tracecompass.rcp.ui/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/pom.xml
The file was modifiedpcap/org.eclipse.tracecompass.pcap.core/pom.xml
The file was modifiedreleng/org.eclipse.tracecompass.releng-site/pom.xml
The file was modifiedlttng/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.remote/feature.xml
The file was modifiedstatesystem/org.eclipse.tracecompass.statesystem.core/pom.xml
The file was modifiedbtf/pom.xml
The file was modifiedbtf/org.eclipse.tracecompass.btf.core.tests/pom.xml
The file was modifiedctf/org.eclipse.tracecompass.ctf/feature.xml
The file was modifiedpom.xml
The file was modifieddoc/org.eclipse.tracecompass.gdbtrace.doc.user/pom.xml
The file was modifiedreleng/org.eclipse.tracecompass.testing/feature.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.kernel.core/META-INF/MANIFEST.MF
The file was modifiedctf/org.eclipse.tracecompass.tmf.ctf.core/pom.xml
Commit 52ea1259fc504c1c4e05764cbc38b7aaee9270c1 by Bernd Hufmann
control: Bug 489857: Fix live mode support for LTTng 2.4

Live streaming was added in 2.4.x. Since we can't retrieve whether
a session is live or not from a 2.4.x node, we copy the information
over from the session information at session creation time.

Note that this information gets lost when the user presses the refresh
button or restarts or Trace Compass.

For LTTng 2.5.0 and later it's possible to retrieve this information.
So we don't need copy this at creation time. This will make sure that
the session is recognized as live after a Trace Compass restart or a
refresh.

Change-Id: I4f07e0502de9c858a614946640305fbbcc8c27f6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68685
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/69000
Reviewed-on: https://git.eclipse.org/r/69074
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.ui/pom.xml
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.ui/META-INF/MANIFEST.MF
The file was modifiedlttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/model/impl/TraceSessionComponent.java
Commit 27411992e69ed9e70e81355e3d4fd1527a06b9cd by Marc-Andre Laperle
tmf: enable and fix o.e.tc.tmf.ui.tests.trace test cases

Change-Id: I19aa42577be1d1c7056299d8d29d7e9fa768257f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/60733
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/69081
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
(cherry picked from commit 2d3a60ecdd7337480521731ae8b5484fafccf427)
Reviewed-on: https://git.eclipse.org/r/69094
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceBadlyFormedTest.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/AbstractCustomTraceIndexTest.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceInvalidTest.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/AllTmfUITests.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomXmlTraceTest.java
Commit 1501b2fd31b8fdfbe0ffb0c3a37828a053c246b8 by Patrick Tasse
tmf: Bug 489971: Premature processing of payload in custom parser

Change-Id: Ia4fdfb23352df5761e370e198f3d986eb5cfc9df
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/69059
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/trace/CustomTxtIndexTest.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomEvent.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtTrace.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui.tests/tracesets/txt/testTxtDefinition.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomXmlTrace.java
Commit 12b87dc1accd4952ee637425174846043dc0ebd6 by Marc-Andre Laperle
releng: Target update for Mars.2

-Update 4.5 target with final Mars.2 update sites, use
non-composite where possible as they should not change (speeds up
dependency resolution)
-Build with 4.5 target by default

Change-Id: I39db87c315e7ee94a33c8b6c99b45ab86c81b1ad
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68843
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/69177
The file was modifiedreleng/org.eclipse.tracecompass.target/tracecompass-e4.5.target
The file was modifiedpom.xml