summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-27[refactor] split blobs into modulesVictor Shyba
So we can have manager, sync, sql and errors in its own places. --Related: #8970
2017-10-26remove platform packages for unsupported distributionsMicah Anderson
2017-10-26[pkg] Lintian: build-depends-on-obsolete-packageVarac
2017-10-26[pkg] Linitan: ignore newer-standards-versionVarac
2017-10-26[pkg] Fix lintian errorVarac
Fix this lintian error: 00:14:29 W: soledad source: maintainer-script-lacks-debhelper-token debian/soledad-server.postinst 00:14:29 N: 00:14:29 N: This package is built using debhelper commands that may modify 00:14:29 N: maintainer scripts, but the maintainer scripts do not contain the 00:14:29 N: "#DEBHELPER#" token debhelper uses to modify them. 00:14:29 N: 00:14:29 N: Adding the token to the scripts is recommended. 00:14:29 N: 00:14:29 N: Severity: normal, Certainty: possible 00:14:29 N: 00:14:29 N: Check: debhelper, Type: source 00:14:29 N:
2017-10-26Standards-Version 4.1.1, Ubuntu artful packageVarac
2017-10-23[bug] revert unintentional changes from last commitdrebs
2017-10-23[doc] add script for copying doc to leap_se repodrebs
2017-10-23[doc] small fixes in documentationdrebs
2017-10-17[ci] remove duplicated call to responsiveness testsdrebs
2017-10-17[ci] improve outlier detection outputdrebs
2017-10-16[ci] fix benchmarks jobs, remove wrong mark filteringdrebs
2017-10-16[bug] use all default server config valuesdrebs
Server config dictionary was being poorly updated, and not all default values were being added in runtime. This was mainly a problem in tests, but fixing may avoid possible bugs with this implementation in the future.
2017-10-16[ci] compare benchmark results with historydrebs
2017-10-12[test] remove now unneeded semaphored from benchmarksdrebs
With the introduction of semaphores in the blobmanager level, there's no need for them in the benchmark tests now.
2017-10-12[bug] limit number of concurrent requests to local dbdrebs
When running stress tests on blobs storage, we get weird errors when hundreds of requests are made concurrently to the sqlite backend. This commit adds a limit so only 10 requests will be delivered to the backend at a time.
2017-10-12[feature] make concurrent blob writes configurabledrebs
2017-10-11[bug] limit concurrent blob writes in serverdrebs
If there's no limit to the number of concurrent blob writes in the server, the maximum limit of open files will eventually be reached, and the processing of requests will start crashing. This commit adds a semaphore to limit the number of concurrent writes in the server. Related: #8973
2017-10-11[ci] avoid leaking secretsdrebs
With the set -o xtrace option all the variables are printed to stdout, thus leaking all secrets in the CI output. This commit removes that option from relevant scripts.
2017-10-11[doc] install deps from wheels when building docsdrebs
If pyzqm is built with --install-option, then all dependencies will be forced to install from source. By removing that option, we allow pip to use wheels.
2017-10-11[doc] add script to build docsdrebs
2017-10-10[test] add docstring for blobs testsdrebs
2017-10-10[test] fix blobs download benchmark testdrebs
2017-10-10[feature] log OS errors when writing blobsdrebs
2017-10-10[bug] handle put errors in the incoming blobs apidrebs
An errback was missing in the PUT renderer method of the incoming API. Because of that, requests to that endpoint were not being correctly finished in case of errors when writing blobs. That was causing delivery requests to hang until timeout. Closes: #8977
2017-10-09[ci] spit commands to stdout on ci shell scriptsdrebs
2017-10-09[pkg] add timestamps to packaging jobsdrebs
2017-10-09[test] only run benchmark stage on scheduled pipelinesdrebs
2017-10-09[doc] remove variable name from storage secret JSON exampledrebs
2017-10-09[test] rename blobs sqlite benchmarks filedrebs
2017-10-09[test] add blobs upload/download benchmarkdrebs
2017-10-09[test] run benchmarks only on schedules pipeline runsdrebs
2017-10-09[doc] add pipeline badge to readmedrebs
2017-10-06[pkg] change maintainer infoKali Kaneko
2017-10-06[pkg] add dependency to soledad-commonKali Kaneko
2017-10-06[doc] improve client usage exampledrebs
2017-10-06[doc] move compatibility notes from readme to documentation pagesdrebs
2017-10-06[test] fix script that runs benchmarksdrebs
2017-10-05[bug] fix retries for blobs downloaddrebs
- add a MaximumRetriesError exception to encapsulate other exceptions. - record the pending status before trying to download - modify update_sync_status to insert or update - modify retry tests to check number of retries - add a test for download retry limit
2017-10-05[bug] retry blob download for all retriable errorsdrebs
Because the exception catching was being made inside _download_and_decrypt() and only accounted for InvalidBlob exceptions, not all retriable errors would lead to an actual retry. This commit moves the exception catching to one level up and catches any kind of exception, as is done in the upload part. This allows for retrying on all retriable errors.
2017-10-05[tests] run benchmarks conditionallydrebs
2017-10-05[test] use template for ci benchmark jobsdrebs
2017-10-05[tests] move benchmarks back to their own stage in cidrebs
2017-10-05[bug] improve error message on blob download errordrebs
The previous error message had some problems: - the connection should not be a problem, as this is going over TCP. If the HTTP request was succesful, there's no reason to think its contents could have been corrupted by a connection problem. - I am not sure what's the best communication strategy here, but the real problem is either a bug or actual tampering, so i make this explicit. - A problem like this should be reported always, not only when the problem persists.
2017-10-05[bug] log the exception on blob download errordrebs
2017-10-05[bug] don't use hardcoded number of retries when downloading blobsdrebs
2017-10-05[style] use python3 compatible try/except syntaxdrebs
2017-10-05[bug] ensure maximum concurrency on blobs transferdrebs
The way in that concurrency limit was being enforced was such that transfer attempts were being spawned in groups of 3, and all of them had to finish before a new group could be spawned. This modification allows for use of maximum concurrency level at all times.
2017-10-05[style] param is not keyword argumentdrebs
2017-10-05[style] name keyword arguments in function callsdrebs