私の分度器テストは、最近私のdevマシン/ envで再現できないエラーで動作しなくなりました。 JenkinsはVMWare(ESxI)環境で動作するマシンを構築/テストします。WMWareで動作している投光子/セレンが失敗しました:不明なエラー:ページがクラッシュしたためセッションが削除されました
エラーoccuringはこれです:
18:05:17 [18:05:09] I/launcher - Running 1 instances of WebDriver
18:05:17 [18:05:09] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
18:05:17 Started
18:05:17
18:05:17 JASMINE STARTING:
18:05:17
18:05:17
18:05:17 » Main App Test
18:05:17 [31mF[0m ✗ App Module Test (1 s)
18:05:17 - Failed: unknown error: session deleted because of page crash
18:05:17 from unknown error: cannot determine loading status
18:05:17 from tab crashed
18:05:17 (Session info: content shell=)
18:05:17 (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information)
18:05:17 Command duration or timeout: 266 milliseconds
18:05:17 Build info: version: '3.3.1', revision: '5234b32', time: '2017-03-10 09:04:52 -0800'
18:05:17 System info: host: 'xxxxxxxxxxxxxxx', ip: '99.99.99.99', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_121'
18:05:17 Driver info: org.openqa.selenium.chrome.ChromeDriver
18:05:17 Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.28.455520 (cc17746adff54984afff480136733114c6b3704b), userDataDir=C:\Users\RABUIL~1\AppData\Local\Temp\scoped_dir6264_14292}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=, platform=WIN8_1, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
18:05:17 Session ID: 8ba3690dfc0ab400933236ae8eefd5ee
は私がフォーラムを精練し、ドッキングウィンドウとtmuxの構成で発生したこのエラーに関連する他のいくつかの問題が見つかりました。解決の本質は、環境を調整して、Chromeドライバのために余分なリソースをアクセスできるようにして、作業を完了できるようにすることでした。 (リストに行く)
http://borkweb.com/story/chromedriver-doesnt-run-in-tmux
Selenium: unknown error: session deleted because of page crash
Is there any workaround for "session deleted because of page crash" Chrome error on Travis CI?
https://github.com/angular/protractor/issues/731
...イライラさせられる何
が、これはそのテスト・セットであるということです。たとえば、何週間も働いていて、今はクラッシュしています。 は、VMWare以外の環境では失敗しません。助けてくれる手がかりをまとめようとしています。誰もが、tmuxやdockerの状況で見られる問題に似た、Windows WMWare環境で動作するChromeドライバの問題かもしれないと思いますか?
私はここに(も解決せず)、これは他の記事に可能性があることのいくつかのヒントを参照してください。私が言ったように
https://sqa.stackexchange.com/questions/22707/selenium-chromedriver-in-virtual-machine
が、私はstackoverflowのと他のフォーラムを精練とするために少しを見つけました明確な方向に私を指差す。
同じ問題が発生し、数か月間完全に動作していたテストは、VMWare上で実行され、ランダムにクラッシュし始めました。あなたはその問題を解決しましたか? – jvrnt