Error: ADB exited with exit code 1 · Issue #52887 · flutter/flutter · GitHub

"script" module does not work in windows (authentication or permission failure) · issue #14085 · ansible/ansible

I was going to ask, and this may be a red herring but, if you run the same
command as a raw ansible module call do you get the same folder?

i.e.

Having seen your update, would it be possible to try your test against the
different branches again in a different order? The reason I ask, and this
is pure speculation at the moment, is I wonder if a logout or timeout is
removing the temp dir for the session you are getting. I’m not fully aware
of code changes but I don’t think there has been much recently regarding
the winrm connection – if something has changed twice between 1.9.stable
and latest dev.. well I’d be surprised.

If it is something that’s changed between stable-2.0 and stable-2.0.0.1 it
might be possible to determine what using git bisect, but that’s not
something I’ve tried before myself.

OK I believe I have narrowed this down a little bit.

I have reduced my deploy script to deploying to a single Windows instance,
with the following playbook:


  • name: Test
    hosts: app:&iis
    gather_facts: false
    tasks:
    • name: Test
      script: scripts/test.ps1

(where test.ps1 just does a Write-Host)

I am pulling Ansible using variations on the following command:

git clone https://huaweidevices.ru/ansible/ansible.git –recursive –branch xxx

…followed by a make install.

The following table lists which branches work and which don’t:
Branch Works?
latest / no branch No
stable-2.0.0.1 Yes
stable-2.0 No
stable-1.9 Yes

Since I would guess the differences between 2.0 and 2.0.0.1 are most
likely to lead to finding the exact problem, I’ve included my command
output for those two branches in full below:

an-ers2-20210123-103606-ansible-instance-yiwsqccpgwls:/home/cloud/test-deploy # ansible –version && ANSIBLE_CLOUDS_DIR=/home/cloud/clouds ANSIBLE_ENVIRONMENT=ci-orch ansible-playbook -i inventory/ci-orch playbook.yml –limit “test-authentication:&ci-orch” –extra-vars “temp=/home/cloud/test-deploy/temp liquibase_launcher=/home/cloud/liquibase-launcher.sh build=66” –vault-password-file vault_pass.txt -vvvvv
ansible 2.0.0.0
config file = /home/cloud/test-deploy/ansible.cfg
configured module search path = Default w/o overrides
Using /home/cloud/test-deploy/ansible.cfg as config file
Loaded callback default of type stdout, v2.0
1 plays in playbook.yml

Больше про Хуавей:  Как восстановить IMEI на Андроид телефоне – пошаговая инструкция

PLAY [Test] ********************************************************************

TASK [Test] ********************************************************************
task path: /home/cloud/test-deploy/playbook.yml:8
<10.206.148.110> ESTABLISH WINRM CONNECTION FOR USER: cloud on PORT 5986 TO 10.206.148.110
<10.206.148.110> WINRM CONNECT: transport=ssl endpoint=https://10.206.148.110:5986/wsman
<10.206.148.110> EXEC /bin/sh -c ‘PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgAoAE4AZQB3AC0ASQB0AGUAbQAgAC0AVAB5AHAAZQAgAEQAaQByAGUAYwB0AG8AcgB5ACAALQBQAGEAdABoACAAJABlAG4AdgA6AHQAZQBtAHAAIAAtAE4AYQBtAGUAIAAiAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAA1ADMAOAAwADAAMwA1ADYALgAyADQALQAyADUANAAzADYAOAA3ADkAMAA0ADYAMwA3ADUAOAAiACkALgBGAHUAbABsAE4AYQBtAGUAIAB8ACAAVwByAGkAdABlAC0ASABvAHMAdAAgAC0AUwBlAHAAYQByAGEAdABvAHIAIAAnACcAOwA=’
<10.206.148.110> WINRM OPEN SHELL: 4C29958C-F154-4E3B-9CEC-9F3A38E38F54
<10.206.148.110> WINRM EXEC ‘PowerShell’ [‘-NoProfile’, ‘-NonInteractive’, ‘-ExecutionPolicy’, ‘Unrestricted’, ‘-EncodedCommand’, ‘LwBiAGkAbgAvAHMAaAAgAC0AYwAgACcAUABvAHcAZQByAFMAaABlAGwAbAAgAC0ATgBvAFAAcgBvAGYAaQBsAGUAIAAtAE4AbwBuAEkAbgB0AGUAcgBhAGMAdABpAHYAZQAgAC0ARQB4AGUAYwB1AHQAaQBvAG4AUABvAGwAaQBjAHkAIABVAG4AcgBlAHMAdAByAGkAYwB0AGUAZAAgAC0ARQBuAGMAbwBkAGUAZABDAG8AbQBtAGEAbgBkACAAVQB3AEIAbABBAEgAUQBBAEwAUQBC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EkAQQBBAG4AQQBDAGMAQQBPAHcAQQA9ACcA’]
<10.206.148.110> WINRM RESULT u'<Response code 1, out “”, err “#< CLIXMLrn<Objs Ver”>’
<10.206.148.110> WINRM CLOSE SHELL: 4C29958C-F154-4E3B-9CEC-9F3A38E38F54
fatal: [te-h-amers1-20210120-161614-app_instance-ibrsao5jzsvm]: UNREACHABLE! => {“changed”: false, “msg”: “Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in “/tmp”. Failed command was: PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgAoAE4AZQB3AC0ASQB0AGUAbQAgAC0AVAB5AHAAZQAgAEQAaQByAGUAYwB0AG8AcgB5ACAALQBQAGEAdABoACAAJABlAG4AdgA6AHQAZQBtAHAAIAAtAE4AYQBtAGUAIAAiAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAA1ADMAOAAwADAAMwA1ADYALgAyADQALQAyADUANAAzADYAOAA3ADkAMAA0ADYAMwA3ADUAOAAiACkALgBGAHUAbABsAE4AYQBtAGUAIAB8ACAAVwByAGkAdABlAC0ASABvAHMAdAAgAC0AUwBlAHAAYQByAGEAdABvAHIAIAAnACcAOwA=, exited with result 1″, “unreachable”: true}

an-ers2-20210123-103606-ansible-instance-yiwsqccpgwls:/home/cloud/test-deploy # ansible –version && ANSIBLE_CLOUDS_DIR=/home/cloud/clouds ANSIBLE_ENVIRONMENT=ci-orch ansible-playbook -i inventory/ci-orch playbook.yml –limit “test-authentication:&ci-orch” –extra-vars “temp=/home/cloud/test-deploy/temp liquibase_launcher=/home/cloud/liquibase-launcher.sh build=66” –vault-password-file vault_pass.txt -vvvvv
ansible 2.0.0.2
config file = /home/cloud/test-deploy/ansible.cfg
configured module search path = Default w/o overrides
Using /home/cloud/test-deploy/ansible.cfg as config file
Loaded callback default of type stdout, v2.0
1 plays in playbook.yml

PLAY [Test] ********************************************************************

TASK [Test] ********************************************************************
task path: /home/cloud/test-deploy/playbook.yml:8
<10.206.148.110> ESTABLISH WINRM CONNECTION FOR USER: cloud on PORT 5986 TO 10.206.148.110
<10.206.148.110> WINRM CONNECT: transport=ssl endpoint=https://10.206.148.110:5986/wsman
<10.206.148.110> EXEC Set-StrictMode -Version Latest
(New-Item -Type Directory -Path $env:temp -Name “ansible-tmp-1453800579.24-246181514630938″).FullName | Write-Host -Separator ”;
<10.206.148.110> WINRM OPEN SHELL: 0371F241-5C30-4444-A7D7-5A58624B8B35
<10.206.148.110> WINRM EXEC u’PowerShell’ [u’-NoProfile’, u’-NonInteractive’, u’-ExecutionPolicy’, u’Unrestricted’, u’-EncodedCommand’, u’UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgAoAE4AZQB3AC0ASQB0AGUAbQAgAC0AVAB5AHAAZQAgAEQAaQByAGUAYwB0AG8AcgB5ACAALQBQAGEAdABoACAAJABlAG4AdgA6AHQAZQBtAHAAIAAtAE4AYQBtAGUAIAAiAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAA1ADMAOAAwADAANQA3ADkALgAyADQALQAyADQANgAxADgAMQA1ADEANAA2ADMAMAA5ADMAOAAiACkALgBGAHUAbABsAE4AYQBtAGUAIAB8ACAAVwByAGkAdABlAC0ASABvAHMAdAAgAC0AUwBlAHAAYQByAGEAdABvAHIAIAAnACcAOwA=’]
<10.206.148.110> WINRM RESULT u'<Response code 0, out “C:UserscloudAppDa”, err “”>’
<10.206.148.110> PUT “/home/cloud/test-deploy/scripts/test.ps1” TO “C:UserscloudAppDataLocalTempansible-tmp-1453800579.24-246181514630938test.ps1”
<10.206.148.110> WINRM PUT “/home/cloud/test-deploy/scripts/test.ps1” to “C:UserscloudAppDataLocalTempansible-tmp-1453800579.24-246181514630938test.ps1” (offset=19 size=19)
<10.206.148.110> EXEC & “C:UserscloudAppDataLocalTempansible-tmp-1453800579.24-246181514630938test.ps1”
<10.206.148.110> WINRM EXEC ‘PowerShell’ [‘-NoProfile’, ‘-NonInteractive’, ‘-ExecutionPolicy’, ‘Unrestricted’, ‘-EncodedCommand’, ‘JgAgACAAIgBDADoAXABVAHMAZQByAHMAXABjAGwAbwB1AGQAXABBAHAAcABEAGEAdABhAFwATABvAGMAYQBsAFwAVABlAG0AcABcAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAA1ADMAOAAwADAANQA3ADkALgAyADQALQAyADQANgAxADgAMQA1ADEANAA2ADMAMAA5ADMAOABcAHQAZQBzAHQALgBwAHMAMQAiAA==’]
<10.206.148.110> WINRM RESULT u'<Response code 0, out “Testn”, err “”>’
<10.206.148.110> EXEC Set-StrictMode -Version Latest
Remove-Item “C:UserscloudAppDataLocalTempansible-tmp-1453800579.24-246181514630938” -Force -Recurse;
<10.206.148.110> WINRM EXEC u’PowerShell’ [u’-NoProfile’, u’-NonInteractive’, u’-ExecutionPolicy’, u’Unrestricted’, u’-EncodedCommand’, u’UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgBSAGUAbQBvAHYAZQAtAEkAdABlAG0AIAAiAEMAOgBcAFUAcwBlAHIAcwBcAGMAbABvAHUAZABcAEEAcABwAEQAYQB0AGEAXABMAG8AYwBhAGwAXABUAGUAbQBwAFwAYQBuAHMAaQBiAGwAZQAtAHQAbQBwAC0AMQA0ADUAMwA4ADAAMAA1ADcAOQAuADIANAAtADIANAA2ADEAOAAxADUAMQA0ADYAMwAwADkAMwA4ACIAIAAtAEYAbwByAGMAZQAgAC0AUgBlAGMAdQByAHMAZQA7AA==’]
<10.206.148.110> WINRM RESULT u'<Response code 0, out “”, err “”>’
<10.206.148.110> WINRM CLOSE SHELL: 0371F241-5C30-4444-A7D7-5A58624B8B35
changed: [te-h-amers1-20210120-161614-app_instance-ibrsao5jzsvm] => {“changed”: true, “invocation”: {“module_args”: {“_raw_params”: “scripts/test.ps1”}, “module_name”: “script”}, “rc”: 0, “stderr”: “”, “stdout”: “Testn”, “stdout_lines”: [“Test”]}

Больше про Хуавей:  Как слушать mp3-файлы на смартфоне HUAWEI (honor) – H-HELPERS | SupportZone | Зона ПОДДЕРЖКИ смартфонов HUAWEI honor

PLAY RECAP *********************************************************************
te-h-amers1-20210120-161614-app_instance-ibrsao5jzsvm : ok=1 changed=1 unreachable=0 failed=0


Reply to this email directly or view it on GitHub
#14085 (comment).

Ansible version

ansible 2.6.1
  config file = /MY_PATH/ansible.cfg
  configured module search path = [u'/home/MY_HOME/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.12 (default, Dec  4 2021, 14:50:18) [GCC 5.4.0 20210609]

Component name

setup

Configuration

DEFAULT_BECOME(/MY_PATH/ansible.cfg) = TrueDEFAULT_HASH_BEHAVIOUR(/MY_PATH/ansible.cfg) = mergeDEFAULT_ROLES_PATH(/MY_PATH/ansible.cfg) = [u’/MY_PATH/roles’]DEFAULT_TRANSPORT(/MY_PATH/ansible.cfg) = smartDEFAULT_VAULT_PASSWORD_FILE(/MY_PATH/ansible.cfg) = /home/MY_HOME/.ansible/password

Error: adb exited with exit code 1 · issue #52887 · flutter/flutter

Running Gradle task ‘assembleDebug’… Done 1260,5s (!)
√ Built buildappoutputsapkdebugapp-debug.apk.
Installing buildappoutputsapkapp.apk…
167,2s (!)
D/FlutterActivity( 5482): Using the launch theme as normal theme.
D/FlutterActivityAndFragmentDelegate( 5482): Setting up FlutterEngine.
D/FlutterActivityAndFragmentDelegate( 5482): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
Flutter is taking longer than expected to report its views. Still trying…
Syncing files to device AOSP on IA Emulator…
D/FlutterActivityAndFragmentDelegate( 5482): Attaching FlutterEngine to the Activity that owns this Fragment.
D/OpenGLRenderer( 5482): Skia GL Pipeline
D/FlutterView( 5482): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@244933f
W/le.test_projec( 5482): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (light greylist, reflection)
W/le.test_projec( 5482): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (light greylist, reflection)
W/le.test_projec( 5482): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (light greylist, reflection)
W/le.test_projec( 5482): Accessing hidden method Landroid/util/LongArray;->get(I)J (light greylist, reflection)
D/FlutterActivityAndFragmentDelegate( 5482): Executing Dart entrypoint: main, and sending initial route: /
I/Choreographer( 5482): Skipped 302 frames! The application may be doing too much work on its main thread.
I/OpenGLRenderer( 5482): Initialized EGL, version 1.4
D/OpenGLRenderer( 5482): Swap behavior 1
D/HostConnection( 5482): HostConnection::get() New Host Connection established 0xe2b70150, tid 5863
D/HostConnection( 5482): HostConnection::get() New Host Connection established 0xe57a1140, tid 5503
D/HostConnection( 5482): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
D/HostConnection( 5482): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
W/OpenGLRenderer( 5482): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without…
D/OpenGLRenderer( 5482): Swap behavior 0
D/eglCodecCommon( 5482): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 5482): eglCreateContext: 0xe57851e0: maj 3 min 1 rcv 4
D/eglCodecCommon( 5482): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 5482): eglCreateContext: 0xe3d32a00: maj 3 min 1 rcv 4
D/EGL_emulation( 5482): eglMakeCurrent: 0xe3d32a00: ver 3 1 (tinfo 0xe3d7c670)
E/eglCodecCommon( 5482): glUtilsParamSize: unknow param 0x000082da
E/eglCodecCommon( 5482): glUtilsParamSize: unknow param 0x000082da
D/HostConnection( 5482): createUnique: call
D/HostConnection( 5482): HostConnection::get() New Host Connection established 0xe57a1190, tid 5503
E/eglCodecCommon( 5482): GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
D/HostConnection( 5482): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
D/EGL_emulation( 5482): eglMakeCurrent: 0xe57851e0: ver 3 1 (tinfo 0xe57836f0)
E/eglCodecCommon( 5482): glUtilsParamSize: unknow param 0x000082da
E/eglCodecCommon( 5482): glUtilsParamSize: unknow param 0x000082da
I/Choreographer( 5482): Skipped 1683 frames! The application may be doing too much work on its main thread.
D/EGL_emulation( 5482): eglMakeCurrent: 0xe3d32a00: ver 3 1 (tinfo 0xe3d7c670)
D/eglCodecCommon( 5482): setVertexArrayObject: set vao to 0 (0) 1 2
I/OpenGLRenderer( 5482): Davey! duration=134875ms; Flags=1, IntendedVsync=2243599484209, Vsync=2271649483087, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=2271653219400, AnimationStart=2271653292800, PerformTraversalsStart=2271653312800, DrawStart=2271659659500, SyncQueued=2293522279700, SyncStart=2294562086000, IssueDrawCommandsStart=2294562257900, SwapBuffers=2365554445600, FrameCompleted=2379515031400, DequeueBufferDuration=4473659000, QueueBufferDuration=1135000,
I/Choreographer( 5482): Skipped 2571 frames! The application may be doing too much work on its main thread.
I/OpenGLRenderer( 5482): Davey! duration=66801ms; Flags=0, IntendedVsync=2409835137997, Vsync=2452685136283, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=2452697355600, AnimationStart=2452697499900, PerformTraversalsStart=2452701819700, DrawStart=2452709301600, SyncQueued=2452709346300, SyncStart=2452709472100, IssueDrawCommandsStart=2452709657600, SwapBuffers=2452710154400, FrameCompleted=2476637233900, DequeueBufferDuration=23705921000, QueueBufferDuration=7549000,
D/EGL_emulation( 5482): eglMakeCurrent: 0xe57851e0: ver 3 1 (tinfo 0xe57836f0)
D/eglCodecCommon( 5482): setVertexArrayObject: set vao to 0 (0) 1 0
I/Choreographer( 5482): Skipped 116 frames! The application may be doing too much work on its main thread.
Lost connection to device.
Syncing files to device AOSP on IA Emulator…
C:AndroidStudioProjectsflutterapptest_project>

Больше про Хуавей:  Установка пароля при включении | HUAWEI поддержка россия - Huawei Devices

Os / environment

Control machine: Ubuntu 16.04Target machine: Ubuntu 18.04

Steps to reproduce

Anyone experienced this bug

Background info:in pubspec.yaml file this is my private

I created a private package…everything on mac OS builds 100% without problems but on Windows 10 I get the following error when running

flutter pub get

1 Звездаслабоватона троечкухорошо!просто отлично! (Пока оценок нет)
Загрузка...

Расскажите нам ваше мнение:

Ваш адрес email не будет опубликован. Обязательные поля помечены *