Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 485332

Summary: AbstractToolDescription_Precondition_AbstractVariable_Access_Tests.testSequenceSpecificsVariablesAccess() fails due to a regression in AQL
Product: [Modeling] Sirius Reporter: Maxime Porhel <maxime.porhel>
Component: CoreAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: florian.barbin
Version: unspecifiedKeywords: triaged
Target Milestone: 4.0.0M5   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Maxime Porhel CLA 2016-01-07 06:08:51 EST
org.eclipse.sirius.tests.unit.diagram.sequence.vsm.interpreted.expression.variables.AbstractToolDescription_Precondition_AbstractVariable_Access_Tests.testSequenceSpecificsVariablesAccess()  started to fail two days ago after some regen of our target platforms and/or the correction of the Acceleo nightly build publication.

The test fails on our Gerrit jobs and make all reviews get -1.

It appears that the issue is caused by a regression in org.eclipse.acceleo.query.runtime.impl.EvaluationServices.getVariableValue which now returns an Nothing object with a "variable not found" diagnostic error for variables with a null value.
Comment 1 Maxime Porhel CLA 2016-01-07 06:09:23 EST
See correction and test in https://git.eclipse.org/r/#/c/63700/
Comment 2 Maxime Porhel CLA 2016-01-07 09:02:47 EST
Tests and gerrit jobs are now ok.

Fixed by the following commit in AQL: http://git.eclipse.org/c/acceleo/org.eclipse.acceleo.git/commit/?id=d19f1c1c64970feb88e11d6caa4c6a77261d50a2
Comment 3 Florian Barbin CLA 2016-05-20 11:12:21 EDT
Test fixed on master
Comment 4 Pierre-Charles David CLA 2016-06-24 08:01:20 EDT
Available in Sirius 4.0.0.