Kaloyan Raev
099cf921d3
Fix flaky audit test ( #2093 )
...
* Show full unexpected error when assertion fails
* restart jenkins
* restart jenkins
* restart jenkins
* restart jenkins
* Even better display of the unexpected error
* Fix flakiness using kaloyan-raev/errs fork
* Add more logs
* restart jenkins
* restart jenkins
* Better print for unexpected errors
* "error" instead of "err"
* restart jenkins
* Switch to zeebo/errs v1.2.0
* restart jenkins
* restart jenkins
* restart jenkins
* restart jenkins
* restart jenkins
* restart jenkins
* Remove some extra logs
* restart jenkins
2019-06-05 12:33:35 -06:00
JT Olio
f1641af802
storage: add monkit task to missing places ( #2122 )
...
* storage: add monkit task to missing places
Change-Id: I9e17a6b14f7c25bbf698eeecf32785e9add3f26e
* fix tests
Change-Id: Id078276fa3de61a28eb3d01d4e751732ecbb173f
* import order
Change-Id: I814e33755b9f10b5219af37cd828cd75eb3da1a4
* remove part of other commit
Change-Id: Idaa4c95cd65e97567fb466de49718db8203cfbe1
2019-06-05 16:23:10 +02:00
JT Olio
9c5708da32
pkg/*: add monkit task to missing places ( #2109 )
2019-06-04 13:36:27 +02:00
Kaloyan Raev
2ab95b533e
Check errors for possible outcomes from audit's DownloadShares ( #2072 )
2019-06-03 12:17:09 +03:00
Maximillian von Briesen
294fddcece
Add audit monkit stats ( #2087 )
2019-05-31 16:46:25 -04:00
Fadila
5b730e3073
Make maxReverifyCount configurable ( #2071 )
...
* make max reverify count configurable
2019-05-31 17:23:00 +02:00
ethanadams
16e3b77cf5
Enable Scopelint Linter ( #2049 )
...
* added scopelint and correcte issues found
* corrected scopelint issue
* made updates based on Ivan's suggestions
Most were around naming conventions
Some were false positives, but I kept them since the test.Run could eventually be changed to run in parallel, which could cause a bug
Others were false positives. Added // nolint: scopelint
2019-05-29 09:30:16 -04:00
ethanadams
268dc6b7e4
Enable gocritic linter ( #2051 )
...
* first round cleanup based on go-critic
* more issues resolved for ifelsechain and unlambda checks
* updated from master and gocritic found a new ifElseChain issue
* disable appendAssign. i reports false positives
* re-enabled go-critic appendAssign and disabled lint check at code line level
* fixed go-critic lint error
* fixed // nolint add gocritic specifically
2019-05-29 09:14:25 -04:00
Natalie Villasana
aa6ff17b70
add Reverify to auditing ( #2041 )
...
Co-authored-by: Maximillian von Briesen <mobyvb@gmail.com>
Co-authored-by: Kaloyan Raev <kaloyan@storj.io>
2019-05-27 14:13:47 +03:00
Ivan Fraixedes
5c50aac661
pkg/audit: Readdress ignored Verifier tests ( #2048 )
2019-05-24 19:57:07 +03:00
Natalie Villasana
e862382a6f
rename audit.RecordAuditsInfo to audit.Report ( #2044 )
...
* rename RecordAuditsInfo to Report
* change comment
2019-05-24 00:32:19 +02:00
Kaloyan Raev
de8070730a
Save hash of expected share from missing audited node ( #2025 )
2019-05-23 16:07:19 -04:00
Natalie Villasana
8b31c4b91f
remove unnecessary containmentDB wrapper ( #2027 )
2019-05-23 10:37:23 -04:00
Natalie Villasana
acfb59ae48
adds db layer functions for containment ( #1972 )
2019-05-22 10:50:22 -04:00
Bill Thorp
b23afb7aaa
remove downloader from verifier ( #1983 )
...
* remove downloader from verifier
2019-05-17 14:48:32 -04:00
Natalie Villasana
edd0a880ec
Removes 0 offline nodes assertion from verifier test ( #1982 )
2019-05-17 15:24:23 +03:00
Maximillian von Briesen
2ee390d07d
check results in verifier test ( #1956 )
2019-05-13 18:43:24 -04:00
Maximillian von Briesen
900ede151a
do not return error if no stripe in audit selection ( #1867 )
2019-05-01 14:59:30 -04:00
Maximillian von Briesen
50a0bffa0a
Improve audit cursor NextStripe ( #1821 )
2019-04-25 11:43:26 -04:00
Michal Niewrzal
fe3dfc1587
Move pointerdb.Service to satellite ( #1826 )
2019-04-25 10:46:32 +02:00
Egon Elbre
274fd53ace
Skip verifier tests early ( #1793 )
2019-04-22 15:14:59 +03:00
Kaloyan Raev
8fc5fe1d6f
Refactor pb.Node protobuf ( #1785 )
2019-04-22 12:07:50 +03:00
Maximillian von Briesen
b29d875326
Enable TestGetShareTimeout ( #1774 )
2019-04-22 08:54:08 +03:00
Kaloyan Raev
bfdee78f05
Introduce NodeDossier type and cleanup overlay.DB interface ( #1626 )
...
Co-authored-by: Natalie Villasana <navillasa@gmail.com>
Co-authored-by: Bill Thorp <bill3000@hotmail.com>
2019-04-04 19:34:36 +03:00
JT Olio
f96724df91
Forward port Bill and Stefan's changes to master ( #1590 )
...
* timeout calculation
* Initial Migration Draft to wipe the network gracefully (#1578 )
* Initial Migration Draft to wipe the network gracefully
* Change from DATE to UNIX Timestamp (INT)
* SQL Derps
* Remove Satellite Migration - gets done manually
* Move from possible STRING to INT Vars
* Add TestTable for Migration Tests
* Adjust Test data
* Update TestData Part 2
* Update Wipeout to 28th 00:00
* merge spelling
2019-04-03 19:17:29 +02:00
Natalie Villasana
e2a43c3fb6
adds defer close for node conn in audit verifier ( #1634 )
2019-04-03 09:42:24 -04:00
Natalie Villasana
2aeab10d50
skips flaky audit verifier test ( #1645 )
2019-04-02 13:44:33 -04:00
Natalie Villasana
c7c6d3d597
skips flaky TestGetShareTimeout ( #1635 )
2019-04-02 09:16:13 -04:00
Natalie Villasana
42a141965d
fixes infinite loop in audit TestVerifierHappyPath ( #1617 )
2019-04-01 17:27:07 -04:00
Michal Niewrzal
f80750693c
Store bandwidth from orders on satellite ( #1586 )
2019-04-01 16:14:58 -04:00
littleskunk
43ef0eb4c3
Don't crash on audit and repair failures ( #1622 )
...
* Fix satellite crash on repair
(cherry picked from commit cabf6c9f97780f900d76e2388ffa54b916f14528)
* Fix satellite crash on audit
(cherry picked from commit 9da67488c4b36a378f346fbb27651316284b0f36)
2019-04-01 11:16:17 +02:00
Egon Elbre
872bd5d7c1
Remove pointerdb.Server ( #1609 )
2019-03-30 13:21:49 +02:00
Kaloyan Raev
f9ba935286
Merge overlay_cache_nodes into nodes table ( #1581 )
2019-03-29 10:53:43 +02:00
Egon Elbre
be06fdfd6c
Create orders.Service ( #1593 )
2019-03-28 22:09:23 +02:00
Bill Thorp
40e7fae564
not overflow int32 ( #1594 )
2019-03-28 13:08:32 +02:00
Kaloyan Raev
d1639c4157
Merge statdb pkg into overlay pkg ( #1570 )
2019-03-25 18:25:09 -04:00
Bill Thorp
dbd97aaaf9
SNs should NOT be audited for expired segments ( #1559 )
...
delete expired pointers during audit
2019-03-23 06:52:51 -04:00
Egon Elbre
694b6dc1da
make tests run faster ( #1553 )
2019-03-22 15:14:17 +02:00
Natalie Villasana
e390605b81
rearranges code in verifier.go ( #1529 )
2019-03-20 11:54:37 +01:00
Natalie Villasana
a09f568fdb
audit service won't hang on bad storage node conns ( #1503 )
2019-03-19 13:37:26 -04:00
Egon Elbre
05d148aeb5
Storage node and upload/download protocol refactor ( #1422 )
...
refactor storage node server
refactor upload and download protocol
2019-03-18 12:55:06 +02:00
Natalie Villasana
036b2f3b49
allocates 1kb for audit bandwidth agreements instead of 256kb ( #1404 )
2019-03-05 18:58:25 -05:00
Bill Thorp
373b301736
BWA aliases ( #1333 )
...
aliased RBAs and PBAs
2019-02-22 16:17:35 -05:00
Natalie Villasana
c3d3f41d30
removes some SignedMessage use ( #1258 )
...
Removes most instances of pb.SignedMessage (there's more to take out but they shouldn't hurt anyone as is).
There used to be places in psserver where a PieceID was hmac'd with the SatelliteID, which was gotten from a SignedMessage. This PR makes it so some functions access the SatelliteID from the Payer Bandwidth Allocation instead.
This requires passing a SatelliteID into psserver functions where they weren't before, so the following proto messages have been changed:
* PieceId - satellite_id field added
This is so the psserver.Piece function has access to the SatelliteID when it needs to get the namespaced pieceID.
This proto message should probably be renamed to PieceRequest, or a new PieceRequest message should be created so this isn't misnamed.
* PieceDelete - satellite_id field added
This is so the psserver.Delete function has access to the SatelliteID when receiving a request to Delete.
2019-02-19 23:36:08 -06:00
Egon Elbre
9c1e299f3c
Ensure everyone sees everyone else ( #1275 )
2019-02-08 11:25:13 +02:00
Egon Elbre
94ee200e35
Ensure cursor tests run against postgres ( #1228 )
2019-02-05 17:45:09 +02:00
Egon Elbre
5a63c00442
Fix issues with blocking during startup ( #1212 )
2019-02-01 19:28:40 +02:00
Egon Elbre
7a85c5c1c6
Fix audit node ids ( #1207 )
2019-02-01 16:48:57 +02:00
Egon Elbre
d5346982c2
Delete provider package ( #1177 )
2019-01-30 22:47:21 +02:00
Egon Elbre
6132ce86b7
Remove utils.LogClose ( #1169 )
2019-01-29 22:42:27 +02:00