Rtems 5 BSP Test Failing - embedded

I am trying to install rtems 5 on my ubuntu-19.04 machine, using the instructions in QuickStart, everything is ok until section 2.7, when it appears that the gdb that was built is missing the "sim" target.
The complete sequence of commands is :
2022 mkdir -p $HOME/quick-start/src
2023 cd $HOME/quick-start/src
2024 git clone git://git.rtems.org/rtems-source-builder.git rsb
2025 git clone git://git.rtems.org/rtems.git
2026 cd $HOME/quick-start/src/rsb/rtems
2027 ../source-builder/sb-set-builder --source-only-download 5/rtems-sparc
2028 cd $HOME/quick-start/src/rsb/rtems
2029 ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/5 5/rtems-sparc
2030 $HOME/quick-start/rtems/5/bin/sparc-rtems5-gcc --version --verbose
2031 cd $HOME/quick-start/src/rtems
2032 export PATH=$HOME/quick-start/rtems/5/bin:"$PATH"
2033 ./bootstrap -c
2034 $HOME/quick-start/src/rsb/source-builder/sb-bootstrap
2035 mkdir -p $HOME/quick-start/build/b-erc32
2036 cd $HOME/quick-start/build/b-erc32
2037 export PATH=$HOME/quick-start/rtems/5/bin:"$PATH"
2038 $HOME/quick-start/src/rtems/configure --prefix=$HOME/quick-start/rtems/5 --enable-maintainer-mode --target=sparc-rtems5 --enable-rtemsbsp=erc32 --enable-tests
2039 cd $HOME/quick-start/build/b-erc32
2040 make
2041 cd $HOME/quick-start/build/b-erc32
2042 make install
2043 cd $HOME/quick-start/build/b-erc32
2044 rtems-test --rtems-bsp=erc32 --rtems-tools=$HOME/quick-start/rtems/5 .
A check of the source builder says OK:
user#machine:~/quick-start/build/b-erc32$ $HOME/quick-start/src/rsb/source-builder/sb-check
RTEMS Source Builder - Check, 5 (4a6f476c14aa)
Environment is ok
The Actual test & output:
user#machine:~/quick-start/build/b-erc32$ rtems-test --rtems-bsp=erc32 --rtems-tools=$HOME/quick-start/rtems/5 .
RTEMS Testing - Tester, 5.0.not_released
Command Line: /home/user/quick-start/rtems/5/bin/rtems-test --rtems-bsp=erc32 --rtems-tools=/home/user/quick-start/rtems/5 .
Host: Linux machine 5.0.0-31-generic #33-Ubuntu SMP Mon Sep 30 18:51:59 UTC 2019 x86_64
Python: 3.7.3 (default, Aug 20 2019, 17:04:43) [GCC 8.3.0]
Host: Linux-5.0.0-31-generic-x86_64-with-Ubuntu-19.04-disco (Linux machine 5.0.0-31-generic #33-Ubuntu SMP Mon Sep 30 18:51:59 UTC 2019 x86_64 x86_64)
[ 1/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: dhrystone.exe
[ 4/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: fsbdpart01.exe
[ 2/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: linpack.exe
[ 3/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: whetstone.exe
[ 6/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: fsdosfsformat01.exe
[ 5/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: fsclose01.exe
[ 7/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: fsdosfsname01.exe
[ 8/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: fsdosfsname02.exe
[ 1/601] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | sparc/erc32: dhrystone.exe
Result: invalid Time: 0:00:03.029451 dhrystone.exe
=> gdb: /home/user/quick-start/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet ./sparc-rtems5/c/erc32/testsuites/benchmarks/dhrystone.exe
=> Reading symbols from ./sparc-rtems5/c/erc32/testsuites/benchmarks/dhrystone.exe...
=> target sim
=> Undefined target command: "sim". Try "help target".
=> quit
[SNIP]
[601/601] p:1 f:0 u:0 e:0 I:0 B:0 t:0 i:593 W:0 | sparc/erc32: tmtimer01.exe
Result: invalid Time: 0:00:03.006092 tmtimer01.exe
=> gdb: /home/user/quick-start/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet ./sparc-rtems5/c/erc32/testsuites/tmtests/tmtimer01.exe
=> Reading symbols from ./sparc-rtems5/c/erc32/testsuites/tmtests/tmtimer01.exe...
=> target sim
=> Undefined target command: "sim". Try "help target".
=> quit
Passed: 1
Failed: 0
User Input: 0
Expected Fail: 0
Indeterminate: 0
Benchmark: 0
Timeout: 0
Invalid: 600
Wrong Version: 0
Wrong Build: 0
Wrong Tools: 0
------------------
Total: 601
Does anyone more experienced with rtems know how to build the sparc-rtems5-gdb properly so this can be corrected ?

The SIS (Software Instruction Simulator) has been removed from GDB and is now available as a separate command called sis. Please check if this command has been built and installed with your RTEMS tool set. If present please use --rtems-bsp=erc32-sis as the test command BSP:
rtems-test --rtems-bsp=erc32-sis --rtems-tools=$HOME/quick-start/rtems/5 .
The SIS simulator in GDB was being maintained as a patch to GDB in the RTEMS tools and this created work everytime we updated the GDB version. A separate program is simpler to maintain and can be used with GDB via the remote protocol so everything we had with the patch is still present but we do not need to keep a patch hang around. The new sis command also supports RISCV simulation as well.

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"

Run ansible as root with specific sudoers

My issue is that I have one server where the sudoers for the ansible user is like this:
ansible ALL=(root) NOPASSWD: /usr/bin/su - root
Hence, the only way to switch to the root user is:
sudo su - root
When I try to run the below ansible playbook:
---
- name: Configure Local Repo server address
hosts: lab
remote_user: ansible
become: yes
become_user: root
become_method: runas
tasks:
- name: test whoami
become: yes
shell:
cmd: whoami
register: whoami_output
- debug: var=whoami_output
- name: Deploy local.repo file to the hosts
become: yes
copy:
src: /etc/ansible/files/local.repo
dest: /etc/yum.repos.d/local.repo
owner: ansible
group: ansible
mode: 0644
backup: yes
register: deploy_file_output
- debug: var=deploy_file_output
I got the following error:
ansible-playbook --private-key /etc/ansible/keys/ansible_key /etc/ansible/playbooks/local_repo_provisioning.yml
PLAY [Configure Local Repo server address] *****************************************************************************************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************************************************************************************
ok: [10.175.65.12]
TASK [test whoami] *****************************************************************************************************************************************************************************************************************************
changed: [10.175.65.12]
TASK [debug] ***********************************************************************************************************************************************************************************************************************************
ok: [10.175.65.12] => {
"whoami_output": {
"changed": true,
"cmd": "whoami",
"delta": "0:00:00.003301",
"end": "2023-01-15 17:53:56.312715",
"failed": false,
"msg": "",
"rc": 0,
"start": "2023-01-15 17:53:56.309414",
"stderr": "",
"stderr_lines": [],
"stdout": "ansible",
"stdout_lines": [
"ansible"
]
}
}
TASK [Deploy local.repo file to the hosts] *****************************************************************************************************************************************************************************************************
fatal: [10.175.65.12]: FAILED! => {"changed": false, "checksum": "2356deb90d20d5f31351c719614d5b5760ab967d", "msg": "Destination /etc/yum.repos.d not writable"}
PLAY RECAP *************************************************************************************************************************************************************************************************************************************
10.175.65.12 : ok=3 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
When I tried to use become_method: sudo I got the "Missing sudo password" message. Further, when I tried become_method: su I got the "Timeout (12s) waiting for privilege escalation prompt:" message.
All in all, would someone know how to explain how ansible runs the commands deppending on the "become_method" set? Is there a way to switch to the root user with that kind of sudoers conf?
Thanks in advance!

Ansible ssh error: mux_client_read_packet: read header failed: Broken pipe Received exit status from master

I have a script /wd/remoteuser/stopALL.sh on remotehost i.e 10.0.0.211 and takes 3 seconds to complete execution and has full permission 775 for remoteuser.
Note: /wd/remoteuser/stopALL.sh does not exist on the host where ansible runs.
I wish to trigger the stop script on remotehost from my ansiblehost.
Below is how i run my ansible playbook.
ansible-playbook /app/playbook/ovs.yml -i /app/playbook/ovs.hosts -t stop -f 5 -e Environment=PROD -e Country=SRILANKA -vvvv
cat /app/playbook/ovs.yml
---
- name: Play 1- check for login and mount point
hosts: "*{{ Country }}_{{ Environment }}"
user: "{{ USER }}"
any_errors_fatal: true
vars:
ansible_ssh_extra_args: -o StrictHostKeyChecking=no -o ConnectTimeout=90 -o ServerAliveInterval=50
ansible_ssh_private_key_file: /app/ssh_keys/id_rsa
gather_facts: false
tasks:
- name: Execute backup stop1 script
tags: stop,restart
script: "{{ stopscript }}"
args:
chdir: "{{ stopscript | dirname }}"
register: stopscriptoutput
- name: Debug stopscript
tags: stop,restart
debug:
msg: "{{ stopscriptoutput.stdout }}"
cat /app/playbook/ovs.hosts
[APP_SRILANKA_PROD]
10.0.0.211 USER=remoteuser stopscript=/wd/remoteuser/stopALL.sh countrydet=SRILANKA evt=PROD
Output:
<10.0.0.211> (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256#libssh.org,diffie-hellman-group14-sha1,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,gss-gex-sha1-,gss-group14-sha1-]\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 190236\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
fatal: [10.0.0.211]: FAILED! => {
"changed": false,
"msg": "Could not find or access '/wd/remoteuser/stopALL.sh' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"
}
NO MORE HOSTS LEFT *****************************************************************************************************************************************************
PLAY RECAP *************************************************************************************************************************************************************
10.0.0.211 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
I get this ssh read header failed: Broken pipe error even if I use the shell module as shown below.
- name: Execute backup stop1 script
tags: stop
shell: "sleep 90; {{ stopscript }}; sleep 90"
register: stopscriptoutput
Kindly suggest how can I resolve the ssh broken pipe error and get the script to execute remotely?
Set the proxy in environment variable and it started working

React Native application compile but not load

I successfully eject from Expo, ran pod install inside the ios folder, then tried to open the app in ios emulator by running npx react-native run-ios. The log states the app successfully compiled but when loading the following error comes up:
2020-02-16 12:03:44.254694-0500 SantiEmpleoMobileApp[16257:151357] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2020-02-16 12:03:44.254877-0500 SantiEmpleoMobileApp[16257:151357] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2020-02-16 12:03:44.397 [info][tid:main][RCTCxxBridge.mm:213] Initializing <RCTCxxBridge: 0x7fda7b609240> (parent: <RCTBridge: 0x6000026f6bc0>, executor: (null))
2020-02-16 12:03:44.399272-0500 SantiEmpleoMobileApp[16257:151357] Initializing <RCTCxxBridge: 0x7fda7b609240> (parent: <RCTBridge: 0x6000026f6bc0>, executor: (null))
2020-02-16 12:03:44.575 [info][tid:main][RCTRootView.m:293] Running application SantiEmpleoMobileApp ({
initialProps = {
};
rootTag = 1;
})
2020-02-16 12:03:44.574862-0500 SantiEmpleoMobileApp[16257:151357] Running application SantiEmpleoMobileApp ({
initialProps = {
};
rootTag = 1;
})
2020-02-16 12:03:44.653278-0500 SantiEmpleoMobileApp[16257:151896] [] nw_socket_handle_socket_event [C4.1:1] Socket SO_ERROR [61: Connection refused]
2020-02-16 12:03:44.655031-0500 SantiEmpleoMobileApp[16257:151896] [] nw_socket_handle_socket_event [C4.2:1] Socket SO_ERROR [61: Connection refused]
2020-02-16 12:03:44.657333-0500 SantiEmpleoMobileApp[16257:151897] [] nw_connection_get_connected_socket [C4] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-02-16 12:03:44.680 [error][tid:NSOperationQueue 0x600000db7ea0 (QOS: UNSPECIFIED)][RCTCxxBridge.mm:414] Failed to load bundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(SyntaxError: /Users/rey/Desktop/SantiEmpleoMobileApp/screens/JobSummary.js: Unexpected token (13:0)
[0m [90m 11 | [39m [33mPlatform[39m[33m,[39m[0m
[0m [90m 12 | [39m [33mButton[39m[33m,[39m[0m
[0m[31m[1m>[22m[39m[90m 13 | [39m[33m<<[39m[33m<<[39m[33m<<[39m[33m<[39m [33mHEAD[39m[0m
[0m [90m | [39m[31m[1m^[22m[39m[0m
[0m [90m 14 | [39m[33m===[39m[33m===[39m[33m=[39m[0m
[0m [90m 15 | [39m [33mWebView[39m[0m
[0m [90m 16 | [39m[33m>>>[39m[33m>>>[39m[33m>[39m a5e240959854bd4efc85985344bcb06af0c281ef[0m (null))
2020-02-16 12:03:44.680574-0500 SantiEmpleoMobileApp[16257:151903] Failed to load bundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(SyntaxError: /Users/rey/Desktop/SantiEmpleoMobileApp/screens/JobSummary.js: Unexpected token (13:0)
\^[[0m \^[[90m 11 | \^[[39m \^[[33mPlatform\^[[39m\^[[33m,\^[[39m\^[[0m
\^[[0m \^[[90m 12 | \^[[39m \^[[33mButton\^[[39m\^[[33m,\^[[39m\^[[0m
\^[[0m\^[[31m\^[[1m>\^[[22m\^[[39m\^[[90m 13 | \^[[39m\^[[33m<<\^[[39m\^[[33m<<\^[[39m\^[[33m<<\^[[39m\^[[33m<\^[[39m \^[[33mHEAD\^[[39m\^[[0m
\^[[0m \^[[90m | \^[[39m\^[[31m\^[[1m^\^[[22m\^[[39m\^[[0m
\^[[0m \^[[90m 14 | \^[[39m\^[[33m===\^[[39m\^[[33m===\^[[39m\^[[33m=\^[[39m\^[[0m
\^[[0m \^[[90m 15 | \^[[39m \^[[33mWebView\^[[39m\^[[0m
\^[[0m \^[[90m 16 | \^[[39m\^[[33m>>>\^[[39m\^[[33m>>>\^[[39m\^[[33m>\^[[39m a5e240959854bd4efc85985344bcb06af0c281ef\^[[0m (null))

How to interpret #abc(01) in dynamic symbol name of an .so ELF formatted file?

I have two very similar .so files. Using readelf --syms --wide on them I receive...
... for the first:
631: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __cxa_guard_acquire#CXXABI_1.3 (18)
666: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __cxa_pure_virtual#CXXABI_1.3 (18)
... for the second:
671: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __cxa_guard_acquire#CXXABI_1.3 (21)
706: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __cxa_pure_virtual#CXXABI_1.3 (21)
What does the (18) and (21) mean, respectively?
What does the (18) and (21) mean, respectively?
It's the value of .vd_version from corresponding version definition (ElfXX_Verdef in elf.h). For example:
readelf -Ws /bin/date | egrep ' (setenv|clock_gettime)'
14: 0000000000000000 0 FUNC GLOBAL DEFAULT UND clock_gettime#GLIBC_2.17 (5)
15: 0000000000000000 0 FUNC GLOBAL DEFAULT UND setenv#GLIBC_2.2.5 (3)
readelf -V /bin/date
...
Version needs section '.gnu.version_r' contains 1 entry:
Addr: 0x0000000000000fd8 Offset: 0x000fd8 Link: 6 (.dynstr)
000000: Version: 1 File: libc.so.6 Cnt: 6
0x0010: Name: GLIBC_2.14 Flags: none Version: 7
0x0020: Name: GLIBC_2.4 Flags: none Version: 6
0x0030: Name: GLIBC_2.17 Flags: none Version: 5
0x0040: Name: GLIBC_2.3.4 Flags: none Version: 4
0x0050: Name: GLIBC_2.2.5 Flags: none Version: 3
0x0060: Name: GLIBC_2.3 Flags: none Version: 2
Note that GLIBC_2.2.5 has Version: 3 and GLIBC_2.17 has Version: 5.