Grinder - Auto generated jython test case scripts are not working - jython

I created jython test cases scripts with TCPProxy Console. But those are not working, while I am trying to run.
My test cases is
Sample33.py
# The Grinder 3.11
# HTTP script recorded by TCPProxy at 29 Jul, 2014 10:19:35 AM
from net.grinder.script import Test
from net.grinder.script.Grinder import grinder
from net.grinder.plugin.http import HTTPPluginControl, HTTPRequest
from HTTPClient import NVPair
connectionDefaults = HTTPPluginControl.getConnectionDefaults()
httpUtilities = HTTPPluginControl.getHTTPUtilities()
# To use a proxy server, uncomment the next line and set the host and port.
# connectionDefaults.setProxyServer("localhost", 8001)
def createRequest(test, url, headers=None):
"""Create an instrumented HTTPRequest."""
request = HTTPRequest(url=url)
if headers: request.headers=headers
test.record(request, HTTPRequest.getHttpMethodFilter())
return request
# These definitions at the top level of the file are evaluated once,
# when the worker process is started.
connectionDefaults.defaultHeaders = \
[ NVPair('Accept-Encoding', 'gzip, deflate'),
NVPair('Accept-Language', 'en-US,en;q=0.5'),
NVPair('User-Agent', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0'), ]
headers0= \
[ NVPair('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'),
NVPair('Referer', 'http://mycompany.com/'), ]
url0 = 'http://mycompany.com:80'
request101 = createRequest(Test(101, 'GET /'), url0)
request201 = createRequest(Test(201, 'POST home'), url0, headers0)
request202 = createRequest(Test(202, 'GET home'), url0, headers0)
request203 = createRequest(Test(203, 'GET /'), url0, headers0)
request301 = createRequest(Test(301, 'GET holidays-2014'), url0, headers0)
request302 = createRequest(Test(302, 'GET Untitled_3.png'), url0)
request303 = createRequest(Test(303, 'GET Untitled_3.png'), url0)
class TestRunner:
"""A TestRunner instance is created for each worker thread."""
# A method for each recorded page.
def page1(self):
"""GET / (request 101)."""
result = request101.GET('/', None,
( NVPair('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'),
NVPair('If-Modified-Since', 'Mon, 28 Jul 2014 10:47:07 +0000'),
NVPair('If-None-Match', '\"1406544427\"'), ))
self.token_form_build_id = \
httpUtilities.valueFromHiddenInput('form_build_id') # 'form-MvE2-tuZ5-faR4EyZ0XSU6qaOpz8rex1-4u...'
self.token_form_id = \
httpUtilities.valueFromHiddenInput('form_id') # 'user_login_block'
return result
def page2(self):
"""POST home (requests 201-203)."""
self.token_destination = \
'node/103'
# Expecting 302 'Found'
result = request201.POST('/home' +
'?destination=' +
self.token_destination,
( NVPair('name', 'myuser'),
NVPair('pass', 'mypassword'),
NVPair('form_build_id', self.token_form_build_id),
NVPair('form_id', self.token_form_id),
NVPair('op', 'Log in'), ),
( NVPair('Content-Type', 'application/x-www-form-urlencoded'), ))
grinder.sleep(27)
# Expecting 301 'Moved Permanently'
request202.GET('/home')
grinder.sleep(18)
request203.GET('/', None,
( NVPair('If-Modified-Since', 'Tue, 29 Jul 2014 04:47:09 +0000'),
NVPair('If-None-Match', '\"1406609229\"'), ))
return result
def page3(self):
"""GET holidays-2014 (requests 301-303)."""
result = request301.GET('/content/holidays-2014')
self.token_form_build_id = \
httpUtilities.valueFromHiddenInput('form_build_id') # 'form-VWPMyhphM5Lg3O6qyQx1iS_uc6p20Scw7cY...'
self.token_form_token = \
httpUtilities.valueFromHiddenInput('form_token') # 'DT9Ya9GCdGKlSNIEMLP4noRGMnd4Dvs2WVgMsEsw...'
self.token_form_id = \
httpUtilities.valueFromHiddenInput('form_id') # 'search_block_form'
grinder.sleep(47)
request302.GET('/sites/default/files/Untitled_3.png', None,
( NVPair('Accept', 'image/png,image/*;q=0.8,*/*;q=0.5'),
NVPair('Referer', 'http://mycompany.com/content/holidays-2014'), ))
return result
def __call__(self):
"""Called for every run performed by the worker thread."""
self.page1() # GET / (request 101)
grinder.sleep(279)
self.page2() # POST home (requests 201-203)
grinder.sleep(147)
self.page3() # GET holidays-2014 (requests 301-303)
# Instrument page methods.
Test(100, 'Page 1').record(TestRunner.page1)
Test(200, 'Page 2').record(TestRunner.page2)
Test(300, 'Page 3').record(TestRunner.page3)
My Properties file: test.properties
grinder.script=sample33.py
grinder.processes=1
grinder.threads=1
grinder.runs=0
grinder.logDirectory=log
grinder.numberOfOldLogs=2
grinder.useConsole=false
My output:
2014-07-29 11:01:10,579 INFO myuser-0 thread-0 [ run-193, test-301 ]: http://mycompany.com/content/holidays-2014 -> 403 Forbidden, 18674 bytes
2014-07-29 11:01:10,579 INFO myuser-0 thread-0 [ run-193 ]: sleeping for 48 ms
2014-07-29 11:01:10,652 INFO myuser-0 thread-0 [ run-193, test-302 ]: http://mycompany.com/sites/default/files/Untitled_3.png -> 200 OK, 130429 bytes
2014-07-29 11:01:10,996 INFO myuser-0 thread-0 [ run-194, test-101 ]: http://mycompany.com/ -> 403 Forbidden, 17617 bytes
2014-07-29 11:01:10,997 INFO myuser-0 thread-0 [ run-194 ]: sleeping for 263 ms
2014-07-29 11:01:11,686 INFO myuser-0 thread-0 [ run-194, test-201 ]: http://mycompany.com/home?destination=node/103 -> 302 Found, 0 bytes [Redirect, ensure the next URL is http://mycompany.com/home]
2014-07-29 11:01:11,686 INFO myuser-0 thread-0 [ run-194 ]: sleeping for 27 ms
2014-07-29 11:01:11,973 INFO myuser-0 thread-0 [ run-194, test-202 ]: http://mycompany.com/home -> 301 Moved Permanently, 0 bytes [Redirect, ensure the next URL is http://mycompany.com/]
2014-07-29 11:01:11,973 INFO myuser-0 thread-0 [ run-194 ]: sleeping for 17 ms
2014-07-29 11:01:12,229 INFO myuser-0 thread-0 [ run-194, test-203 ]: http://mycompany.com/ -> 403 Forbidden, 17617 bytes
2014-07-29 11:01:12,229 INFO myuser-0 thread-0 [ run-194 ]: sleeping for 141 ms
2014-07-29 11:01:12,681 INFO myuser-0 thread-0 [ run-194, test-301 ]: http://mycompany.com/content/holidays-2014 -> 403 Forbidden, 18674 bytes
2014-07-29 11:01:12,682 INFO myuser-0 thread-0 [ run-194 ]: sleeping for 46 ms
2014-07-29 11:01:12,751 INFO myuser-0 thread-0 [ run-194, test-302 ]: http://mycompany.com/sites/default/files/Untitled_3.png -> 200 OK, 130429 bytes
2014-07-29 11:01:13,033 INFO myuser-0 thread-0 [ run-195, test-101 ]: http://mycompany.com/ -> 403 Forbidden, 17617 bytes
2014-07-29 11:01:13,034 INFO myuser-0 thread-0 [ run-195 ]: sleeping for 307 ms
2014-07-29 11:01:13,937 INFO myuser-0 thread-0 [ run-195, test-201 ]: http://mycompany.com/home?destination=node/103 -> 302 Found, 0 bytes [Redirect, ensure the next URL is http://mycompany.com/home]
2014-07-29 11:01:13,938 INFO myuser-0 thread-0 [ run-195 ]: sleeping for 27 ms
2014-07-29 11:01:14,223 INFO myuser-0 thread-0 [ run-195, test-202 ]: http://mycompany.com/home -> 301 Moved Permanently, 0 bytes [Redirect, ensure the next URL is http://mycompany.com/]
2014-07-29 11:01:14,224 INFO myuser-0 thread-0 [ run-195 ]: sleeping for 18 ms
2014-07-29 11:01:14,480 INFO myuser-0 thread-0 [ run-195, test-203 ]: http://mycompany.com/ -> 403 Forbidden, 17617 bytes
2014-07-29 11:01:14,480 INFO myuser-0 thread-0 [ run-195 ]: sleeping for 149 ms
2014-07-29 11:01:14,931 INFO myuser-0 thread-0 [ run-195, test-301 ]: http://mycompany.com/content/holidays-2014 -> 403 Forbidden, 18674 bytes
2014-07-29 11:01:14,932 INFO myuser-0 thread-0 [ run-195 ]: sleeping for 49 ms
2014-07-29 11:01:15,003 INFO myuser-0 thread-0 [ run-195, test-302 ]: http://mycompany.com/sites/default/files/Untitled_3.png -> 200 OK, 130429 bytes
2014-07-29 11:01:15,277 INFO myuser-0 thread-0 [ run-196, test-101 ]: http://mycompany.com/ -> 403 Forbidden, 17617 bytes
2014-07-29 11:01:15,278 INFO myuser-0 thread-0 [ run-196 ]: sleeping for 301 ms
2014-07-29 11:01:15,332 INFO myuser-0 : communication shut down
2014-07-29 11:01:15,340 INFO myuser-0 thread-0 [ run-196 ]: shut down
2014-07-29 11:01:15,341 INFO myuser-0 thread-0: finished 196 runs
2014-07-29 11:01:15,341 INFO myuser-0 : elapsed time is 404648 ms
2014-07-29 11:01:15,341 INFO myuser-0 : Final statistics for this process:
2014-07-29 11:01:15,350 INFO myuser-0 :
Tests Errors Mean Test Test Time TPS Mean Response Response Mean time to Mean time to Mean time to
Time (ms) Standard response bytes per errors resolve host establish first byte
Deviation length second connection
(ms)
(Test 100 197 0 286.38 35.05 0.49 0.00 0.00 0 - - 0.00) "Page 1"
Test 101 197 0 285.10 34.57 0.49 17617.00 8576.71 197 0.10 2.25 265.98 "GET /"
(Test 200 196 0 970.07 233.03 0.48 0.00 0.00 0 - - 0.00) "Page 2"
Test 201 196 0 453.68 223.42 0.48 0.00 0.00 0 0.03 2.51 453.05 "POST home"
Test 202 196 0 219.01 30.85 0.48 0.00 0.00 0 0.02 2.26 218.58 "GET home"
Test 203 196 0 250.14 22.02 0.48 17617.00 8533.17 196 0.02 2.20 230.47 "GET /"
(Test 300 196 0 379.49 33.35 0.48 0.00 0.00 0 - - 0.00) "Page 3"
Test 301 196 0 302.42 32.69 0.48 18674.00 9045.16 196 0.01 2.20 283.80 "GET holidays-2014"
Test 302 196 0 28.66 4.78 0.48 130429.00 63176.10 0 0.01 2.19 6.21 "GET Untitled_3.png"
Totals 1177 0 256.53 157.42 2.91 30711.70 89331.14 589 0.03 2.27 243.03
(589) (0)
Tests resulting in error only contribute to the Errors column.
Statistics for individual tests can be found in the data file, including
(possibly incomplete) statistics for erroneous tests. Composite tests
are marked with () and not included in the totals.
all pages it is showing 403 error only.
I tried recording(saving every page) also. Only login page only recording(saving) no other pages. not coming
Please help me, is it need to change any thing in the auto generated code?
what is 'name' and 'pass' fields, is it stable for every url or else, I have to change corresponding to my site?

Refer this link Error 403
I believe you have to go and talk to your server / network team .This is more local network issue rather than grinder thing.
You can try recording without using DNS since its in your network type in the ipaddress then record your interactions or change the URL to IP Address .
However do remeber if you switch to ip you wont be able to reap the benefits of load balancing.

Related

How can nextcloudcmd update changes on Nextcloud itself?

Nextcloud version 3.5.4-20220806.084713.fea986309-1.0~focal1
Using Qt 5.12.8, built against Qt 5.12.8
Using 'OpenSSL 1.1.1f 31 Mar 2020'
Running on Ubuntu 20.04.5 LTS, x86_64
The issue you are facing:
I am trying to access files and make change on them using nextcloudcmd . But I don't see the changes made on the Nextcloud, the changes are made only locally.
The way I use nextcloudcmd :
rm -rf ~/Nextcloud && mkdir ~/Nextcloud
nextcloudcmd -u ***** -p '*****' -h ~/Nextcloud https://#ppp.woelkli.com
At this point its able to sync files. But when I make changes to the files the changes are not pushed updated on the Nextcloud itself. How can I push changes in to cloud?
=> Log of nextcloudcmd -u *** -p '***' -h ~/Nextcloud https://#ppp.woelkli.com:
01-14 10:03:27:344 [ info nextcloud.sync.accessmanager ]: 2 "" "https://#ppp.woelkli.com/ocs/v1.php/cloud/capabilities?format=json" has X-Request-ID "8220a8ea-876b-4532-b866-66c57b01177c"
01-14 10:03:27:344 [ info nextcloud.sync.networkjob ]: OCC::JsonApiJob created for "https://ppp.woelkli.com" + "ocs/v1.php/cloud/capabilities" ""
01-14 10:03:28:939 [ info nextcloud.sync.networkjob.jsonapi ]: JsonApiJob of QUrl("https://#ppp.woelkli.com/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS "OK"
01-14 10:03:28:939 [ debug default ] [ main(int, char**)::<lambda ]: Server capabilities QJsonObject({"activity":{"apiv2":["filters","filters-api","previews","rich-strings"]},"bruteforce":{"delay":0},"core":{"pollinterval":60,"reference-api":true,"reference-regex":"(\\s|\\n|^)(https?:\\/\\/)((?:[-A-Z0-9+_]+\\.)+[-A-Z]+(?:\\/[-A-Z0-9+&##%?=~_|!:,.;()]*)*)(\\s|\\n|$)","webdav-root":"remote.php/webdav"},"dav":{"bulkupload":"1.0","chunking":"1.0"},"external":{"v1":["sites","device","groups","redirect"]},"files":{"bigfilechunking":true,"blacklisted_files":[".htaccess"],"comments":true,"directEditing":{"etag":"c748e8fc588b54fc5af38c4481a19d20","url":"https://ppp.woelkli.com/ocs/v2.php/apps/files/api/v1/directEditing"},"undelete":true,"versioning":true},"files_sharing":{"api_enabled":true,"default_permissions":1,"federation":{"expire_date":{"enabled":true},"expire_date_supported":{"enabled":true},"incoming":true,"outgoing":true},"group":{"enabled":false,"expire_date":{"enabled":true}},"group_sharing":false,"public":{"enabled":true,"expire_date":{"enabled":false},"expire_date_internal":{"enabled":false},"expire_date_remote":{"enabled":false},"multiple_links":true,"password":{"askForOptionalPassword":false,"enforced":true},"send_mail":false,"upload":false,"upload_files_drop":false},"resharing":true,"sharebymail":{"enabled":true,"expire_date":{"enabled":true,"enforced":false},"password":{"enabled":true,"enforced":true},"send_password_by_mail":false,"upload_files_drop":{"enabled":true}},"sharee":{"always_show_unique":true,"query_lookup_default":false},"user":{"expire_date":{"enabled":true},"send_mail":false}},"metadataAvailable":{"gps":["/image\\/.*/"],"size":["/image\\/.*/"]},"notes":{"api_version":["0.2","1.3"],"version":"4.6.0"},"notifications":{"admin-notifications":["ocs","cli"],"ocs-endpoints":["list","get","delete","delete-all","icons","rich-strings","action-web","user-status"],"push":["devices","object-data","delete"]},"ocm":{"apiVersion":"1.0-proposal1","enabled":true,"endPoint":"https://ppp.woelkli.com/ocm","resourceTypes":[{"name":"file","protocols":{"webdav":"/public.php/webdav/"},"shareTypes":["user","group"]}]},"password_policy":{"api":{"generate":"https://ppp.woelkli.com/ocs/v2.php/apps/password_policy/api/v1/generate","validate":"https://ppp.woelkli.com/ocs/v2.php/apps/password_policy/api/v1/validate"},"enforceNonCommonPassword":true,"enforceNumericCharacters":true,"enforceSpecialCharacters":false,"enforceUpperLowerCase":true,"minLength":12},"provisioning_api":{"AccountPropertyScopesFederatedEnabled":true,"AccountPropertyScopesPublishedEnabled":true,"AccountPropertyScopesVersion":2,"version":"1.15.0"},"spreed":{"config":{"attachments":{"allowed":true,"folder":"/Talk"},"call":{"enabled":true},"chat":{"max-length":32000,"read-privacy":0},"conversations":{"can-create":true},"previews":{"max-gif-size":3145728},"signaling":{"hello-v2-token-key":"-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZjYYA01asJ+h/1+YflsnNfwXBSGa\nz+4vunVgFMhBDhSRZJv51H2KyJWTszJW+n1vgdp8gjfy4KNPhyjmzPO/tw==\n-----END PUBLIC KEY-----\n","session-ping-limit":200}},"features":["audio","video","chat-v2","conversation-v4","guest-signaling","empty-group-room","guest-display-names","multi-room-users","favorites","last-room-activity","no-ping","system-messages","delete-messages","mention-flag","in-call-flags","conversation-call-flags","notification-levels","invite-groups-and-mails","locked-one-to-one-rooms","read-only-rooms","listable-rooms","chat-read-marker","chat-unread","webinary-lobby","start-call-flag","chat-replies","circles-support","force-mute","sip-support","sip-support-nopin","chat-read-status","phonebook-search","raise-hand","room-description","rich-object-sharing","temp-user-avatar-api","geo-location-sharing","voice-message-sharing","signaling-v3","publishing-permissions","clear-history","direct-mention-flag","notification-calls","conversation-permissions","rich-object-list-media","rich-object-delete","unified-search","chat-permission","silent-send","silent-call","send-call-notification","talk-polls","message-expiration","reactions","chat-reference-id"],"version":"15.0.2"},"theming":{"background":"https://ppp.woelkli.com/apps/theming/image/background?v=50","background-default":false,"background-plain":false,"color":"#0082c9","color-element":"#0082c9","color-element-bright":"#0082c9","color-element-dark":"#0082c9","color-text":"#ffffff","favicon":"https://ppp.woelkli.com/apps/theming/image/logo?useSvg=1&v=50","logo":"https://ppp.woelkli.com/apps/theming/image/logo?useSvg=1&v=50","logoheader":"https://ppp.woelkli.com/apps/theming/image/logo?useSvg=1&v=50","name":"wölkli","slogan":"Secure Cloud Storage in Switzerland","url":"https://woelkli.com"},"user_status":{"enabled":true,"supports_emoji":true},"weather_status":{"enabled":true}})
01-14 10:03:28:939 [ info nextcloud.sync.accessmanager ]: 2 "" "https://#ppp.woelkli.com/ocs/v2.php/apps/user_status/api/v1/user_status?format=json" has X-Request-ID "3c414428-18d2-4112-b01a-3e3653621175"
01-14 10:03:28:940 [ info nextcloud.sync.networkjob ]: OCC::JsonApiJob created for "https://ppp.woelkli.com" + "/ocs/v2.php/apps/user_status/api/v1/user_status" "OCC::UserStatusConnector"
01-14 10:03:28:940 [ info nextcloud.sync.accessmanager ]: 2 "" "https://#ppp.woelkli.com/ocs/v1.php/cloud/user?format=json" has X-Request-ID "bbc3bf4c-74fc-430d-81d7-138234341795"
01-14 10:03:28:940 [ info nextcloud.sync.networkjob ]: OCC::JsonApiJob created for "https://ppp.woelkli.com" + "ocs/v1.php/cloud/user" ""
01-14 10:03:29:078 [ info nextcloud.sync.networkjob.jsonapi ]: JsonApiJob of QUrl("https://#ppp.woelkli.com/ocs/v2.php/apps/user_status/api/v1/user_status?format=json") FINISHED WITH STATUS "OK"
01-14 10:03:29:298 [ info nextcloud.sync.networkjob.jsonapi ]: JsonApiJob of QUrl("https://#ppp.woelkli.com/ocs/v1.php/cloud/user?format=json") FINISHED WITH STATUS "OK"
01-14 10:03:29:302 [ info nextcloud.sync.engine ]: There are 74930769920 bytes available at "/home/alper/Nextcloud/"
01-14 10:03:29:302 [ info nextcloud.sync.engine ]: New sync (no sync journal exists)
01-14 10:03:29:302 [ info nextcloud.sync.engine ]: "Using Qt 5.12.8 SSL library OpenSSL 1.1.1f 31 Mar 2020 on Ubuntu 20.04.5 LTS"
01-14 10:03:29:302 [ info nextcloud.sync.database ]: sqlite3 version "3.31.1"
01-14 10:03:29:302 [ info nextcloud.sync.database ]: sqlite3 locking_mode= "exclusive"
01-14 10:03:29:302 [ info nextcloud.sync.database ]: sqlite3 journal_mode= "wal"
01-14 10:03:29:305 [ info nextcloud.sync.database ]: sqlite3 synchronous= "NORMAL"
01-14 10:03:29:312 [ info nextcloud.sync.database ]: Forcing remote re-discovery by deleting folder Etags
01-14 10:03:29:312 [ info nextcloud.sync.engine ]: NOT Using Selective Sync
01-14 10:03:29:312 [ info nextcloud.sync.engine ]: #### Discovery start ####################################################
01-14 10:03:29:312 [ info nextcloud.sync.engine ]: Server ""
01-14 10:03:29:312 [ info sync.discovery ]: STARTING "" OCC::ProcessDirectoryJob::NormalQuery "" OCC::ProcessDirectoryJob::NormalQuery
01-14 10:03:29:313 [ info nextcloud.sync.accessmanager ]: 6 "PROPFIND" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/" has X-Request-ID "0bd895d8-8ec8-429d-9a37-4dd85a2c89a9"
01-14 10:03:29:313 [ info nextcloud.sync.networkjob ]: OCC::LsColJob created for "https://ppp.woelkli.com" + "/" "OCC::DiscoverySingleDirectoryJob"
01-14 10:03:29:462 [ info nextcloud.sync.networkjob.lscol ]: LSCOL of QUrl("https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/") FINISHED WITH STATUS "OK"
01-14 10:03:29:463 [ warning default ]: System exclude list file could not be read: "/home/alper/Nextcloud/Nextcloud/.sync-exclude.lst"
01-14 10:03:29:463 [ info sync.discovery ]: Processing "Nextcloud" | valid: false/false/true | mtime: 0/0/1673085410 | size: 0/0/0 | etag: ""//"63b941e2324d9" | checksum: ""//"" | perm: ""//"DNVCKR" | fileid: ""//"99398452ock6rp1oyjad" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked
01-14 10:03:29:463 [ info sync.discovery ]: OCC::SyncFileItem::LockStatus::UnlockedItem "" "" OCC::SyncFileItem::LockOwnerType::UserLock "" 0 0
01-14 10:03:29:463 [ info sync.discovery ]: Discovered "Nextcloud" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeDirectory
01-14 10:03:29:463 [ warning default ]: System exclude list file could not be read: "/home/alper/Nextcloud/Notes/.sync-exclude.lst"
01-14 10:03:29:463 [ info sync.discovery ]: Processing "Notes" | valid: false/false/true | mtime: 0/0/1673021853 | size: 0/0/0 | etag: ""//"63b8499d22325" | checksum: ""//"" | perm: ""//"DNVCKR" | fileid: ""//"99376158ock6rp1oyjad" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked
01-14 10:03:29:463 [ info sync.discovery ]: OCC::SyncFileItem::LockStatus::UnlockedItem "" "" OCC::SyncFileItem::LockOwnerType::UserLock "" 0 0
01-14 10:03:29:464 [ info sync.discovery ]: Discovered "Notes" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeDirectory
01-14 10:03:29:464 [ warning default ]: System exclude list file could not be read: "/home/alper/Nextcloud/Talk/.sync-exclude.lst"
01-14 10:03:29:464 [ info sync.discovery ]: Processing "Talk" | valid: false/false/true | mtime: 0/0/1673021842 | size: 0/0/0 | etag: ""//"63b84992517bb" | checksum: ""//"" | perm: ""//"DNVCKR" | fileid: ""//"99376154ock6rp1oyjad" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked
01-14 10:03:29:464 [ info sync.discovery ]: OCC::SyncFileItem::LockStatus::UnlockedItem "" "" OCC::SyncFileItem::LockOwnerType::UserLock "" 0 0
01-14 10:03:29:464 [ info sync.discovery ]: Discovered "Talk" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeDirectory
01-14 10:03:29:464 [ warning default ]: System exclude list file could not be read: "/home/alper/Nextcloud/todo/.sync-exclude.lst"
01-14 10:03:29:464 [ info sync.discovery ]: Processing "todo" | valid: false/false/true | mtime: 0/0/1673667233 | size: 0/0/0 | etag: ""//"63c222a1476e3" | checksum: ""//"" | perm: ""//"DNVCKR" | fileid: ""//"99376056ock6rp1oyjad" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked
01-14 10:03:29:464 [ info sync.discovery ]: OCC::SyncFileItem::LockStatus::UnlockedItem "" "" OCC::SyncFileItem::LockOwnerType::UserLock "" 0 0
01-14 10:03:29:464 [ info sync.discovery ]: Discovered "todo" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeDirectory
01-14 10:03:29:464 [ info sync.discovery ]: STARTING "Nextcloud" OCC::ProcessDirectoryJob::NormalQuery "Nextcloud" OCC::ProcessDirectoryJob::ParentDontExist
01-14 10:03:29:464 [ info nextcloud.sync.accessmanager ]: 6 "PROPFIND" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/Nextcloud" has X-Request-ID "63605bb7-f72e-4a11-9796-af9d40240e0a"
01-14 10:03:29:464 [ info nextcloud.sync.networkjob ]: OCC::LsColJob created for "https://ppp.woelkli.com" + "/Nextcloud" "OCC::DiscoverySingleDirectoryJob"
01-14 10:03:29:464 [ info sync.discovery ]: STARTING "Notes" OCC::ProcessDirectoryJob::NormalQuery "Notes" OCC::ProcessDirectoryJob::ParentDontExist
01-14 10:03:29:465 [ info nextcloud.sync.accessmanager ]: 6 "PROPFIND" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/Notes" has X-Request-ID "a35d715f-29d1-4b0e-aae5-57c953d8c743"
01-14 10:03:29:465 [ info nextcloud.sync.networkjob ]: OCC::LsColJob created for "https://ppp.woelkli.com" + "/Notes" "OCC::DiscoverySingleDirectoryJob"
01-14 10:03:29:465 [ info sync.discovery ]: STARTING "Talk" OCC::ProcessDirectoryJob::NormalQuery "Talk" OCC::ProcessDirectoryJob::ParentDontExist
01-14 10:03:29:465 [ info nextcloud.sync.accessmanager ]: 6 "PROPFIND" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/Talk" has X-Request-ID "186d0a04-d2de-418b-8948-f4a5794788a4"
01-14 10:03:29:465 [ info nextcloud.sync.networkjob ]: OCC::LsColJob created for "https://ppp.woelkli.com" + "/Talk" "OCC::DiscoverySingleDirectoryJob"
01-14 10:03:29:465 [ info sync.discovery ]: STARTING "todo" OCC::ProcessDirectoryJob::NormalQuery "todo" OCC::ProcessDirectoryJob::ParentDontExist
01-14 10:03:29:465 [ info nextcloud.sync.accessmanager ]: 6 "PROPFIND" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/todo" has X-Request-ID "64b7aede-d893-423f-bf43-2431d708059a"
01-14 10:03:29:466 [ info nextcloud.sync.networkjob ]: OCC::LsColJob created for "https://ppp.woelkli.com" + "/todo" "OCC::DiscoverySingleDirectoryJob"
01-14 10:03:29:613 [ info nextcloud.sync.networkjob.lscol ]: LSCOL of QUrl("https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/Notes") FINISHED WITH STATUS "OK"
01-14 10:03:29:652 [ info nextcloud.sync.networkjob.lscol ]: LSCOL of QUrl("https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/Nextcloud") FINISHED WITH STATUS "OK"
01-14 10:03:29:789 [ info nextcloud.sync.networkjob.lscol ]: LSCOL of QUrl("https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/todo") FINISHED WITH STATUS "OK"
01-14 10:03:29:790 [ info sync.discovery ]: Processing "todo/.todo-list.org_archive" | valid: false/false/true | mtime: 0/0/1673083763 | size: 0/0/347 | etag: ""//"12af94e75dbfc087dc6b8038a1a7e131" | checksum: ""//"" | perm: ""//"WDNVR" | fileid: ""//"99398133ock6rp1oyjad" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeFile | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked
01-14 10:03:29:790 [ info sync.discovery ]: OCC::SyncFileItem::LockStatus::UnlockedItem "" "" OCC::SyncFileItem::LockOwnerType::UserLock "" 0 0
01-14 10:03:29:790 [ info sync.discovery ]: Discovered "todo/.todo-list.org_archive" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeFile
01-14 10:03:29:790 [ info sync.discovery ]: Processing "todo/todo-list.org" | valid: false/false/true | mtime: 0/0/1673666892 | size: 0/0/148 | etag: ""//"d145e38a7f9b55a53706cc101a635779" | checksum: ""//"" | perm: ""//"WDNVR" | fileid: ""//"99382200ock6rp1oyjad" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeFile | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked
01-14 10:03:29:790 [ info sync.discovery ]: OCC::SyncFileItem::LockStatus::UnlockedItem "" "" OCC::SyncFileItem::LockOwnerType::UserLock "" 0 0
01-14 10:03:29:790 [ info sync.discovery ]: Discovered "todo/todo-list.org" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeFile
01-14 10:03:29:790 [ info sync.discovery ]: Processing "todo/zoo" | valid: false/false/true | mtime: 0/0/1673667228 | size: 0/0/0 | etag: ""//"d8a5a3511a0e045530ebd37209a2af32" | checksum: ""//"SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709" | perm: ""//"WDNVR" | fileid: ""//"99781299ock6rp1oyjad" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeFile | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked
01-14 10:03:29:790 [ info sync.discovery ]: OCC::SyncFileItem::LockStatus::UnlockedItem "" "" OCC::SyncFileItem::LockOwnerType::UserLock "" 0 0
01-14 10:03:29:790 [ info sync.discovery ]: Discovered "todo/zoo" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeFile
01-14 10:03:29:849 [ info nextcloud.sync.networkjob.lscol ]: LSCOL of QUrl("https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/Talk") FINISHED WITH STATUS "OK"
01-14 10:03:29:849 [ info nextcloud.sync.engine ]: #### Discovery end #################################################### 536 ms
01-14 10:03:29:849 [ info nextcloud.sync.engine ]: #### Reconcile (aboutToPropagate) #################################################### 536 ms
01-14 10:03:29:849 [ info nextcloud.sync.engine ]: #### Reconcile (aboutToPropagate OK) #################################################### 536 ms
01-14 10:03:29:850 [ info nextcloud.sync.engine ]: #### Post-Reconcile end #################################################### 537 ms
01-14 10:03:29:854 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::NotYetStarted pending uploads 0 subjobs state OCC::PropagatorJob::NotYetStarted
01-14 10:03:29:854 [ info nextcloud.sync.propagator ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "Nextcloud" by OCC::PropagateLocalMkdir(0x5571c346afe0)
01-14 10:03:29:854 [ info nextcloud.sync.database ]: Updating file record for path: "Nextcloud" inode: 5645997 modtime: 1673085410 type: CSyncEnums::ItemTypeDirectory etag: "_invalid_" fileId: "99398452ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:29:854 [ info nextcloud.sync.propagator ]: Completed propagation of "Nextcloud" by OCC::PropagateLocalMkdir(0x5571c346afe0) with status OCC::SyncFileItem::Success
01-14 10:03:29:858 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Running
01-14 10:03:29:858 [ info nextcloud.sync.propagator ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "Notes" by OCC::PropagateLocalMkdir(0x5571c3470360)
01-14 10:03:29:858 [ info nextcloud.sync.database ]: Updating file record for path: "Notes" inode: 5646004 modtime: 1673021853 type: CSyncEnums::ItemTypeDirectory etag: "_invalid_" fileId: "99376158ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:29:858 [ info nextcloud.sync.propagator ]: Completed propagation of "Notes" by OCC::PropagateLocalMkdir(0x5571c3470360) with status OCC::SyncFileItem::Success
01-14 10:03:29:858 [ info nextcloud.sync.database ]: Updating file record for path: "Nextcloud" inode: 5645997 modtime: 1673085410 type: CSyncEnums::ItemTypeDirectory etag: "63b941e2324d9" fileId: "99398452ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:29:858 [ info nextcloud.sync.propagator ]: PropagateDirectory::slotSubJobsFinished emit finished OCC::SyncFileItem::Success
01-14 10:03:29:861 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Running
01-14 10:03:29:862 [ info nextcloud.sync.propagator ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "Talk" by OCC::PropagateLocalMkdir(0x5571c34cf2e0)
01-14 10:03:29:862 [ info nextcloud.sync.database ]: Updating file record for path: "Talk" inode: 5646005 modtime: 1673021842 type: CSyncEnums::ItemTypeDirectory etag: "_invalid_" fileId: "99376154ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:29:862 [ info nextcloud.sync.propagator ]: Completed propagation of "Talk" by OCC::PropagateLocalMkdir(0x5571c34cf2e0) with status OCC::SyncFileItem::Success
01-14 10:03:29:862 [ info nextcloud.sync.database ]: Updating file record for path: "Notes" inode: 5646004 modtime: 1673021853 type: CSyncEnums::ItemTypeDirectory etag: "63b8499d22325" fileId: "99376158ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:29:862 [ info nextcloud.sync.propagator ]: PropagateDirectory::slotSubJobsFinished emit finished OCC::SyncFileItem::Success
01-14 10:03:29:866 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Running
01-14 10:03:29:866 [ info nextcloud.sync.propagator ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "todo" by OCC::PropagateLocalMkdir(0x5571c34c0730)
01-14 10:03:29:866 [ info nextcloud.sync.database ]: Updating file record for path: "todo" inode: 5646006 modtime: 1673667233 type: CSyncEnums::ItemTypeDirectory etag: "_invalid_" fileId: "99376056ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:29:866 [ info nextcloud.sync.propagator ]: Completed propagation of "todo" by OCC::PropagateLocalMkdir(0x5571c34c0730) with status OCC::SyncFileItem::Success
01-14 10:03:29:866 [ info nextcloud.sync.database ]: Updating file record for path: "Talk" inode: 5646005 modtime: 1673021842 type: CSyncEnums::ItemTypeDirectory etag: "63b84992517bb" fileId: "99376154ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:29:866 [ info nextcloud.sync.propagator ]: PropagateDirectory::slotSubJobsFinished emit finished OCC::SyncFileItem::Success
01-14 10:03:29:870 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Running
01-14 10:03:29:870 [ info nextcloud.sync.propagator ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "todo/.todo-list.org_archive" by OCC::PropagateDownloadFile(0x5571c34daf00)
01-14 10:03:29:870 [ info nextcloud.sync.accessmanager ]: 2 "" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/todo/.todo-list.org_archive" has X-Request-ID "4f03a59f-cc0f-4f03-9c04-6054f726bc94"
01-14 10:03:29:871 [ info nextcloud.sync.networkjob ]: OCC::GETFileJob created for "https://ppp.woelkli.com" + "/todo/.todo-list.org_archive" "OCC::PropagateDownloadFile"
01-14 10:03:29:874 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Running
01-14 10:03:29:874 [ info nextcloud.sync.propagator ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "todo/todo-list.org" by OCC::PropagateDownloadFile(0x5571c34757d0)
01-14 10:03:29:875 [ info nextcloud.sync.accessmanager ]: 2 "" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/todo/todo-list.org" has X-Request-ID "41f8110d-654b-428c-a7d6-35fed3d2667e"
01-14 10:03:29:875 [ info nextcloud.sync.networkjob ]: OCC::GETFileJob created for "https://ppp.woelkli.com" + "/todo/todo-list.org" "OCC::PropagateDownloadFile"
01-14 10:03:29:878 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Running
01-14 10:03:29:879 [ info nextcloud.sync.propagator ]: Starting CSyncEnums::CSYNC_INSTRUCTION_NEW propagation of "todo/zoo" by OCC::PropagateDownloadFile(0x7f29340a17b0)
01-14 10:03:29:879 [ info nextcloud.sync.accessmanager ]: 2 "" "https://#ppp.woelkli.com/remote.php/dav/files/alper.alimoglu#gmail.com/todo/zoo" has X-Request-ID "27d4ff9f-5e9a-46d8-82a0-372ed440001c"
01-14 10:03:29:879 [ info nextcloud.sync.networkjob ]: OCC::GETFileJob created for "https://ppp.woelkli.com" + "/todo/zoo" "OCC::PropagateDownloadFile"
01-14 10:03:29:882 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Running
01-14 10:03:30:096 [ info nextcloud.sync.checksums ]: Computing "SHA1" checksum of "/home/alper/Nextcloud/todo/..todo-list.org_archive.~29f9cf4b" in a thread
01-14 10:03:30:096 [ info nextcloud.sync.propagator.download ]: "alper.alimoglu#gmail.com" "alper.alimoglu#gmail.com" "alper.alimoglu#gmail.com#ppp.woelkli.com"
01-14 10:03:30:096 [ info nextcloud.sync.database ]: Updating file record for path: "todo/.todo-list.org_archive" inode: 5646007 modtime: 1673083763 type: CSyncEnums::ItemTypeFile etag: "12af94e75dbfc087dc6b8038a1a7e131" fileId: "99398133ock6rp1oyjad" remotePerm: "WDNVR" fileSize: 347 checksum: "SHA1:55cd297d7da6b9c4c7854805bbdb4791099e32a8" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:30:097 [ info nextcloud.sync.propagator ]: Completed propagation of "todo/.todo-list.org_archive" by OCC::PropagateDownloadFile(0x5571c34daf00) with status OCC::SyncFileItem::Success
01-14 10:03:30:097 [ info nextcloud.sync.checksums ]: Computing "SHA1" checksum of "/home/alper/Nextcloud/todo/.zoo.~5c52cf8e" in a thread
01-14 10:03:30:097 [ info nextcloud.sync.checksums ]: Computing "SHA1" checksum of "/home/alper/Nextcloud/todo/.todo-list.org.~689a35f5" in a thread
01-14 10:03:30:098 [ info nextcloud.sync.propagator.download ]: "alper.alimoglu#gmail.com" "alper.alimoglu#gmail.com" "alper.alimoglu#gmail.com#ppp.woelkli.com"
01-14 10:03:30:098 [ info nextcloud.sync.database ]: Updating file record for path: "todo/zoo" inode: 5646009 modtime: 1673667228 type: CSyncEnums::ItemTypeFile etag: "d8a5a3511a0e045530ebd37209a2af32" fileId: "99781299ock6rp1oyjad" remotePerm: "WDNVR" fileSize: 0 checksum: "SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:30:098 [ info nextcloud.sync.propagator ]: Completed propagation of "todo/zoo" by OCC::PropagateDownloadFile(0x7f29340a17b0) with status OCC::SyncFileItem::Success
01-14 10:03:30:098 [ info nextcloud.sync.propagator.download ]: "alper.alimoglu#gmail.com" "alper.alimoglu#gmail.com" "alper.alimoglu#gmail.com#ppp.woelkli.com"
01-14 10:03:30:098 [ info nextcloud.sync.database ]: Updating file record for path: "todo/todo-list.org" inode: 5646008 modtime: 1673666892 type: CSyncEnums::ItemTypeFile etag: "d145e38a7f9b55a53706cc101a635779" fileId: "99382200ock6rp1oyjad" remotePerm: "WDNVR" fileSize: 148 checksum: "SHA1:d4199fbec083bd84270dcba2f62646509aa1c8f4" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:30:098 [ info nextcloud.sync.propagator ]: Completed propagation of "todo/todo-list.org" by OCC::PropagateDownloadFile(0x5571c34757d0) with status OCC::SyncFileItem::Success
01-14 10:03:30:099 [ info nextcloud.sync.database ]: Updating file record for path: "todo" inode: 5646006 modtime: 1673667233 type: CSyncEnums::ItemTypeDirectory etag: "63c222a1476e3" fileId: "99376056ock6rp1oyjad" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: ""
01-14 10:03:30:099 [ info nextcloud.sync.propagator ]: PropagateDirectory::slotSubJobsFinished emit finished OCC::SyncFileItem::Success
01-14 10:03:30:099 [ info nextcloud.sync.propagator.root.directory ]: OCC::SyncFileItem::Success slotSubJobsFinished OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Finished
01-14 10:03:30:102 [ info nextcloud.sync.propagator.root.directory ]: scheduleSelfOrChild OCC::PropagatorJob::Running pending uploads 0 subjobs state OCC::PropagatorJob::Finished
01-14 10:03:30:102 [ info nextcloud.sync.propagator ]: PropagateRootDirectory::slotDirDeletionJobsFinished emit finished OCC::SyncFileItem::Success
01-14 10:03:30:102 [ info nextcloud.sync.engine ]: Sync run took 789 ms
01-14 10:03:30:102 [ info nextcloud.sync.database ]: Closing DB "/home/alper/Nextcloud/.sync_33fdb314a5d8.db"

Why Apache Camel result on Graceful shutdown

Hello I have an app written in Kotlin and using Spring boot Framework and Apache Camel:
https://camel.apache.org/components/latest/smpp-component.html#_spring_boot_auto_configuration
So I am new in Smpp protocol I am suppuse trying to connecto to SMC simulator so I guess my
"client" should be wait for a message from SMC in this case when I run the application it
appears just stop and anymore. As it just stops I would think something is wrong.
#Bean
fun camelContextConfiguration(): CamelContextConfiguration{
return object : CamelContextConfiguration {
override fun afterApplicationStart(camelContext: CamelContext?) {
logger.info("*********************************************************************************")
//var query : Query?
//val oldRoute : List<Route> = camelContext!!.routes
camelContext!!.routes
//logger.info("Old Routes")
//logger.info(oldRoute.size.toString())
// for(route:Route in oldRoute) {
// logger.info("Route with routeId {} is deleted",route.id)
// camelContext.stopRoute(route.id)
// camelContext.removeRoute(route.id)
// }
camelContext.isUseMDCLogging=true
logger.info("ROUTES")
val routeDefinition = RouteDefinition()
routeDefinition.id="1"
routeDefinition.onException(Exception::class.java).handled(true)
.process(exceptionProcessor())
.end()
routeDefinition.from("smpp://smppclient#smscsim.melroselabs.com:2775?password=password&enquireLinkTimer=3000&transactionTimer=5000&systemId=145244&systemType='Receiver'")
routeDefinition.to("log:com.app.smppdispenser.infraestructure.smpp?showBody=true&showHeaders=true")
routeDefinition.process(messageProcessor())
camelContext.addRouteDefinition(routeDefinition)
//routeDefinition.setHeader("CamelSmppCommandId", constant("query_sm"))
//routeDefinition.setHeader("CamelSmppSequenceNumber", constant("1"))
logger.info("Route is added with routeId {} ",routeDefinition.id)
//}
logger.info("CamelConfiguration afterApplicationStart OK")
}
override fun beforeApplicationStart(camelContext: CamelContext?) {
logger.info("CamelConfiguration beforeApplicationStart")
}
}
}
This is the log>
2021-06-06 10:37:06.824 INFO 5604 --- [ main]
o.a.c.s.boot.CamelContextConfiguration : ROUTES 2021-06-06
10:37:07.538 INFO 5604 --- [ main]
org.jsmpp.session.SMPPSession : Connected to
smscsim.melroselabs.com/18.200.51.80 2021-06-06 10:37:07.541 INFO
5604 --- [ession#31859960] org.jsmpp.session.SMPPSession :
Starting PDUReaderWorker 2021-06-06 10:37:07.817 INFO 5604 --- [
main] org.jsmpp.session.SMPPSession : Other side reports
SMPP interface version 34 2021-06-06 10:37:07.817 INFO 5604 --- [
main] org.jsmpp.session.SMPPSession : Changing processor
degree to 3 2021-06-06 10:37:07.819 INFO 5604 --- [ main]
o.a.camel.component.smpp.SmppConsumer : Connected to:
smpp://145244#smscsim.melroselabs.com:2775 2021-06-06 10:37:07.820
INFO 5604 --- [ main] o.a.camel.spring.SpringCamelContext
: Route: 1 started and consuming from:
smpp://smppclient#smscsim.melroselabs.com:2775?enquireLinkTimer=3000&password=xxxxxx&systemId=145244&systemType=%27Receiver%27&transactionTimer=5000
2021-06-06 10:37:07.821 INFO 5604 --- [ main]
o.a.c.s.boot.CamelContextConfiguration : Route is added with routeId
1 2021-06-06 10:37:07.821 INFO 5604 --- [ main]
o.a.c.s.boot.CamelContextConfiguration : CamelConfiguration
afterApplicationStart OK 2021-06-06 10:37:07.936 INFO 5604 --- [
Thread-2] o.s.w.c.s.GenericWebApplicationContext : Closing
org.springframework.web.context.support.GenericWebApplicationContext#2cf3d63b:
startup date [Sun Jun 06 10:36:55 COT 2021]; root of context hierarchy
2021-06-06 10:37:07.944 INFO 5604 --- [ Thread-2]
o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase
2147483647 2021-06-06 10:37:07.945 INFO 5604 --- [ Thread-2]
o.a.camel.spring.SpringCamelContext : Apache Camel 2.20.1
(CamelContext: camel-1) is shutting down 2021-06-06 10:37:07.946 INFO
5604 --- [ Thread-2] o.a.camel.impl.DefaultShutdownStrategy :
Starting to graceful shutdown 1 routes (timeout 300 seconds)
2021-06-06 10:37:08.163 WARN 5604 --- [ession#31859960]
org.jsmpp.session.SMPPSession : IOException while reading:
Socket Closed 2021-06-06 10:37:08.164 INFO 5604 --- [ - ShutdownTask]
o.a.camel.component.smpp.SmppConsumer : Disconnected from:
smpp://145244#smscsim.melroselabs.com:2775 2021-06-06 10:37:08.164
INFO 5604 --- [ - ShutdownTask] o.a.camel.impl.DefaultShutdownStrategy
: Route: 1 shutdown complete, was consuming from:
smpp://smppclient#smscsim.melroselabs.com:2775?enquireLinkTimer=3000&password=xxxxxx&systemId=145244&systemType=%27Receiver%27&transactionTimer=5000
2021-06-06 10:37:08.165 INFO 5604 --- [ession#31859960]
org.jsmpp.session.SMPPSession : PDUReaderWorker stop
2021-06-06 10:37:08.166 INFO 5604 --- [ Thread-2]
o.a.camel.impl.DefaultShutdownStrategy : Graceful shutdown of 1
routes completed in 0 seconds 2021-06-06 10:37:08.202 INFO 5604 --- [
Thread-2] o.a.camel.spring.SpringCamelContext : Apache Camel
2.20.1 (CamelContext: camel-1) uptime 1.629 seconds 2021-06-06 10:37:08.203 INFO 5604 --- [ Thread-2]
o.a.camel.spring.SpringCamelContext : Apache Camel 2.20.1
(CamelContext: camel-1) is shutdown in 0.257 seconds Process finished
with exit code 0
Edit
I have added thse option: camel.springboot.main-run-controller = true then I see this new line in my log but it finish of the same way.
there are some options:
add a spring boot starter web which starts a web server and keep the application running
use a property as explained here: https://camel.apache.org/camel-spring-boot/3.7.x/spring-boot.html#SpringBoot-Keepingapplicationalive

While executing script it will launch URL in emulator and rest of line are not executing in karate framework

When i executing script it will launch URL"www.google.com" in emulator and rest of line are not executing.
"Please suggest me the solution" Is this way to write elements?
Environment details:
JDK 1.8
Appium v1.17
Node js v12.18
Andriod stuido v4
Feature file:
Feature: Testing Mobile
Scenario: launch chrome in appium
* configure driver =
"""
{
type: 'android',
webDriverPath : "/wd/hub",
start: true,
httpConfig : { readTimeout: 120000 }
}
"""
* def desiredConfig =
"""
{
"newCommandTimeout" : 300,
"platformVersion" : "10.0",
"platformName" : "Android",
"connectHardwareKeyboard" : true,
"deviceName" : "emulator-5554",
"avd" : "Pixel_2_API_29",
"automationName" : "UiAutomator2",
"browserName" : "Chrome" ,
"chromedriverExecutable" : "C:/Users/abc/Downloads/chromedriver_win32_2/chromedriver.exe"
}
"""
* driver { webDriverSession: { desiredCapabilities : "#(desiredConfig)"} }
* driver 'http://google.com'
And delay(4000)
* driver click("//a[text()='Images']")
# driver.input("//input[#name='q']", 'karate dsl')
Logs in console:
10:31:16.654 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [HTTP] --> POST /wd/hub
/session/3b12fd81-db3b-421e-8218-b94c1ed331b5/element
10:31:16.695 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [HTTP] {"using":"xpath","value":"//a[text()
='Images']"}
10:31:16.698 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [MJSONWP (3b12fd81)] Calling AppiumDrive
r.findElement() with args: ["xpath","//a[text()='Images']","3b12fd81-db3b-421e-8218-b94c1ed331b5"]
10:31:16.699 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [BaseDriver] Valid locator strategies fo
r this request: xpath, id, class name, accessibility id, -android uiautomator
10:31:16.702 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [BaseDriver] Waiting up to 0 ms for cond
ition
10:31:16.703 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [WD Proxy] Matched '/element' to command
name 'findElement'
10:31:16.706 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [WD Proxy] Proxying [POST /element] to [
POST http://127.0.0.1:8203/wd/hub/session/600582cc-a05b-422e-b886-7daeff02de45/element] with body: {"strategy":"xpath","selector":"//a[text()='Images']","context":"","multiple":false}
10:31:17.466 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [WD Proxy] Got response with status 404: {"sessi
onId":"600582cc-a05b-422e-b886-7daeff02de45","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon...
10:31:17.467 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [W3C] Matched W3C error code 'no such el
ement' to NoSuchElementError
10:31:17.474 [ForkJoinPool-1-worker-1] DEBUG com.intuit.karate - response time in milliseconds: 823.75
5 < 500
5 < Connection: keep-alive
5 < Content-Length: 164
5 < Content-Type: application/json; charset=utf-8
5 < Date: Wed, 01 Jul 2020 05:01:17 GMT
5 < ETag: W/"a4-/qNMwkKiq6QWZf9aZdImFcg10wM"
5 < Vary: X-HTTP-Method-Override
5 < X-Powered-By: Express
{"status":7,"value":{"message":"An element could not be located on the page using the given search parameters."},"sessionId":"3b12fd81-db3b-421e-8218-b94c1ed331b5"}
10:31:17.478 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [MJSONWP (3b12fd81)] Encountered interna
l error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
10:31:17.484 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [MJSONWP (3b12fd81)] at AndroidUiaut
omator2Driver.findElOrEls (C:\Users\M1058955\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\lib\commands\find.js:75:11)
10:31:17.484 [ForkJoinPool-1-worker-1] WARN com.intuit.karate - http response code: 500, response: {"sessionId":"3b12fd81-db3b-421e-8218-b94c1ed331b5","value":{"message":"An element could not be located on the page using the given search parameters."},"status":7}, request: [method: POST, responseTime: 823.7536, body: {"using":"xpath","value":"//a[text()='Images']"}]
10:31:17.484 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [HTTP] <-- POST /wd/hub/session/3b12fd81-db
3b-421e-8218-b94c1ed331b5/element 500 819 ms - 164
10:31:17.484 [ForkJoinPool-1-worker-1] WARN c.i.k.driver.android_1593579654225 - locator failed, will retry once: {"sessionId":"3b12fd81-db3b-421e-8218-b94c1ed331b5","value":{"message":"An element could not be located on the page using the given search parameters."},"status":7}
10:31:17.485 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [HTTP]
10:31:20.490 [ForkJoinPool-1-worker-1] DEBUG com.intuit.karate - request:
6 > POST http://localhost:50636/wd/hub/session/3b12fd81-db3b-421e-8218-b94c1ed331b5/element
6 > Accept-Encoding: gzip,deflate
6 > Connection: Keep-Alive
6 > Content-Length: 48
6 > Content-Type: application/json; charset=UTF-8
6 > Host: localhost:50636
6 > User-Agent: Apache-HttpClient/4.5.12 (Java/1.8.0_181)
{"using":"xpath","value":"//a[text()='Images']"}
10:31:20.531 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [HTTP] --> POST /wd/hub
/session/3b12fd81-db3b-421e-8218-b94c1ed331b5/element
10:31:20.532 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [HTTP] {"using":"xpath","value":"//a[text()
='Images']"}
10:31:20.533 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [MJSONWP (3b12fd81)] Calling AppiumDrive
r.findElement() with args: ["xpath","//a[text()='Images']","3b12fd81-db3b-421e-8218-b94c1ed331b5"]
10:31:20.534 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [BaseDriver] Valid locator strategies fo
r this request: xpath, id, class name, accessibility id, -android uiautomator
10:31:20.535 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [BaseDriver] Waiting up to 0 ms for cond
ition
10:31:20.536 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [WD Proxy] Matched '/element' to command
name 'findElement'
10:31:20.536 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [WD Proxy] Proxying [POST /element] to [
POST http://127.0.0.1:8203/wd/hub/session/600582cc-a05b-422e-b886-7daeff02de45/element] with body: {"strategy":"xpath","selector":"//a[text()='Images']","context":"","multiple":false}
10:31:21.026 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [WD Proxy] Got response with status 404: {"sessi
onId":"600582cc-a05b-422e-b886-7daeff02de45","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:102)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:72)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCon...
10:31:21.027 [android_1593579654225] DEBUG c.i.k.driver.android_1593579654225 - [debug] [W3C] Matched W3C error code 'no such el
ement' to NoSuchElementError
10:31:21.028 [ForkJoinPool-1-worker-1] DEBUG com.intuit.karate - response time in milliseconds: 498.60
6 < 500
can you please try karate version 0.9.6.RC3 ?, maybe based on you location Images locator might be changing?
xpath
Given driver 'https://www.google.com'
Then waitForUrl('https://www.google.com')
And click("//a[text()='Images']")
And input("//input[#name='q']", 'karate dsl')
should work with this version of karate and appium 1.17.1.

H2 db cannot be found during test execution

I want to use my profile 'dev' during the test execution. But when I run tests H2 db cannot be found.
Abstract test class:
#RunWith(SpringRunner.class)
#SpringBootTest(classes = MyServiceStarter.class)
#ActiveProfiles("dev")
public abstract class AbstractModulIntegrationTest { ... }
Properties:
flyway.locations=filesystem:./database/h2
flyway.enabled=true
# hsqldb
spring.datasource.platform=h2
spring.jpa.hibernate.ddl-auto=validate
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:./db/gcrs;AUTO_SERVER=TRUE
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.password=
spring.datasource.username=sa
spring.jpa.database=h2
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
When I run test in the output it prints Unable to resolve location: filesystem:./database/h2
2017-03-14 18:05:24.500 INFO 7460 --- [ main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
2017-03-14 18:05:24.500 INFO 7460 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Started.
2017-03-14 18:05:25.002 INFO 7460 --- [ main] o.f.c.i.dbsupport.DbSupportFactory : Database: jdbc:h2:./db/gcrs (H2 1.4)
2017-03-14 18:05:25.018 WARN 7460 --- [ main] o.f.c.i.u.s.f.FileSystemScanner : Unable to resolve location filesystem:./database/h2
2017-03-14 18:05:25.049 WARN 7460 --- [ main] o.f.c.i.u.s.f.FileSystemScanner : Unable to resolve location filesystem:./database/h2
2017-03-14 18:05:25.049 WARN 7460 --- [ main] o.f.c.i.u.s.f.FileSystemScanner : Unable to resolve location filesystem:./database/h2
2017-03-14 18:05:25.049 INFO 7460 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 0 migrations (execution time 00:00.006s)
2017-03-14 18:05:25.064 INFO 7460 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >>
2017-03-14 18:05:25.064 INFO 7460 --- [ main] o.f.core.internal.command.DbMigrate : Schema "PUBLIC" is up to date. No migration necessary.
2017-03-14 18:05:25.205 INFO 7460 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-14 18:05:25.220 INFO 7460 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
Spring boot version: 1.5.1.RELEASE
My colleague found the solution. The problem was in the wrong path. This solved my issue:
#SpringBootTest(classes = MyServiceStarter.class, properties = {"flyway.locations=filesystem:../database/h2"})

Error from Json Loader in Pig

I have got below error while writing json scripts.. Please let me know how to write json loader script in pig.
script:
x = LOAD 'hdfs://user/spanda20/pig/phone.dat' USING JsonLoader('id:chararray, phone:(home:{(num:chararray, city:chararray)})');
Data set:
{
"id": "12345",
"phone": {
"home": [
{
"zip": "23060",
"city": "henrico"
},
{
"zip": "08902",
"city": "northbrunswick"
}
]
}
}
2015-03-18 14:24:10,917 [main] WARN org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Ooops! Some job has failed! Specify -stop_on_failure if you want Pig to stop immediately on failure.
2015-03-18 14:24:10,918 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - job job_1426618756946_0028 has failed! Stop running all dependent jobs
2015-03-18 14:24:10,918 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 100% complete
2015-03-18 14:24:10,977 [main] ERROR org.apache.pig.tools.pigstats.SimplePigStats - ERROR 2997: Unable to recreate exception from backed error: AttemptID:attempt_1426618756946_0028_m_000000_3 Info:Error: org.codehaus.jackson.JsonParseException: Unexpected end-of-input: expected close marker for OBJECT (from [Source: java.io.ByteArrayInputStream#43c59008; line: 1, column: 0])
at [Source: java.io.ByteArrayInputStream#43c59008; line: 1, column: 3]
at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1291)
at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)
at org.codehaus.jackson.impl.JsonParserMinimalBase._reportInvalidEOF(JsonParserMinimalBase.java:318)
at org.codehaus.jackson.impl.JsonParserBase._handleEOF(JsonParserBase.java:354)
at org.codehaus.jackson.impl.Utf8StreamParser._skipWSOrEnd(Utf8StreamParser.java:1841)
at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:275)
at org.apache.pig.builtin.JsonLoader.readField(JsonLoader.java:180)
at org.apache.pig.builtin.JsonLoader.getNext(JsonLoader.java:164)
at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.nextKeyValue(PigRecordReader.java:211)
at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:553)
at org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:80)
at org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.nextKeyValue(WrappedMapper.java:91)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:784)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
2015-03-18 14:24:10,977 [main] ERROR org.apache.pig.tools.pigstats.PigStatsUtil - 1 map reduce job(s) failed!
2015-03-18 14:24:10,978 [main] INFO org.apache.pig.tools.pigstats.SimplePigStats - Script Statistics:
HadoopVersion PigVersion UserId StartedAt FinishedAt Features
2.5.0-cdh5.2.0 0.12.0-cdh5.2.0 spanda20 2015-03-18 14:23:02 2015-03-18 14:24:10 UNKNOWN
Regards
Sanjeeb
Sanjeeb - Use this json:
{"id":"12345","phone":{"home":[{"zip":"23060","city":"henrico"},{"zip":"08902","city":"northbrunswick"}]}}
output shall be:
(12345,({(23060,henrico),(08902,northbrunswick)}))
PS: Pig doesn't usually like "human readable" json. Get rid of the spaces and/or indentations, and you're good.