Closed erdncyz closed 5 months ago
@erdncyz Thanks for reporting the issue. Could you share which version of device farm are you using along with the full appium server logs as gist that appears when you open the build view(as shown in Picture 2)?
@sudharsan-selvaraj Thank you for your answer.
Also can ı added screen recording.
Uploading WhatsApp Video 2024-06-06 at 16.40.32.mp4…
My appium server logs : https://gist.github.com/erdncyz/ad20c5404112029fdea7b0ed274cf8a0
@sudharsan-selvaraj this happens with the current release with iOS devices
@ilendemli It doesn't just happen on iOS, the problem is the same on Android, do you have any results on how I can solve it?
he asked about the second page, that happens with iOS devices on my end that there is no recording available after the session ends happens with android
@ilendemli @erdncyz Looks like some regression. I will take a look shortly and come back with my findings.
Hi again @sudharsan-selvaraj have you any finding?
@erdncyz Please try the latest version - [8.4.7-rc.37]
Hi @saikrishna321
I updated it but now I'm getting the error in the image.
@erdncyz Can you navigate to the path /Users/techqaautomation2/.appium/node_modules/appium-device-farm and run the command npm run run-db-migration
Please share logs as gist next time.
Thanks for your answer @saikrishna321 ,
The error continues, I did what you said.
npm run run-db-migration error
cd /Users/techqaautomation2/.appium/node_modules/appium-device-farm techqaautomation2@techs-mac-mini appium-device-farm % npm run run-db-migration
appium-device-farm@8.4.7-rc.37 run-db-migration path-exists lib/src/scripts/initialize-database.js && node lib/src/scripts/initialize-database.js || ts-node src/scripts/initialize-database.ts
Deploying the database migrations
Downloading Prisma engines for Node-API for darwin [ ] 0%Error: request to https://binaries.prisma.sh/all_commits/12e25d8d06f6ea5a0252864dd9a03b1bb51f3022/darwin/libquery_engine.dylib.node.sha256 failed, reason: unable to get local issuer certificate Error initializing database: Error: Command failed: prisma migrate deploy at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at checkExecSyncError (node:child_process:890:11) at execSync (node:child_process:962:15) at executeCmd (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:17:43) at /Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:30:9 at Generator.next (
) at /Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:8:71 at new Promise ( ) at __awaiter (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:4:12) { status: 1, signal: null, output: [ null, null, null ], pid: 1288, stdout: null, stderr: null } Generating prisma client Downloading Prisma engines for Node-API for darwin [ ] 0%Error: request to https://binaries.prisma.sh/all_commits/12e25d8d06f6ea5a0252864dd9a03b1bb51f3022/darwin/schema-engine.gz.sha256 failed, reason: unable to get local issuer certificate Error initializing database: Error: Command failed: prisma generate at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at checkExecSyncError (node:child_process:890:11) at execSync (node:child_process:962:15) at executeCmd (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:17:43) at /Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:32:9 at Generator.next ( ) at /Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:8:71 at new Promise ( ) at __awaiter (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/scripts/initialize-database.js:4:12) { status: 1, signal: null, output: [ null, null, null ], pid: 1289, stdout: null, stderr: null } techqaautomation2@techs-mac-mini appium-device-farm %
open the appium error ---
techqaautomation2@techs-mac-mini ~ % appium server -ka 800 --use-plugins=device-farm -pa /wd/hub --plugin-device-farm-platform=both
[Appium] Attempting to load plugin device-farm...
[Appium] Requiring plugin at /Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/src/main.js
[Appium] Could not load plugin 'device-farm', so it will not be available. Error in loading the plugin was: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
[Appium] Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
[Appium] at new PrismaClient (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/node_modules/.prisma/client/default.js:43:11)
[Appium] at Object.webpack_modules (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/prisma.js:6:18)
[Appium] at w (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/bootstrap:19:2)
[Appium] at Object.webpack_modules (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/CapabilityManager.js:18:18)
[Appium] at w (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/bootstrap:19:2)
[Appium] at Object.webpack_modules (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/device-utils.js:25:29)
[Appium] at w (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/bootstrap:19:2)
[Appium] at Object.webpack_modules (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/data-service/device-service.js:25:24)
[Appium] at w (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/bootstrap:19:2)
[Appium] at Object.webpack_modules (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/commands/handle.js:12:26)
[Appium] at w (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/bootstrap:19:2)
[Appium] at Object.webpack_modules (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/commands/index.js:6:34)
[Appium] at w (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/bootstrap:19:2)
[Appium] at Object.__webpack_modules__ (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/plugin.js:41:33)
[Appium] at w (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/bootstrap:19:2)
[Appium] at plugin_1 (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/index.js:4:18)
[Appium] at plugin_1 (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/index.js:12:19)
[Appium] at factory (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/index.js:12:19)
[Appium] at /Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/webpack/universalModuleDefinition:3:20
[Appium] at Object.
@erdncyz
Downloading Prisma engines for Node-API for darwin [ ] 0%Error: request to https://binaries.prisma.sh/all_commits/12e25d8d06f6ea5a0252864dd9a03b1bb51f3022/darwin/schema-engine.gz.sha256 failed, reason: unable to get local issuer certificat`e
Looks like network not able to reach it..
Can you try npm config set strict-ssl false
Uninstall the plugin and reinstall
Old harness video not showing up
I provide the necessary automation run with device farm, I can watch my run in the build area, but I cannot watch my run after it is finished. ı uploaded picture. can you help me please. (Picture 1)
Moreover when I click on the ones listed in the Build field, the page opens blank. (Picture 2)
Picture 1
Picture 2