ssh -i vktest ubuntu@<VM ip address>
sudo apt-get install cpu-checker
INFO: /dev/kvm existsKVM acceleration can be used
INFO: Your CPU does not support KVM extensionsKVM acceleration can NOT be used
sudo apt-get update && sudo apt-get install libvirt-daemon-system libvirt-clients
QEMU: Checking for hardware virtualization : PASSQEMU: Checking if device /dev/kvm exists : PASSQEMU: Checking if device /dev/kvm is accessible : FAIL (Check /dev/kvm is world writable or you are in a group that is allowed to access it)QEMU: Checking if device /dev/vhost-net exists : PASSQEMU: Checking if device /dev/net/tun exists : PASSQEMU: Checking for cgroup 'cpu' controller support : PASSQEMU: Checking for cgroup 'cpuacct' controller support : PASSQEMU: Checking for cgroup 'cpuset' controller support : PASSQEMU: Checking for cgroup 'memory' controller support : PASSQEMU: Checking for cgroup 'devices' controller support : WARN (Enable 'devices' in kernel Kconfig file or mount/enable cgroup controller in your system)QEMU: Checking for cgroup 'blkio' controller support : PASSQEMU: Checking for device assignment IOMMU support : WARN (No ACPI DMAR table found, IOMMU either disabled in BIOS or not supported by this hardware platform)QEMU: Checking for secure guest support : WARN (Unknown if this platform has Secure Guest support)
QEMU: Checking for hardware virtualization : FAIL (Host not compatible with KVM; HW virtualization CPU features not found. Only emulated CPUs are available; performance will be significantly limited)QEMU: Checking if device /dev/vhost-net exists : PASSQEMU: Checking if device /dev/net/tun exists : PASSQEMU: Checking for cgroup 'cpu' controller support : PASSQEMU: Checking for cgroup 'cpuacct' controller support : PASSQEMU: Checking for cgroup 'cpuset' controller support : PASSQEMU: Checking for cgroup 'memory' controller support : PASSQEMU: Checking for cgroup 'devices' controller support : PASSQEMU: Checking for cgroup 'blkio' controller support : PASSQEMU: Checking for device assignment IOMMU support : WARN (Unknown if this platform has IOMMU support)QEMU: Checking for secure guest support : WARN (Unknown if this platform has Secure Guest support)
version: '3'services:emcee-queue-service:image: avitotech/emcee-queue:21.5.0container_name: emcee-queue-serviceports:- 41000:41000queue-worker:image: avitotech/emcee-worker:21.5.0env_file:- emcee-worker.envdepends_on:- emcee-queue-servicedeploy:replicas: 2devices:- "/dev/kvm:/dev/kvm"emcee-artifactory:image: docker.bintray.io/jfrog/artifactory-oss:7.63.11container_name: emcee-artifactoryports:- 8081:8081- 8082:8082volumes:- emcee_artifactory:/var/opt/jfrog/artifactoryvolumes:emcee_artifactory:
EMCEE_WORKER_QUEUE_URL=http://emcee-queue-service:41000EMCEE_WORKER_LOG_LEVEL=info
docker compose up -d
> docker ps -aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESb631f9f32fa2 avitotech/emcee-worker:21.1.0 "./entrypoint.sh" 45 seconds ago Up 45 seconds 41001/tcp ubuntu-queue-worker-2600a8a769bff avitotech/emcee-worker:21.1.0 "./entrypoint.sh" 45 seconds ago Up 44 seconds 41001/tcp ubuntu-queue-worker-16f7f5aca1fc0 docker.bintray.io/jfrog/artifactory-oss:7.63.11 "/entrypoint-artifac…" 46 seconds ago Up 45 seconds 0.0.0.0:8081-8082->8081-8082/tcp, :::8081-8082->8081-8082/tcp emcee-artifactorycd2c4c1cb7b3 avitotech/emcee-queue:21.1.0 "/usr/local/bin/entr…" 46 seconds ago Up 45 seconds 0.0.0.0:41000->41000/tcp, :::41000->41000/tcp emcee-queue-service
> docker logs --tail 2 b631f9f32fa2[INFO] [HttpServer] 2024-08-23 08:00:33.610: REST server at 41001 port started[INFO] [StartWorkerCommand] 2024-08-23 08:00:33.611: Worker is ready for work
queue:baseUrl: http://emcee-network-address:41000 # адрес очереди Emceetests:configurations:- platform: androidappApk: ./apks/regress-debug.apktestApk: ./apks/regress-debug-androidTest.apktestTimeout: 120screenRecordConfiguration:videoRecordStrategy: record_nonedevices:- sdkVersion: 31 # версия Android SDK, на которой будут запущены тесты на эмулятореdeviceType: "default"outputs:- junit # включаю создание отчета JUnit- allure # включаю загрузку файлов для Allure отчетаstorage:type: artifactorybaseUrl: http://emcee-network-address:8081/artifactory/ # адрес настроенной Artifactoryrepository: emcee-transportuser: "emcee_user"password: "emcee_password"
./emcee run config.yaml --outdir=results
Emcee run finished.Sent tests count: 12Executed tests count: 12Run status: FailedSuccessful tests count: 10Skipped tests count: 1Skipped tests:com.avito.emcee.regress.ExampleInstrumentedTest#assumptionFalseFailed tests count: 1Failed tests:com.avito.emcee.regress.ExampleInstrumentedTest#failedTests results written to: /my/path/results/emcee_artifacts/c15f0e85-7f3a-4007-95cc-25101b3aa231com.avito.emcee.client.internal.result.JobResultHasFailedTestsException: These tests have failed:com.avito.emcee.regress.ExampleInstrumentedTest#failed