1
0
Fork 0
Commit Graph

1830 Commits

Author SHA1 Message Date
Wilfried Goesgens da88e49448 fix custom contenttype handling, set upload contenttype (#10318) 2019-10-28 17:36:36 +01:00
Wilfried Goesgens c8a2b554c6 Fix testresult (#10262) 2019-10-17 08:42:08 +02:00
Wilfried Goesgens 5ebd0d1964 add the ability to force the traffic from/to the server to be json, for better sniffeability (#10239) 2019-10-14 16:54:16 +02:00
Wilfried Goesgens 8ee56185b7 add option to talk to the SUT using VST (#10217) 2019-10-10 16:39:28 +02:00
Jan 79c3187036
fixed issue #10193 (#10195) 2019-10-09 10:54:40 +02:00
Wilfried Goesgens 6f289d03ce Bug fix/result evaluation test counting (#10176) 2019-10-08 11:14:08 +02:00
Wilfried Goesgens 823640e8f7 Feature/testing result evaluation (#10124) 2019-10-02 17:49:32 +02:00
Kaveh Vahedipour dc6dba27a2 add repository address normalisation (#10113)
* add repository address normalisation
2019-10-02 11:38:38 +02:00
Wilfried Goesgens 636b2e5d5f fixed version of arangosh result evaluation refactoring - properly count objects (#10080) 2019-09-26 12:07:52 +02:00
Dan Larkin-York a83c2323c9 Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
Jan Christoph Uhde 0b8c75c7b7 one shard db - devel (#9395) 2019-09-23 15:48:37 +02:00
Wilfried Goesgens d71ae10804 only forcibly kill other processes, not coredump them (#10023) 2019-09-17 00:16:46 +03:00
Jan 6a37e3c8f6 naive attempt to not build arangobackup in community version (#10012)
* naive attempt to not build arangobackup in community version

* fix testing.js

* try to fix enterprise detection
2019-09-13 20:26:15 +03:00
KVS85 4fc39dd4b3
Debug segfault reimplementation (#9940)
* Changed debugSegfault to debugTerminate

* Fix *nix compilation

* More data for broken reconnect

* Remove circumventCores completely

* Fix forgotten calls
2019-09-09 23:07:45 +03:00
Wilfried Goesgens 8d1b74fc3f though they don't need an app dir, give each its own 2019-09-06 23:51:55 +02:00
Wilfried Goesgens 287488520d check for tests leaving views behind (#9907)
* check for tests leaving views behind

* cleanup

* Update js/client/modules/@arangodb/test-utils.js

Co-Authored-By: Michael Hackstein <michael@arangodb.com>
2019-09-06 13:54:26 +03:00
Heiko b9dd097f8d Bug fix/arangosh gharial vertex deletion (#9921)
* typo in route

* unused function removed

* added general graph standalone and cluster tests, formatting

* added changelog entry

* Update CHANGELOG

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* Update CHANGELOG

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* removed fail, removed print
2019-09-06 12:26:10 +02:00
Markus Pfeiffer 753ff4aa67 Feature/atomic database creation 2 (#9826) 2019-09-05 12:38:07 +02:00
KVS85 629baf5144 Fix rspec timeout in Windows with disableMonitor 2019-09-04 17:40:45 +02:00
jsteemann d1b1b6726f Revert "Feature/resource usage (#9647)"
This reverts commit 76afb5001e.
2019-09-03 12:48:02 +02:00
Wilfried Goesgens 76afb5001e Feature/resource usage (#9647)
* spawn an arangosh that checks cluster nodes are responsive

* attempting to kill 0 may end up bad for us, prohibit it

* don't trip over this optional stuff.

* fix killing of spectator

* only write one line per minute

* fix function name

* print sHitlist of tests, add resource usage

* fix lint

* start refactoring result processing into its own library

* /proc reading only works on linux

* new result processing library

* clean up test loading flow, remove unused blacklist implementation

* measure SUT start/stop + test time

* lint

* more non-test variables

* improve test runner naming

* finish gathering statistics about start/run/stop

* use internal stats code for external processes too

* fix status in sample testcase

* tell that procdump is gone - it seems this happenes in reality without coredumps being written

* refactor test result analyzing, add utility to work with analyzers of json dumps from CI systems

* fix testcase error handling

* also run watcher for agency

* lint

* fix default options for test added default options

* if arguments occur multiple times, update value to an array

* start implementing some test analyzers

* fix color

* write json report unconditional

* add analyzer that searches for long setup/teardown tests

* enable thread dump; log error if we fail to acquire the threads

* disable procdump for the agency

* output error if we fail to get process stats

* fix json invocation

* add debug logging

* only add buildType if that directory actually exists

* trap sleepers

* trap sleepers

* trap sleepers

* trap sleepers

* trap sleepers

* disable thread counting on the wintendo

* disable thread counting on the wintendo

* more measurements

* more measurements

* one more place

* one more place

* remove debugging code

* Update js/client/modules/@arangodb/process-utils.js

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* Update js/client/modules/@arangodb/process-utils.js

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* rename as sugested by @dan

* undo debug changes

* lint, make cluster health monitor optional per default

* fix spawning of active failover SUT, fix cluster health monitor shutdown

* use std::find_if (as @dan sugested), fix log ids

* fix scope of before-time
2019-08-30 16:20:07 +03:00
Frank Celler bf658c2c8d fixed coverage environment 2019-08-30 12:09:14 +02:00
Wilfried Goesgens 99af524dac tell that procdump is gone - it seems this happenes in reality without coredumps being written (#9748) 2019-08-19 17:55:51 +03:00
Wilfried Goesgens 9cc0c500e9 add to the health check to inspect cluster health that it has a GOOD for all our instances (#9631) 2019-08-14 10:25:02 +02:00
Frank Celler 8f050fc5d4 fixed missing reference 2019-08-13 14:09:04 +02:00
Frank Celler 1f37630aef fixed typo in test name 2019-08-13 12:16:00 +02:00
Frank Celler 68ea717af4
Feature/set environment (#9688) 2019-08-13 09:18:16 +02:00
KVS85 0c6d3b7ddc
Set jsunity output to gtest style (#9646)
* Set jsunity output to gtest style

* More pretty printing

* Fix jslint

* Remove unnecessary spaces
2019-08-07 22:37:00 +03:00
Lars Maier ed496fe5dd Feature/hotbackup devel (#9495)
Hotbackup
2019-08-02 11:39:46 +02:00
Wilfried Goesgens a951a9f6af fix runInArangosh result evaluation (#9588) 2019-07-29 20:42:48 +03:00
Jan 50f41cec59
added missing function db._transactions(), and equivalent REST API route GET /_api/transaction (#9571) 2019-07-26 16:20:28 +02:00
Matthew Von-Maszewski 91b56a50a3
Feature: Add gzip and encryption to import/export (#9560)
* port of feature-3.4/mv-gzip-export to devel branch

* add explicit namespaces so gcc 6.3.0 would successfully compile

* add conditional cleanup of ENCRYPTION file from another branch

* use _lseek() for Windows build to avoid deprecated warning.

* change from ifdef for lseek variants to TRI_LSEEK.

* force Windows lseek to return Linux expected type.
2019-07-26 07:53:39 -04:00
m0ppers 1430c38865 Remove documentation, now here: github.com/arangodb/docs (#8918)
DocuBlocks and Scripts remain in this repository!
2019-07-22 16:03:26 +02:00
Michael Hackstein cbcf561450
Feature/min replication factor (#9433)
* Added a minReplicationFactor field in Collections. It is not possible to modify it yet and noone cares for it

* Added some assertion son minReplicationFactor

* Transaction API will now reject writes as soon as minimal replication factor is NOT fulfilled

* added minReplicationFactor to the user interface, preparation for the collection api changes

* added minReplicationFactor to VocBaseCollection, RestReplicationHandler, RestCollectionHandler, ClusterMethods, ClusterInfo and ClusterCollectionCreationInfo

* added minReplicationFactor usage to tests

* TODO TEMOPORARY COMMIT FOR TESTING PLEASE REVERT ME

* minReplicationFactor now able to change via collection  properties route

* fixed wrongly assert

* added minReplicationFactor to the graph management ui

* added minReplicationFactor to the gharial api

* Fixed off-by-one error in minReplicationFactor. We actually enforced one more.

* adjusted description of minReplicationFactor

* FollowerInfo Refactoring

* added gharial api graph creation tests with minimal replication factor

* proper cleanup of shell collection tests, removed lots of duplicate code, preparation for some new tests

* added collection create tests using invalid/valid names, replicationFactor and minReplicationFactor

* Debug logging

* MORE Debug logging

* Included replication fast lane

* Use correct minreplicationfactor

* modified debug logging

* Fixed compileissues

* MORE Debug logging

* MORE Debug logging

* MORE Debug logging

* MORE Debug logging

* MORE Debug logging

* MORE Debug logging

* MORE Debug logging

* Revert "MORE Debug logging"

This reverts commit dab5af28c0.

* Revert "MORE Debug logging"

This reverts commit 6134b664bd.

* Revert "MORE Debug logging"

This reverts commit 80160bdf3b.

* Revert "MORE Debug logging"

This reverts commit 06aabcdfe1.

* Removed debug output

* Added replication fast lane. Also refactored the commands as i cannot take it any more...

* Put some requests of RocksDBReplication onto CATCHUP Lane.

* Put some requests of MMFilesReplication onto CATCHUP Lane.

* Adjusted Fast and MED lane usage in Supervised scheduler

* Added changelog entry

* Added new features entry

* A new leader will now keep old followers in case of failover

* Update arangod/Cluster/ClusterCollectionCreationInfo.cpp

Co-Authored-By: Tobias Gödderz <tobias@arangodb.com>

* Fixed JSLINT

* Unified lane handling of replication handlers

* Sorry forgotten in last commit

* replaced strings with static strings

* more use of static strings

* optimized min repl description in the ui

* decr initial loop variable

* clean up of the createWithId test

* more use of static strings

* Update js/apps/system/_admin/aardvark/APP/frontend/js/views/collectionsView.js

Co-Authored-By: Tobias Gödderz <tobias@arangodb.com>

* Added some comments on condition, renamed variable as suggested in review

* Added check for min replicationFactor to be non-zero

* Added assertion

* Added function to modify min and max replication factor in one go

* added missing semicolon

* rm log devel

* Added a second information to follower info that can keep track of followers that have been in sync before a failover has taken place

* Maintenance reports previous version now to follower info. instead of lying by itself. The Follower Info now gets a failover save mode to report insync followers

* check replFactor against nr dbservers

* Add lie reporting in CURRENT

* Reverted most of my recent commits about Failover situation. The intended plan simply does not work out

* move replication checks from logical collection to rest collection handler

* added more replication tests

* Include assert only if we are not in gtest

* jslint

* set min repl factor to zero if satellite collection

* check replication attributes in v8 collection

* fixed ires tests

* fixed wrong assert

* properly check uint

* repl factor attr check

* adjusted test to be more preciese now

* Fixed race on atomics comparison

* Fixed invalid number type

* Update tests/js/common/shell/shell-cluster-collection.js

Co-Authored-By: Tobias Gödderz <tobias@arangodb.com>

* Review fixes

* More review fixes
2019-07-19 13:02:28 +02:00
Wilfried Goesgens 2da0fb356d Feature/cleanup j client api (#9457) 2019-07-19 09:23:24 +02:00
Wilfried Goesgens 9449f6a85a migrate mochaGrep into --testCase parametrizing (#9438)
* migrate mochaGrep into --testCase parametrizing

* fix filter forwarding for spawned arangoshs - add mocha version

* sometimes we have the string undefined to ignore
2019-07-18 16:35:44 +03:00
Wilfried Goesgens 9042fed887 jslint is your friend. (#9508) 2019-07-18 14:51:34 +03:00
Wilfried Goesgens 9ea028871d Docs: improve the formatting of the batch request documentation (#9489) 2019-07-17 19:26:48 +02:00
Wilfried Goesgens 623048aff8 fix 6561f21536 - only abort on timeout, not regular exit failures (#9434)
* fix 6561f21536 - only abort on timeout, not regular exit failures

* make pre-check exception distinguishable, its got no ready existing test status
2019-07-10 18:48:46 +03:00
Wilfried Goesgens 0ad76a8185 fix location - while they work with the server these tests are run in arangosh so they need to be in client/ (#9435)
* fix location - while they work with the server these tests are run in arangosh so they need to be in client/

* rename testsuite

* rename file as its testsuite

* Rename permissions_server to server_permissions
2019-07-10 16:49:12 +03:00
Andrey Abramov b3690fc24f
bug-fix/internal-issue-#595 (#9440)
* address ASAN failures in tests

* Add --isAsan for testing.js

* Fix typo
2019-07-10 01:11:22 +03:00
KVS85 c05288fa59
Fix recovery tmp dir 2019-07-09 18:13:25 +03:00
Wilfried Goesgens c2b645062b if there is no testcase, we still 'splitted' the bucket (#9425) 2019-07-08 16:44:54 +03:00
Wilfried Goesgens 3599aedda1 Don't wait eternaly; don't unload collections with rocksdb (#9415) 2019-07-05 17:13:24 +02:00
Tobias Gödderz 96685618d6 Don't use non-existent variable (#9407) 2019-07-04 14:41:30 +02:00
Wilfried Goesgens 5bab188907 improve handling when procdump detects the process is dead (#9381) 2019-07-04 12:38:57 +02:00
Wilfried Goesgens 081e755b25 fix typo (#9400) 2019-07-03 16:17:55 +02:00
Wilfried Goesgens 61f3397e33 Feature/add tcpdump support (#9396) 2019-07-03 16:12:03 +02:00
Wilfried Goesgens 3f9b85967d apply filters before starting the server, so we can detect whether no test would be executed (#9387)
* apply filters before starting the server, so we can detect whether no test would be executed

* skipTimecritial and skipNondeterministic also qualify for non-errnous empty testcase

* simplify code, if  is issued no matching testcase is an error

* Update test-utils.js
2019-07-03 14:13:16 +02:00
Wilfried Goesgens 46479af842 keep coredump for reports (#9378) 2019-07-02 10:09:12 +02:00