Commit Graph

8498 Commits (5d80e1cd4e7bbff2d4c388daa83fa15a00ac7324)

Author SHA1 Message Date
Lukas Krejci 5d80e1cd4e
Change the default jwtproxy image to the latest one. (#16128)
Change the default jwtproxy image to the latest one.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2020-03-02 13:17:06 +01:00
Max Shaposhnik 9732139ab1
Add ability to set CPU limits/requests on the plugin containers
Co-authored-by: Sergii Leshchenko <sleshche@redhat.com>
2020-03-02 12:35:29 +02:00
Michal Vala 2ef1d2bfe4
watch mkdir pod logs (#16162)
Signed-off-by: Michal Vala <mvala@redhat.com>
2020-03-02 06:54:10 +01:00
Oleksii Kurinnyi 1c41d9ce75 fix UD branding
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2020-02-28 19:47:34 +02:00
Igor Ohrimenko 85f06bdaeb
[TS_SELENIUM] Move "@eclipse-che/api" from "devDependencies" to "dependencies" in the "e2e" project
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-28 18:19:17 +02:00
Oleksii Orel e59b582d87 added a port option
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-02-28 15:35:36 +02:00
Oleksii Orel 218d3b42c6 fix footer styles
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-02-28 15:35:36 +02:00
Oleksii Orel 679ab74379 fix proxy options
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-02-28 15:35:36 +02:00
Igor Ohrimenko 085770a460
[TS_SELENIUM] Change bindings scope of the "e2e" project (#16155)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-27 18:01:56 +02:00
Sergey Skorik ef89643756
[Selenium] Set application.confirmExit property to 'never' by default (#16146) 2020-02-27 17:04:14 +02:00
Michal Vala bffe11e227
Watch and provide startup logs (workspace + broker pods) (#16126)
* collect logs first

* very very rough log watching implementation, does not even work

Signed-off-by: Michal Vala <mvala@redhat.com>

* ok this should work

Signed-off-by: Michal Vala <mvala@redhat.com>

* cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* format

Signed-off-by: Michal Vala <mvala@redhat.com>

* simplify, get rid of custom input stream

Signed-off-by: Michal Vala <mvala@redhat.com>

* format

Signed-off-by: Michal Vala <mvala@redhat.com>

* start watching for logs later, when we know the machines we're interested in

Signed-off-by: Michal Vala <mvala@redhat.com>

* make waiting for containers to get the logs rather time based

Signed-off-by: Michal Vala <mvala@redhat.com>

* block closing only when workspace failure, reusing kubernetes threadpool... can this thing get any better?

Signed-off-by: Michal Vala <mvala@redhat.com>

* just some refactoring and cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* and format

Signed-off-by: Michal Vala <mvala@redhat.com>

* reading log input stream moved to LogWatcher and PodLongHandler is now responsible for handling just single log messages

Signed-off-by: Michal Vala <mvala@redhat.com>

* more precise checking for log error

Signed-off-by: Michal Vala <mvala@redhat.com>

* format

Signed-off-by: Michal Vala <mvala@redhat.com>

* make it possible to start the workspace in debug mode

Signed-off-by: Michal Vala <mvala@redhat.com>

* debug mode in devfile attributes

Signed-off-by: Michal Vala <mvala@redhat.com>

* get rid of inconsistent executor in KubernetesDeployments#watchLogs method

Signed-off-by: Michal Vala <mvala@redhat.com>

* log and javadoc fixes

Signed-off-by: Michal Vala <mvala@redhat.com>

* nullcheckcs for the devfile and fix tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* better logs

Signed-off-by: Michal Vala <mvala@redhat.com>

* add few tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* LogWatcher tests first batch

Signed-off-by: Michal Vala <mvala@redhat.com>

* remove unused imports

Signed-off-by: Michal Vala <mvala@redhat.com>

* bit reworked container logwatch

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix missing license headers

Signed-off-by: Michal Vala <mvala@redhat.com>

* equals, hashCode and toString

Signed-off-by: Michal Vala <mvala@redhat.com>

* that's not probably needed

Signed-off-by: Michal Vala <mvala@redhat.com>

* review fixes, simplify code, better variable names

Signed-off-by: Michal Vala <mvala@redhat.com>

* we don't need distinct on Set

Signed-off-by: Michal Vala <mvala@redhat.com>

* add rest param to watch the workspace pod logs

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix and add tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* return when finish with watching logs

Signed-off-by: Michal Vala <mvala@redhat.com>

* test successful ended container log watch

Signed-off-by: Michal Vala <mvala@redhat.com>

* simplify

Signed-off-by: Michal Vala <mvala@redhat.com>

* comment up

Signed-off-by: Michal Vala <mvala@redhat.com>

* tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* PodLogHandlerToEventPublisherTest

Signed-off-by: Michal Vala <mvala@redhat.com>

* make debug workspace start query param lowercase

Signed-off-by: Michal Vala <mvala@redhat.com>

* hold sharedpool object in namespace/project factories

Signed-off-by: Michal Vala <mvala@redhat.com>

* watch plugin broker logs

Signed-off-by: Michal Vala <mvala@redhat.com>

* synchroinze closing and adding container log watchers, wait before close on error

Signed-off-by: Michal Vala <mvala@redhat.com>

* synchronize new logwatch with closing

Signed-off-by: Michal Vala <mvala@redhat.com>

* add missing license header

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix logwatch close test

Signed-off-by: Michal Vala <mvala@redhat.com>

* get startOptions down to broker deploy to tell wether we want to watch the logs

Signed-off-by: Michal Vala <mvala@redhat.com>

* Update infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/KubernetesDeployments.java

Co-Authored-By: Angel Misevski <amisevsk@redhat.com>

* Update infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/log/LogWatcher.java

Co-Authored-By: Angel Misevski <amisevsk@redhat.com>

* review fixes

Signed-off-by: Michal Vala <mvala@redhat.com>

* aaand format

Signed-off-by: Michal Vala <mvala@redhat.com>

* timeoutes to constants

Signed-off-by: Michal Vala <mvala@redhat.com>

* remove unnecessary AtomiBoolean, synchronize creating LogWatch, and few more review fixes

Signed-off-by: Michal Vala <mvala@redhat.com>

* limit log inputstream size to be safe

Signed-off-by: Michal Vala <mvala@redhat.com>

* remove logwatch TODO, which is fixed now

Signed-off-by: Michal Vala <mvala@redhat.com>

* don't need AtomicBoolean, extra options isEmpty check, some javadoc

Signed-off-by: Michal Vala <mvala@redhat.com>

Co-authored-by: Angel Misevski <amisevsk@redhat.com>
2020-02-27 15:16:37 +01:00
Katerina Foniok 60360aed33
Switch application.confirmExit in tests to never by default (#16142)
* Enabling TLS requests from self-signed-cert URLs
2020-02-27 15:17:18 +02:00
Sergii Kabashniuk 89fecc09c0
Fix of memory leak that happened in EventService (#16148)
* Fix of memory leak that happened in EventService

In happened because we add untyped lambda and never remove it from EventService
2020-02-27 12:03:32 +01:00
Anatolii Bazko f12d57c6b4
Update but_report template (#16143)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-02-27 08:44:23 +02:00
Max Shaposhnik 430c2d3632
Fix accepting factory with git suffixed repository URL 2020-02-27 08:42:38 +02:00
Dmytro Nochevnov 55c827f53e
Cleanup nightly/pre-release/master tests Jenkins pipelines (#16147)
* Cleanup nightly/pre-release/master tests Jenkins pipelines
* Fix screencast creation in Happy Path tests

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-02-27 02:02:28 +02:00
Mykola Morhun 98b36c7f1e
Move cert-manager related templates into Che repository (#16144)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-02-26 17:28:40 +02:00
Oleksii Orel 2d418666a5 fix the get starting page title
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-02-26 13:15:50 +02:00
Mykola Morhun 579cb67548
Remove selfSignedCertSecretName property (#15878)
* Remove selfSignedCertSecretName property

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-02-26 11:26:31 +02:00
Maxim Musienko 3af3742d6f
Add new test for checking git plus ssh workflow (#15561)
Add new test for checking Git plus SSH workflaw
2020-02-25 19:16:53 +02:00
Igor Ohrimenko 68ac4db40f
Use 80.0 Chrome driver in typescript selenium tests (#16116)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-25 10:53:40 +02:00
Aleksandr Shmaraiev 0ca6f6e5a2
Tests E2E: Get rid of temporal admin in test which checks installation by OperatorHub (#16118)
* Modified 'TestConstants' file
* Renamed 'OcpLoginByTempAdmin' to 'OcpUserLoginPage' file
* Modified pageobjects related to changes
2020-02-25 10:12:47 +02:00
Sergii Kabashniuk c88df786e1
Make embedded OAuth authentication model default for both singe and multiuser che && allow to get OAuth token with machine token (#15705)
* Make embedded OAuth authentication model default for both singe and multiuser che
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>

* Allow to get oauth tokens with machine tokens

Co-authored-by: Oleksii Kurinnyi <okurinny@redhat.com>
2020-02-25 08:13:03 +01:00
Michal Vala 0c474ad679
genclass package typo (#16099)
Signed-off-by: Michal Vala <mvala@redhat.com>
2020-02-24 12:48:22 +01:00
Sergey Skorik b40f8ab086
[Selenium] Fix storing selenium tests results to artifacts.ci.centos.org (#16106)
[Selenium] Fix storing selenium tests results to artifacts.ci.centos.org
2020-02-23 12:49:55 +02:00
Mykhailo Kuznietsov cab86aa237
Fix release scripts to update endpoint-watcher tag (#16095)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-02-21 13:20:56 +02:00
Tibor Dancs 47630855dd
Implement Python Django devfile test (#15831) 2020-02-20 23:26:31 +02:00
Mykhailo Kuznietsov c3f09baac0
[release] Bump to 7.10.0-SNAPSHOT in master branch (#16081)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-02-20 12:28:58 +02:00
Aleksandr Shmaraiev 0eb48584ef
Add scripts to launch 'che-rc' jobs on the 'centos-ci' (#16039) 2020-02-20 11:02:41 +02:00
Dmytro Nochevnov 7c1a997eef Store kubectl events into events.json 2020-02-19 21:33:37 +01:00
Radim Hopp 33b377188f Store events in JSON format to get more info.
Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-02-19 21:33:37 +01:00
Maxim Musienko 980be4ce44
Add cico script for checking CHE hotupdate (#16020)
* add --fail-script-on-failed-tests params to the associated tests script
2020-02-19 12:31:04 +02:00
Angel Misevski 444378684f Update plugin brokers to v3.1.1
Brokers update includes fix to warn user when multiple plugins embed the
same plugin (which can cause plugins to fail).

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2020-02-18 07:45:28 -05:00
Sergey Skorik 119709139f
[Selenium] Stabilize selenium tests on Centos CI (#16055) 2020-02-17 17:55:37 +02:00
Dmytro Nochevnov 6a53613789
Add '--insecure-skip-tls-verify' option when login to minishift in test scripts (#16044)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-02-17 11:02:22 +02:00
Sergii Kabashniuk 1b4195e5b2
Do not recover runtime if environment factory is no longer available (#16027) 2020-02-15 10:28:05 +01:00
Lukas Krejci 193e64befc
Inject pods into other deployments (#15890)
Introduce a concept of injectable pod that provisioners can add to the environment. Such pods are merged into the pods that require them.

Use the injectable pods as a new way of deploying JWT proxy that becomes part of the workspace pod.

Secure servers are no longer exposed using services and JWT proxy proxying to those services. Rather, the JWT proxy assumes the secure servers listen on localhost and proxies the localhost on given port directly, taking advantage of the fact that it is inside the workspace pod.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2020-02-15 02:42:15 +01:00
Oleksii Orel 24da259b00
Improved messages for self-signed cert issues (#15951)
* Improved messages for self-signed cert issues

Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-02-14 19:13:30 +02:00
Sergey Skorik f01869fdd8
[Selenium] Stabilize selenium tests (#16023) 2020-02-14 17:35:37 +02:00
Maxim Musienko cac70f2712
Fix storing artifacts for happy-path-test (#16035)
* Add handling after failures
2020-02-14 14:11:00 +02:00
Maxim Musienko 67039daf73
Find solution for the correct behavior of CentOS job for checking devfile (#16033)
* setup failure trigger
2020-02-14 14:09:08 +02:00
Oleksii Kurinnyi fdb3c2f9ba
[UD] Add Temporary Storage toggle button to Get Started page (#16016)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2020-02-14 11:43:46 +02:00
Dmytro Nochevnov 06b84a6f06
Ignore ssl certificate errors in e2e tests (#16036)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-02-13 23:01:27 +02:00
Dmytro Nochevnov f934369884
Fix expected status bar message in devfile e2e tests (#16034)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-02-13 23:00:18 +02:00
Igor Ohrimenko 4cf7e65eb2
[TS_SELENIUM] Add methods for receiving and waiting text from the DOM based terminal. (#16025)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-13 20:24:09 +02:00
Igor Ohrimenko 6b43c632bc
[TS_SELENIUM] Fix E2E tests failed on "Language server validation" step (#16031)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-13 19:11:28 +02:00
Maxim Musienko 8eefc8ab12
Add script for the launching devfiles testsuite (#15972)
* add script for testing devfile
2020-02-13 17:27:55 +02:00
Radim Hopp ad91e77d13 Add "build" PR check.
Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-02-13 16:03:53 +01:00
Dmytro Nochevnov 980379f386
Fix Centos CI build to be green if java selenium tests passed (#16013)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-02-13 14:49:34 +02:00
Igor Ohrimenko c6c49c9d8d
Update code owners list regarding e2e tests (#16005) 2020-02-13 10:40:34 +02:00