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

Bug 366425

Summary: Verify end to end tests
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: Krzysztof Daniel <krzysztof.daniel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, irbull, john.arthorne, krzysztof.daniel, pwebster
Version: 3.8.0 Juno   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: stalebug
Bug Depends on: 366540    
Bug Blocks:    

Description DJ Houghton CLA 2011-12-12 10:50:13 EST
We have p2 tests which run end-to-end scenarios including installing, updating, rollback, etc. We need to review these tests and ensure we are pointing at the Juno repos.
Comment 1 DJ Houghton CLA 2011-12-13 06:29:30 EST
John, do you think that it is useful having the "install 3.5 and update to 3.6 then rollback to 3.5" tests (up to and including current versions) or should we just focus on the most recent versions?
Comment 2 DJ Houghton CLA 2011-12-13 08:37:31 EST
Actually nevermind. I think I have the old scenarios all working so as long as that's the case, it is worth having them around.
Comment 3 DJ Houghton CLA 2011-12-13 09:17:43 EST
I've got all the tests working and entered bug 366540 to ensure the proper Platform zip files are on the test machines so we can run them. 

In the meantime I have disabled the end-to-end tests as they would fail without the proper archives being available.
Comment 4 John Arthorne CLA 2011-12-13 14:20:20 EST
(In reply to comment #1)
> John, do you think that it is useful having the "install 3.5 and update to 3.6
> then rollback to 3.5" tests (up to and including current versions) or should we
> just focus on the most recent versions?

No, I don't see any point to having that in the build, since it's not testing anything in the build itself. I think the only interesting automated test scenario is 3.7->latest build and back. We know all the scenarios on the old releases work so there isn't any value to keep testing them (and probably add a lot of extra time to our test execution)
Comment 5 DJ Houghton CLA 2011-12-13 16:17:59 EST
John and I talked about this and there are 3 scenarios:

1). Use the current build's director to provision a 3.x build and then use that build to perform updates, rollbacks, etc. (basically validate that the initial install was ok) This is still a valid scenario and we should keep these tests. (End2EndTest*)

2). The FromXToY tests take a 3.5 archive, perform an update to 3.6, then perform a rollback. This is only interesting for the most recent build because that is the only place the code is changing.

3). The InstallXFromY tests take a 3.5 archive and use it to install 3.6. This is only interesting for the most recent build, as well.
Comment 6 DJ Houghton CLA 2011-12-14 11:51:56 EST
Ok, i've fixed the tests and now there are less hard-coded values. As long as the properties passed in by the builder are updated, they should be ok.

The tests are currently disabled until the dependent bug is fixed.
Comment 7 Ian Bull CLA 2012-03-14 00:57:49 EDT
DJ, are you planning on doing anything here?
Comment 8 DJ Houghton CLA 2012-03-14 09:16:52 EDT
I think all the work in the tests is done. We just need the extra property value (and corresponding zip) to be set in the build and we can re-enable them.
Comment 9 John Arthorne CLA 2012-05-03 14:18:55 EDT
Given the state of our builds I don't see this happening for Juno.
Comment 10 Krzysztof Daniel CLA 2013-11-12 06:19:11 EST
*** Bug 414284 has been marked as a duplicate of this bug. ***
Comment 11 Krzysztof Daniel CLA 2013-11-12 06:22:50 EST
Ping.

It did not happen for Juno nor Kepler, but it definitely should be back for Luna (at least previous to current integration test).
Comment 12 Pascal Rapicault CLA 2014-05-05 10:21:42 EDT
Will not be addressed in Luna.
Comment 13 Eclipse Genie CLA 2018-10-22 17:38:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 14 Lars Vogel CLA 2019-09-04 01:53:03 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.