We're updating the issue view to help you get more done. 

Timing issue in integration.test_synapseutils_sync.test_syncToSynapse

Description

This shouldn't hold up release since the tests for 2.7 and 3.5 did pass but there appears to be an issue with the synapse sync tests:

https://travis-ci.org/zimingd/synapsePythonClient/jobs/243875419

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 ====================================================================== FAIL: integration.test_synapseutils_sync.test_syncToSynapse ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/nose/case.py", line 198, in runTest self.test(*self.arg) File "/home/travis/build/zimingd/synapsePythonClient/tests/integration/test_synapseutils_sync.py", line 92, in test_syncToSynapse assert_equals(len(orig_df), len(new_df)) nose.proxy.AssertionError: 3 != 2 -------------------- >> begin captured logging << -------------------- urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094855/bundle?mask=3075 HTTP/1.1" 200 388 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094856/bundle?mask=3075 HTTP/1.1" 200 386 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/entity/child HTTP/1.1" 404 89 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/externalFileHandle HTTP/1.1" 200 237 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/entity HTTP/1.1" 201 332 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "PUT /repo/v1/entity/syn10094857/annotations HTTP/1.1" 200 181 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/activity HTTP/1.1" 201 247 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "PUT /repo/v1/entity/syn10094857/generatedBy?generatedBy=9662225 HTTP/1.1" 200 247 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094857 HTTP/1.1" 200 336 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/entity/child HTTP/1.1" 404 89 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "GET /file/v1/entity/syn10094856/uploadDestination HTTP/1.1" 200 124 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/file/multipart?forceRestart=False HTTP/1.1" 201 129 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/file/multipart/1424792/presigned/url/batch HTTP/1.1" 201 366 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): s3.amazonaws.com urllib3.connectionpool: DEBUG: https://s3.amazonaws.com:443 "PUT /proddata.sagebase.org/1560252/f1f8054a-df35-4b47-9e0d-04cf56a06804/tmpwi8pt248.txt/1?Expires=1497661106&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20170617T004326Z&X-Amz-SignedHeaders=host&X-Amz-Expires=900&X-Amz-Credential=AKIAIV5XCDRXPWB67YRQ%2F20170617%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=e49f5025f3f76afffb8abda5ad9bb07b52cbc9694adf12dd19f97eb8122c72d1 HTTP/1.1" 200 0 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "PUT /file/v1/file/multipart/1424792/add/1?partMD5Hex=5afd068c472fe0f6cd04be56cf870bc0 HTTP/1.1" 201 89 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/file/multipart?forceRestart=False HTTP/1.1" 201 129 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "PUT /file/v1/file/multipart/1424792/complete HTTP/1.1" 201 153 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "GET /file/v1/fileHandle/15885079 HTTP/1.1" 200 317 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/entity HTTP/1.1" 201 326 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "PUT /repo/v1/entity/syn10094859/annotations HTTP/1.1" 200 182 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/activity HTTP/1.1" 201 299 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "PUT /repo/v1/entity/syn10094859/generatedBy?generatedBy=9662226 HTTP/1.1" 200 299 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094859 HTTP/1.1" 200 330 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/md5/5afd068c472fe0f6cd04be56cf870bc0 HTTP/1.1" 200 175 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094859/version/1/bundle?mask=3075 HTTP/1.1" 200 618 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/entity/child HTTP/1.1" 404 None urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "GET /file/v1/entity/syn10094855/uploadDestination HTTP/1.1" 200 124 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/file/multipart?forceRestart=False HTTP/1.1" 201 130 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/file/multipart/1424793/presigned/url/batch HTTP/1.1" 201 361 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): s3.amazonaws.com urllib3.connectionpool: DEBUG: https://s3.amazonaws.com:443 "PUT /proddata.sagebase.org/1560252/78fc52d4-1a3d-43b3-bd92-5939659172b9/tmpr3sjpz5p.txt/1?Expires=1497661109&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20170617T004329Z&X-Amz-SignedHeaders=host&X-Amz-Expires=900&X-Amz-Credential=AKIAIV5XCDRXPWB67YRQ%2F20170617%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=3acb96f94c00f6936f9bf36ebc4fbbf8cc94c58565b6da2e9290337126c5cb47 HTTP/1.1" 200 0 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "PUT /file/v1/file/multipart/1424793/add/1?partMD5Hex=cf7c1cd5d223ece101d841fb4be306a6 HTTP/1.1" 201 None urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/file/multipart?forceRestart=False HTTP/1.1" 201 130 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "PUT /file/v1/file/multipart/1424793/complete HTTP/1.1" 201 153 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "GET /file/v1/fileHandle/15885082 HTTP/1.1" 200 319 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/entity HTTP/1.1" 201 327 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "PUT /repo/v1/entity/syn10094861/annotations HTTP/1.1" 200 182 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "POST /repo/v1/activity HTTP/1.1" 201 324 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "PUT /repo/v1/entity/syn10094861/generatedBy?generatedBy=9662227 HTTP/1.1" 200 324 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094861 HTTP/1.1" 200 333 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/query?query=select%20id%2C%20name%2C%20nodeType%20from%20entity%20where%20entity.parentId%3D%3D%27syn10094855%27%20limit%201000%20offset%201 HTTP/1.1" 200 143 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/query?query=select%20id%2C%20name%2C%20nodeType%20from%20entity%20where%20entity.parentId%3D%3D%27syn10094856%27%20limit%201000%20offset%201 HTTP/1.1" 200 None urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094857/bundle?mask=3075 HTTP/1.1" 200 548 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): file-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://file-prod.prod.sagebase.org:443 "POST /file/v1/fileHandle/batch HTTP/1.1" 201 272 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.synapse.org urllib3.connectionpool: DEBUG: https://www.synapse.org:443 "GET / HTTP/1.1" 200 2891 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094859/bundle?mask=3075 HTTP/1.1" 200 700 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/query?query=select%20id%2C%20name%2C%20nodeType%20from%20entity%20where%20entity.parentId%3D%3D%27syn10094856%27%20limit%201000%20offset%203 HTTP/1.1" 200 None urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094857/version/1/generatedBy HTTP/1.1" 200 247 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094859/version/1/generatedBy HTTP/1.1" 200 299 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/query?query=select%20id%2C%20name%2C%20nodeType%20from%20entity%20where%20entity.parentId%3D%3D%27syn10094855%27%20limit%201000%20offset%202 HTTP/1.1" 200 None urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094857/version/1/generatedBy HTTP/1.1" 200 247 urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): repo-prod.prod.sagebase.org urllib3.connectionpool: DEBUG: https://repo-prod.prod.sagebase.org:443 "GET /repo/v1/entity/syn10094859/version/1/generatedBy HTTP/1.1" 200 299 --------------------- >> end captured logging << ---------------------

Environment

Status

Assignee

Ziming Dong

Reporter

Ziming Dong

Validator

Larsson Omberg

Fix versions

Priority

Major