Expired object is available #21

Closed
opened 2023-01-20 10:26:04 +00:00 by vkarak1 · 1 comment
vkarak1 commented 2023-01-20 10:26:04 +00:00 (Migrated from github.com)

Expired object can be downloaded via http. The test contains netmap info issued against each node to double check that epoch alignment is completed, and the result is epoch=71 for each node: "__NEOFS__EXPIRATION_EPOCH","value":"70"}

I have took a quick look and found the following:

  1. Object resides on nodes: 172.26.160.9, 172.26.160.155
  2. netmap epoch has been issued at 11:46:17 and the result was epoch=71
  3. Node 172.26.160.9 got epoch 71 at 11:46:34:
Jan 19 11:46:34 vedi neofs-ir[1807]: 2023-01-19T11:46:34.618Z        info        netmap/handlers.go:29        notification        {"type": "new epoch", "value": 71}
Jan 19 11:46:34 vedi neofs-node[6062]: 2023-01-19T11:46:34.618Z        info        neofs-node/morph.go:221        new epoch event from sidechain        {"number": 71}
  1. Node 172.26.160.155 got epoch 71 at 11:46:34:
Jan 19 11:46:34 glagoli neofs-ir[8407]: 2023-01-19T11:46:34.391Z        info        netmap/handlers.go:29        notification        {"type": "new epoch", "value": 71}
Jan 19 11:46:34 glagoli neofs-node[5606]: 2023-01-19T11:46:34.391Z        info        neofs-node/morph.go:221        new epoch event from sidechain        {"number": 71}
  1. Please find the results from netmap epoch:
**11:46:17** [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json'
Success:
return code: 0 
Output: 71

**11:46:17** [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json'
Success:
return code: 0 
Output: 71

Expected Behavior

Object should be unavailable

Current Behavior

Object could be successfuly downloaded

Steps to Reproduce (for bugs)

11:45:44 [INFO] Executing command: curl -F 'file=@/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/d4a361cf-6fc0-49b2-b944-9ab0dd7f744c;filename=d4a361cf-6fc0-49b2-b944-9ab0dd7f744c' -H 'X-Attribute-Neofs-Expiration-Duration: 20.0m' -H 'X-Attribute-Neofs-Expiration-Timestamp: 1674129344' http://172.26.160.68:8888/upload/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt
11:45:44 [INFO] Output:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1358  100   130  100  1228   2653  25061 --:--:-- --:--:-- --:--:-- 28291
{
	"object_id": "ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u",
	"container_id": "9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt"
}

11:45:45 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --json --ttl 1
Success:
return code: 0 
Output: {"objectID":{"value":"jFGMCMfORE9Ht1tX2KqOdJzryfVc3EABi8vjSmsmhTQ="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BFRyqHa1w0Zu7EyzaQuSyDNYOgtZM+s04om3mWPB4Q5xpNLcKYl88SHEFgvHU6TAIi+SKOsuwmaBY1YPjDzbj74=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"68","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"bDrby0IIE5UlPS/GUYv+YR4jtUL37cDBJH8k8/hfos8="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BPJ/0J4nT0MQNbUQLTjbhS7Q+tBNeTX3ZLwMoZomWEMY7QvkcqqIJZqAX72Hw7caIIGfeVd3QHrBDUgSUle5zT0=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"70"},{"key":"FileName","value":"d4a361cf-6fc0-49b2-b944-9ab0dd7f744c"},{"key":"Timestamp","value":"1674128764"}],"split":null},"payload":""}

11:45:46 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --json --ttl 1
Success:
return code: 0 
Output: {"objectID":{"value":"jFGMCMfORE9Ht1tX2KqOdJzryfVc3EABi8vjSmsmhTQ="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BFRyqHa1w0Zu7EyzaQuSyDNYOgtZM+s04om3mWPB4Q5xpNLcKYl88SHEFgvHU6TAIi+SKOsuwmaBY1YPjDzbj74=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"68","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"bDrby0IIE5UlPS/GUYv+YR4jtUL37cDBJH8k8/hfos8="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BPJ/0J4nT0MQNbUQLTjbhS7Q+tBNeTX3ZLwMoZomWEMY7QvkcqqIJZqAX72Hw7caIIGfeVd3QHrBDUgSUle5zT0=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"70"},{"key":"FileName","value":"d4a361cf-6fc0-49b2-b944-9ab0dd7f744c"},{"key":"Timestamp","value":"1674128764"}],"split":null},"payload":""}
11:45:46 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object get --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --file 'TemporaryDir/cd8eca36-8f19-4b5e-a326-a9d27945b0c4' --no-progress
11:45:46 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object get --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --file 'TemporaryDir/cd8eca36-8f19-4b5e-a326-a9d27945b0c4' --no-progress
Success:
return code: 0 
Output: [TemporaryDir/cd8eca36-8f19-4b5e-a326-a9d27945b0c4] Object successfully saved
ID: ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u
CID: 9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt
Owner: NUwX1iWwz6fEUtgbrzhogDWhdNq1hr9Sxg
CreatedAt: 68
Size: 1000
HomoHash: <empty>
Checksum: 6c3adbcb42081395253d2fc6518bfe611e23b542f7edc0c1247f24f3f85fa2cf
Type: REGULAR
Attributes:
  __NEOFS__EXPIRATION_EPOCH=70
  FileName=d4a361cf-6fc0-49b2-b944-9ab0dd7f744c
  Timestamp=1674128764 (2023-01-19 11:46:04 +0000 UTC)
ID signature:
  public key: 022aaa5ce1cc8388f2aef19a01c15dbd1798ffc5a5055e30b3428dc3689d37f004
  signature: 045472a876b5c3466eec4cb3690b92c833583a0b5933eb34e289b79963c1e10e71a4d2dc29897cf121c4160bc753a4c0222f9228eb2ec2668163560f8c3cdb8fbe

COMMAND:
 sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch 
RC:
 0
STDOUT:
 Current epoch: 68, increase to 69.
 Waiting for transactions to persist...

COMMAND:
 sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch 
RC:
 0
STDOUT:
 Current epoch: 68, increase to 69.
 Waiting for transactions to persist...

COMMAND:
 sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch 
RC:
 0
STDOUT:
 Current epoch: 70, increase to 71.
 Waiting for transactions to persist...

COMMAND:
 sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch 
RC:
 0
STDOUT:
 Current epoch: 70, increase to 71.
 Waiting for transactions to persist...

Start / End / Elapsed	 11:46:07.503138 / 11:46:15.718246 / 0:00:08.215108
11:46:16 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json'
Success:
return code: 0 
Output: 71

11:46:16 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json'
Success:
return code: 0 
Output: 71

11:46:16 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage.json'
Success:
return code: 0 
Output: 71

11:46:17 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json'
Success:
return code: 0 
Output: 71

11:46:17 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json'
Success:
return code: 0 
Output: 71

11:46:17 [DEBUG] Starting new HTTP connection (1): 172.26.160.68:8888
11:46:17 [DEBUG] http://172.26.160.68:8888 "GET /get/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt/ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u HTTP/1.1" 200 1000
11:46:17 [INFO] Request: http://172.26.160.68:8888/get/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt/ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u

Logs

Logs.zip

Expired object can be downloaded via http. The test contains `netmap info` issued against each node to double check that epoch alignment is completed, and the result is `epoch=71` for each node: `"__NEOFS__EXPIRATION_EPOCH","value":"70"}` I have took a quick look and found the following: 1. Object resides on nodes: 172.26.160.9, 172.26.160.155 2. `netmap epoch` has been issued at 11:46:17 and the result was `epoch=71` 3. Node 172.26.160.9 got epoch 71 at `11:46:34`: ``` Jan 19 11:46:34 vedi neofs-ir[1807]: 2023-01-19T11:46:34.618Z info netmap/handlers.go:29 notification {"type": "new epoch", "value": 71} Jan 19 11:46:34 vedi neofs-node[6062]: 2023-01-19T11:46:34.618Z info neofs-node/morph.go:221 new epoch event from sidechain {"number": 71} ``` 4. Node 172.26.160.155 got epoch 71 at `11:46:34`: ``` Jan 19 11:46:34 glagoli neofs-ir[8407]: 2023-01-19T11:46:34.391Z info netmap/handlers.go:29 notification {"type": "new epoch", "value": 71} Jan 19 11:46:34 glagoli neofs-node[5606]: 2023-01-19T11:46:34.391Z info neofs-node/morph.go:221 new epoch event from sidechain {"number": 71} ``` 5. Please find the results from `netmap epoch`: ``` **11:46:17** [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json' Success: return code: 0 Output: 71 **11:46:17** [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json' Success: return code: 0 Output: 71 ``` ## Expected Behavior Object should be unavailable ## Current Behavior Object could be successfuly downloaded ## Steps to Reproduce (for bugs) ``` 11:45:44 [INFO] Executing command: curl -F 'file=@/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/d4a361cf-6fc0-49b2-b944-9ab0dd7f744c;filename=d4a361cf-6fc0-49b2-b944-9ab0dd7f744c' -H 'X-Attribute-Neofs-Expiration-Duration: 20.0m' -H 'X-Attribute-Neofs-Expiration-Timestamp: 1674129344' http://172.26.160.68:8888/upload/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt 11:45:44 [INFO] Output: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1358 100 130 100 1228 2653 25061 --:--:-- --:--:-- --:--:-- 28291 { "object_id": "ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u", "container_id": "9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt" } 11:45:45 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --json --ttl 1 Success: return code: 0 Output: {"objectID":{"value":"jFGMCMfORE9Ht1tX2KqOdJzryfVc3EABi8vjSmsmhTQ="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BFRyqHa1w0Zu7EyzaQuSyDNYOgtZM+s04om3mWPB4Q5xpNLcKYl88SHEFgvHU6TAIi+SKOsuwmaBY1YPjDzbj74=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"68","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"bDrby0IIE5UlPS/GUYv+YR4jtUL37cDBJH8k8/hfos8="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BPJ/0J4nT0MQNbUQLTjbhS7Q+tBNeTX3ZLwMoZomWEMY7QvkcqqIJZqAX72Hw7caIIGfeVd3QHrBDUgSUle5zT0=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"70"},{"key":"FileName","value":"d4a361cf-6fc0-49b2-b944-9ab0dd7f744c"},{"key":"Timestamp","value":"1674128764"}],"split":null},"payload":""} 11:45:46 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --json --ttl 1 Success: return code: 0 Output: {"objectID":{"value":"jFGMCMfORE9Ht1tX2KqOdJzryfVc3EABi8vjSmsmhTQ="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BFRyqHa1w0Zu7EyzaQuSyDNYOgtZM+s04om3mWPB4Q5xpNLcKYl88SHEFgvHU6TAIi+SKOsuwmaBY1YPjDzbj74=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"68","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"bDrby0IIE5UlPS/GUYv+YR4jtUL37cDBJH8k8/hfos8="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BPJ/0J4nT0MQNbUQLTjbhS7Q+tBNeTX3ZLwMoZomWEMY7QvkcqqIJZqAX72Hw7caIIGfeVd3QHrBDUgSUle5zT0=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"70"},{"key":"FileName","value":"d4a361cf-6fc0-49b2-b944-9ab0dd7f744c"},{"key":"Timestamp","value":"1674128764"}],"split":null},"payload":""} 11:45:46 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object get --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --file 'TemporaryDir/cd8eca36-8f19-4b5e-a326-a9d27945b0c4' --no-progress 11:45:46 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object get --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid 'ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u' --file 'TemporaryDir/cd8eca36-8f19-4b5e-a326-a9d27945b0c4' --no-progress Success: return code: 0 Output: [TemporaryDir/cd8eca36-8f19-4b5e-a326-a9d27945b0c4] Object successfully saved ID: ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u CID: 9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt Owner: NUwX1iWwz6fEUtgbrzhogDWhdNq1hr9Sxg CreatedAt: 68 Size: 1000 HomoHash: <empty> Checksum: 6c3adbcb42081395253d2fc6518bfe611e23b542f7edc0c1247f24f3f85fa2cf Type: REGULAR Attributes: __NEOFS__EXPIRATION_EPOCH=70 FileName=d4a361cf-6fc0-49b2-b944-9ab0dd7f744c Timestamp=1674128764 (2023-01-19 11:46:04 +0000 UTC) ID signature: public key: 022aaa5ce1cc8388f2aef19a01c15dbd1798ffc5a5055e30b3428dc3689d37f004 signature: 045472a876b5c3466eec4cb3690b92c833583a0b5933eb34e289b79963c1e10e71a4d2dc29897cf121c4160bc753a4c0222f9228eb2ec2668163560f8c3cdb8fbe COMMAND: sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch RC: 0 STDOUT: Current epoch: 68, increase to 69. Waiting for transactions to persist... COMMAND: sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch RC: 0 STDOUT: Current epoch: 68, increase to 69. Waiting for transactions to persist... COMMAND: sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch RC: 0 STDOUT: Current epoch: 70, increase to 71. Waiting for transactions to persist... COMMAND: sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch RC: 0 STDOUT: Current epoch: 70, increase to 71. Waiting for transactions to persist... Start / End / Elapsed 11:46:07.503138 / 11:46:15.718246 / 0:00:08.215108 11:46:16 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json' Success: return code: 0 Output: 71 11:46:16 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json' Success: return code: 0 Output: 71 11:46:16 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage.json' Success: return code: 0 Output: 71 11:46:17 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json' Success: return code: 0 Output: 71 11:46:17 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json' Success: return code: 0 Output: 71 11:46:17 [DEBUG] Starting new HTTP connection (1): 172.26.160.68:8888 11:46:17 [DEBUG] http://172.26.160.68:8888 "GET /get/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt/ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u HTTP/1.1" 200 1000 11:46:17 [INFO] Request: http://172.26.160.68:8888/get/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt/ASkCVzmxGCcXe8Wdn5e4rb5LUGYEhDGqCYQVzbwrTi7u ``` ## Logs [Logs.zip](https://github.com/TrueCloudLab/frostfs-node/files/10465248/50c9e0b2fa7830c9.zip)
vkarak1 commented 2023-01-20 10:37:48 +00:00 (Migrated from github.com)

Please find one more case with a bit difference in result:

  1. Put object, and it should be expired at epoch 86 (__NEOFS__EXPIRATION_EPOCH=86)
  2. Issued force-new-epoch till epoch 87
  3. Issue netmap epoch for each node to verify that we are at 87 epoch
  4. Try to get object via http, got expected result= 404;
  5. object-get returns object

###Logs

11:49:04 [INFO] Executing command: curl -F 'file=@/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/640f6f94-fb19-4b70-85f9-83188335cb7a;filename=640f6f94-fb19-4b70-85f9-83188335cb7a' -H 'X-Attribute-Neofs-Expiration-RFC3339: 2023-01-19T12:09:04.301631Z' http://172.26.160.68:8888/upload/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt
11:49:04 [INFO] Output:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1358  100   130  100  1228   2653  25061 --:--:-- --:--:-- --:--:-- 27714
{
	"object_id": "6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv",
	"container_id": "9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt"
}

11:49:05 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid '6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv' --json --ttl 1
Success:
return code: 0 
Output: {"objectID":{"value":"TiEOFTakuLs/1HzbI3Ut1WtTQ1L6whfhfYqc2FZsvoc="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BDFhQ7EtwRkGJV33La5g8UXKckttBReJjoxF0NHa6agJXkroL5MzNpA5gly2FVzVPHAyf5vJQN1JLGg2+0gSk/s=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"84","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"KzOpij3xTE9lEufYwe1kbGKjSKIJ+j1ZbiKwk9rXUik="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BFOrkUY0Se9sEMlIqjLpSs7XYzSDUXAbPtUuWgPUs5/8thERefNpsNi2orr29SxgtbC0Da/OMupR9R9jQ5wN2tI=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"86"},{"key":"FileName","value":"640f6f94-fb19-4b70-85f9-83188335cb7a"},{"key":"Timestamp","value":"1674128963"}],"split":null},"payload":""}


11:49:05 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid '6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv' --json --ttl 1
Success:
return code: 0 
Output: {"objectID":{"value":"TiEOFTakuLs/1HzbI3Ut1WtTQ1L6whfhfYqc2FZsvoc="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BDFhQ7EtwRkGJV33La5g8UXKckttBReJjoxF0NHa6agJXkroL5MzNpA5gly2FVzVPHAyf5vJQN1JLGg2+0gSk/s=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"84","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"KzOpij3xTE9lEufYwe1kbGKjSKIJ+j1ZbiKwk9rXUik="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BFOrkUY0Se9sEMlIqjLpSs7XYzSDUXAbPtUuWgPUs5/8thERefNpsNi2orr29SxgtbC0Da/OMupR9R9jQ5wN2tI=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"86"},{"key":"FileName","value":"640f6f94-fb19-4b70-85f9-83188335cb7a"},{"key":"Timestamp","value":"1674128963"}],"split":null},"payload":""}

11:49:19 [INFO] HOST: 172.26.160.68
COMMAND:
 sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch 
RC:
 0
STDOUT:
 Current epoch: 84, increase to 85.
 Waiting for transactions to persist...

11:49:27 [INFO] HOST: 172.26.160.68
COMMAND:
 sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch 
RC:
 0
STDOUT:
 Current epoch: 85, increase to 86.
 Waiting for transactions to persist...

11:49:35 [INFO] HOST: 172.26.160.68
COMMAND:
 sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch 
RC:
 0
STDOUT:
 Current epoch: 86, increase to 87.
 Waiting for transactions to persist...


Start / End / Elapsed	 11:49:27.229087 / 11:49:35.454309 / 0:00:08.225222
11:49:35 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json'
11:49:35 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json'
Success:
return code: 0 
Output: 87

11:49:35 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json'
11:49:36 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json'
Success:
return code: 0 
Output: 87

11:49:36 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage.json'
11:49:36 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage.json'
Success:
return code: 0 
Output: 87

11:49:36 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json'
11:49:36 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json'
Success:
return code: 0 
Output: 87

11:49:36 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json'
11:49:37 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json'
Success:
return code: 0 
Output: 87

11:49:37 [DEBUG] Starting new HTTP connection (1): 172.26.160.68:8888
11:49:37 [DEBUG] http://172.26.160.68:8888 "GET /get/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt/6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv HTTP/1.1" 404 10

11:49:37 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object get --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid '6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv' --file 'TemporaryDir/7ca43c40-ec38-47c3-b8a1-a64cb6f092d7' --no-progress
Success:
return code: 0 
Output: [TemporaryDir/7ca43c40-ec38-47c3-b8a1-a64cb6f092d7] Object successfully saved
ID: 6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv
CID: 9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt
Owner: NUwX1iWwz6fEUtgbrzhogDWhdNq1hr9Sxg
CreatedAt: 84
Size: 1000
HomoHash: <empty>
Checksum: 2b33a98a3df14c4f6512e7d8c1ed646c62a348a209fa3d596e22b093dad75229
Type: REGULAR
Attributes:
  __NEOFS__EXPIRATION_EPOCH=86
  FileName=640f6f94-fb19-4b70-85f9-83188335cb7a
  Timestamp=1674128963 (2023-01-19 11:49:23 +0000 UTC)
ID signature:
  public key: 022aaa5ce1cc8388f2aef19a01c15dbd1798ffc5a5055e30b3428dc3689d37f004
  signature: 04316143b12dc11906255df72dae60f145ca724b6d0517898e8c45d0d1dae9a8095e4ae82f9333369039825cb6155cd53c70327f9bc940dd492c6836fb481293fb
Please find one more case with a bit difference in result: 1. Put object, and it should be expired at epoch 86 (__NEOFS__EXPIRATION_EPOCH=86) 2. Issued `force-new-epoch` till epoch 87 3. Issue `netmap epoch` for each node to verify that we are at 87 epoch 4. Try to get object via http, got expected result= 404; 5. `object-get` returns object ###Logs ``` 11:49:04 [INFO] Executing command: curl -F 'file=@/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/640f6f94-fb19-4b70-85f9-83188335cb7a;filename=640f6f94-fb19-4b70-85f9-83188335cb7a' -H 'X-Attribute-Neofs-Expiration-RFC3339: 2023-01-19T12:09:04.301631Z' http://172.26.160.68:8888/upload/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt 11:49:04 [INFO] Output: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1358 100 130 100 1228 2653 25061 --:--:-- --:--:-- --:--:-- 27714 { "object_id": "6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv", "container_id": "9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt" } 11:49:05 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid '6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv' --json --ttl 1 Success: return code: 0 Output: {"objectID":{"value":"TiEOFTakuLs/1HzbI3Ut1WtTQ1L6whfhfYqc2FZsvoc="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BDFhQ7EtwRkGJV33La5g8UXKckttBReJjoxF0NHa6agJXkroL5MzNpA5gly2FVzVPHAyf5vJQN1JLGg2+0gSk/s=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"84","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"KzOpij3xTE9lEufYwe1kbGKjSKIJ+j1ZbiKwk9rXUik="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BFOrkUY0Se9sEMlIqjLpSs7XYzSDUXAbPtUuWgPUs5/8thERefNpsNi2orr29SxgtbC0Da/OMupR9R9jQ5wN2tI=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"86"},{"key":"FileName","value":"640f6f94-fb19-4b70-85f9-83188335cb7a"},{"key":"Timestamp","value":"1674128963"}],"split":null},"payload":""} 11:49:05 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object head --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid '6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv' --json --ttl 1 Success: return code: 0 Output: {"objectID":{"value":"TiEOFTakuLs/1HzbI3Ut1WtTQ1L6whfhfYqc2FZsvoc="},"signature":{"key":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","signature":"BDFhQ7EtwRkGJV33La5g8UXKckttBReJjoxF0NHa6agJXkroL5MzNpA5gly2FVzVPHAyf5vJQN1JLGg2+0gSk/s=","scheme":"ECDSA_SHA512"},"header":{"version":{"major":2,"minor":13},"containerID":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"creationEpoch":"84","payloadLength":"1000","payloadHash":{"type":"SHA256","sum":"KzOpij3xTE9lEufYwe1kbGKjSKIJ+j1ZbiKwk9rXUik="},"objectType":"REGULAR","homomorphicHash":null,"sessionToken":{"body":{"id":"bThMA5U/QQyC1Jb79gwweA==","ownerID":{"value":"NWMEHaPNM8H4bmyHpNpmnGWkI9XOPVrEcQ=="},"lifetime":{"exp":"100","nbf":"0","iat":"0"},"sessionKey":"AiqqXOHMg4jyrvGaAcFdvReY/8WlBV4ws0KNw2idN/AE","object":{"verb":"PUT","target":{"container":{"value":"fI7pFjh/dO0kbD62Vmvj0DFkbHSM6uv90MZENaGIt5s="},"objects":[]}}},"signature":{"key":"Aw3mlPseNdBSauR13UFUZUZjYng/qLxugIWGIw00/AW/","signature":"BFOrkUY0Se9sEMlIqjLpSs7XYzSDUXAbPtUuWgPUs5/8thERefNpsNi2orr29SxgtbC0Da/OMupR9R9jQ5wN2tI=","scheme":"ECDSA_SHA512"}},"attributes":[{"key":"__NEOFS__EXPIRATION_EPOCH","value":"86"},{"key":"FileName","value":"640f6f94-fb19-4b70-85f9-83188335cb7a"},{"key":"Timestamp","value":"1674128963"}],"split":null},"payload":""} 11:49:19 [INFO] HOST: 172.26.160.68 COMMAND: sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch RC: 0 STDOUT: Current epoch: 84, increase to 85. Waiting for transactions to persist... 11:49:27 [INFO] HOST: 172.26.160.68 COMMAND: sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch RC: 0 STDOUT: Current epoch: 85, increase to 86. Waiting for transactions to persist... 11:49:35 [INFO] HOST: 172.26.160.68 COMMAND: sudo neofs-adm --config /home/service/config.yaml morph force-new-epoch RC: 0 STDOUT: Current epoch: 86, increase to 87. Waiting for transactions to persist... Start / End / Elapsed 11:49:27.229087 / 11:49:35.454309 / 0:00:08.225222 11:49:35 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json' 11:49:35 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json' Success: return code: 0 Output: 87 11:49:35 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json' 11:49:36 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.68:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node1-storage.json' Success: return code: 0 Output: 87 11:49:36 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage.json' 11:49:36 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.242:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node2-storage.json' Success: return code: 0 Output: 87 11:49:36 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json' 11:49:36 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.9:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node3-storage.json' Success: return code: 0 Output: 87 11:49:36 [INFO] Executing command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json' 11:49:37 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage-config.yml netmap epoch --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/tatlin-object-testsetup/.setup/wallets/node4-storage.json' Success: return code: 0 Output: 87 11:49:37 [DEBUG] Starting new HTTP connection (1): 172.26.160.68:8888 11:49:37 [DEBUG] http://172.26.160.68:8888 "GET /get/9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt/6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv HTTP/1.1" 404 10 11:49:37 [INFO] Command: neofs-cli --config /jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/wallet_config.yml object get --rpc-endpoint '172.26.160.155:8080' --wallet '/jenkins/workspace/sbercloud_functional_tests_nightly/tmp.uj2iFqOzTj/neofs-testcases/TemporaryDir/407e345a-9cb1-4f69-892c-a91e7bcf7fb5.json' --cid '9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt' --oid '6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv' --file 'TemporaryDir/7ca43c40-ec38-47c3-b8a1-a64cb6f092d7' --no-progress Success: return code: 0 Output: [TemporaryDir/7ca43c40-ec38-47c3-b8a1-a64cb6f092d7] Object successfully saved ID: 6Fz2zsbwDfiXvbaqu5KWNb6EsAeEcrHHLcvjoDUUkCCv CID: 9PDwpxDEHnhfvKQv5L6amRNG1kqoBUxrj7X3SA7ikCKt Owner: NUwX1iWwz6fEUtgbrzhogDWhdNq1hr9Sxg CreatedAt: 84 Size: 1000 HomoHash: <empty> Checksum: 2b33a98a3df14c4f6512e7d8c1ed646c62a348a209fa3d596e22b093dad75229 Type: REGULAR Attributes: __NEOFS__EXPIRATION_EPOCH=86 FileName=640f6f94-fb19-4b70-85f9-83188335cb7a Timestamp=1674128963 (2023-01-19 11:49:23 +0000 UTC) ID signature: public key: 022aaa5ce1cc8388f2aef19a01c15dbd1798ffc5a5055e30b3428dc3689d37f004 signature: 04316143b12dc11906255df72dae60f145ca724b6d0517898e8c45d0d1dae9a8095e4ae82f9333369039825cb6155cd53c70327f9bc940dd492c6836fb481293fb ```
fyrchik added this to the v0.37.0 milestone 2023-05-18 08:51:45 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#21
There is no content yet.