zrhoffman opened a new issue #5324: URL: https://github.com/apache/trafficcontrol/issues/5324
<!-- ************ STOP!! ************ If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact the Apache Traffic Control Security Team at [email protected] and follow the guidelines at https://www.apache.org/security/ regarding vulnerability disclosure. - For *SUPPORT QUESTIONS*, use the Traffic Control slack (https://s.apache.org/atc-slack) or Traffic Control mailing lists (https://trafficcontrol.apache.org/mailing_lists). - Before submitting, please **SEARCH GITHUB** for a similar issue or PR. --> ## I'm submitting a ... <!-- delete all those that don't apply --> <!--- security vulnerability (STOP!! - see above)--> - bug report ## Traffic Control components affected ... <!-- delete all those that don't apply --> - Traffic Portal ## Current behavior: <!-- Describe how the bug manifests --> When running the Traffic Portal UI tests, there are 5 failures: - should update the HTTP delivery service - should add a required server capability to the HTTP delivery service - should add a required Static DNS entry to the HTTP delivery service - should navigate back to the HTTP delivery service and view all servers utilized per the assigned topology - should build a new job ## Expected behavior: <!-- Describe what the behavior would be without the bug --> All tests should pass. ## Minimal reproduction of the problem with instructions: <!-- If the current behavior is a bug, please provide the *STEPS TO REPRODUCE* and include the applicable TC version. --> ```shell docker-compose -f docker-compose.yml -f docker-compose.traffic-portal-test.yml up -d docker-compose -f docker-compose.traffic-portal-test.yml logs -f ``` ## Anything else: <!-- e.g. stacktraces, related issues, suggestions how to fix (feel free to delete this section) --> <details><summary>UI Tests logs (click to expand)</summary> ``` + cd infrastructure/cdn-in-a-box + docker-compose -f docker-compose.traffic-portal-test.yml logs -f portal-integration-test Attaching to atcntpapi5_portal-integration-test_1 portal-integration-test_1 | portal-integration-test_1 | ; <<>> DiG 9.11.13-RedHat-9.11.13-6.el8_2.1 <<>> @dns dns portal-integration-test_1 | ; (1 server found) portal-integration-test_1 | ;; global options: +cmd portal-integration-test_1 | ;; Got answer: portal-integration-test_1 | ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54240 portal-integration-test_1 | ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 portal-integration-test_1 | portal-integration-test_1 | ;; OPT PSEUDOSECTION: portal-integration-test_1 | ; EDNS: version: 0, flags:; udp: 4096 portal-integration-test_1 | ; COOKIE: bca4c3711f39d4d215046c3c5fb7406395b6d4c25e7d3ea5 (good) portal-integration-test_1 | ;; QUESTION SECTION: portal-integration-test_1 | ;dns. IN A portal-integration-test_1 | portal-integration-test_1 | ;; ANSWER SECTION: portal-integration-test_1 | dns. 600 IN A 192.168.208.3 portal-integration-test_1 | portal-integration-test_1 | ;; Query time: 974 msec portal-integration-test_1 | ;; SERVER: 192.168.208.3#53(192.168.208.3) portal-integration-test_1 | ;; WHEN: Fri Nov 20 04:04:51 UTC 2020 portal-integration-test_1 | ;; MSG SIZE rcvd: 76 portal-integration-test_1 | portal-integration-test_1 | ls: cannot access '/shared/dns/*.private': No such file or directory portal-integration-test_1 | insert-self-into-dns waiting for dns server to place key portal-integration-test_1 | insert-self-into-dns domain ciab.test dns_key_path /shared/dns/Kciab.test.+157+17554.private my_host portal-integration my_ip 192.168.208.2 my_fqdn portal-integration.infra.ciab.test cmd 'update add portal-integration.infra.ciab.test 86400 A 192.168.208.2' portal-integration-test_1 | Outgoing update query: portal-integration-test_1 | ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0 portal-integration-test_1 | ;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0 portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | waiting for Traffic Ops at 'https://trafficops.infra.ciab.test:443' fqdn 'trafficops.infra.ciab.test' host 'trafficops' portal-integration-test_1 | {"ping":"pong"} portal-integration-test_1 | Waiting for Traffic Ops Perl to finish seeding the Traffic Ops data so Traffic Portal will start... portal-integration-test_1 | Waiting for Traffic Ops Perl to finish seeding the Traffic Ops data so Traffic Portal will start... portal-integration-test_1 | Waiting for Traffic Ops Perl to finish seeding the Traffic Ops data so Traffic Portal will start... portal-integration-test_1 | Waiting for Traffic Ops Perl to finish seeding the Traffic Ops data so Traffic Portal will start... portal-integration-test_1 | Waiting for Traffic Ops Perl to finish seeding the Traffic Ops data so Traffic Portal will start... portal-integration-test_1 | waiting for Traffic Portal at 'https://trafficportal.infra.ciab.test:443' fqdn 'trafficportal.infra.ciab.test' host 'trafficportal' portal-integration-test_1 | waiting for Traffic Portal at 'https://trafficportal.infra.ciab.test:443' fqdn 'trafficportal.infra.ciab.test' host 'trafficportal' portal-integration-test_1 | {"ping":"pong"} portal-integration-test_1 | waiting for selenium server to start on 'http://localhost:4444' portal-integration-test_1 | [04:05:40] I/start - java -Djava.security.egd=file:///dev/./urandom -Dwebdriver.chrome.driver=/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_87.0.4280.66 -Dwebdriver.gecko.driver=/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.28.0 -jar /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar -port 4444 portal-integration-test_1 | [04:05:40] I/start - seleniumProcess.pid: 102 portal-integration-test_1 | waiting for selenium server to start on 'http://localhost:4444' portal-integration-test_1 | 04:05:40.729 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358 portal-integration-test_1 | 04:05:40.862 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444 portal-integration-test_1 | 2020-11-20 04:05:40.958:INFO::main: Logging initialized @858ms to org.seleniumhq.jetty9.util.log.StdErrLog portal-integration-test_1 | waiting for selenium server to start on 'http://localhost:4444' portal-integration-test_1 | 04:05:41.829 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet portal-integration-test_1 | 04:05:42.028 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444 portal-integration-test_1 | { portal-integration-test_1 | "baseUrl": "https://trafficportal.infra.ciab.test", portal-integration-test_1 | "capabilities": { portal-integration-test_1 | "acceptInsecureCerts": true, portal-integration-test_1 | "browserName": "chrome", portal-integration-test_1 | "chromeOptions": { portal-integration-test_1 | "args": [ portal-integration-test_1 | "--disable-extensions", portal-integration-test_1 | "--disable-gpu", portal-integration-test_1 | "--headless", portal-integration-test_1 | "--ignore-certificate-errors", portal-integration-test_1 | "--no-sandbox", portal-integration-test_1 | "--whitelisted-ips=" portal-integration-test_1 | ] portal-integration-test_1 | } portal-integration-test_1 | }, portal-integration-test_1 | "framework": "jasmine", portal-integration-test_1 | "getPageTimeout": 30000, portal-integration-test_1 | "jasmineNodeOpts": { portal-integration-test_1 | "defaultTimeoutInterval": 600000 portal-integration-test_1 | }, portal-integration-test_1 | "params": { portal-integration-test_1 | "adminPassword": "twelve12", portal-integration-test_1 | "adminUser": "admin" portal-integration-test_1 | }, portal-integration-test_1 | "seleniumAddress": "http://localhost:4444/wd/hub", portal-integration-test_1 | "suites": { portal-integration-test_1 | "allTests": [ portal-integration-test_1 | "login/login-spec.js", portal-integration-test_1 | "CDNs/cdns-spec.js", portal-integration-test_1 | "cacheGroups/cache-groups-spec.js", portal-integration-test_1 | "profiles/profiles-spec.js", portal-integration-test_1 | "divisions/divisions-spec.js", portal-integration-test_1 | "regions/regions-spec.js", portal-integration-test_1 | "physLocations/phys-locations-spec.js", portal-integration-test_1 | "serverCapabilities/server-capabilities-spec.js", portal-integration-test_1 | "servers/servers-spec.js", portal-integration-test_1 | "topologies/topologies-spec.js", portal-integration-test_1 | "deliveryServices/delivery-services-spec.js", portal-integration-test_1 | "jobs/jobs-spec.js" portal-integration-test_1 | ] portal-integration-test_1 | } portal-integration-test_1 | } portal-integration-test_1 | [04:05:42] I/launcher - Running 1 instances of WebDriver portal-integration-test_1 | [04:05:42] I/hosted - Using the selenium server at http://localhost:4444/wd/hub portal-integration-test_1 | 04:05:43.255 INFO [ActiveSessionFactory.apply] - Capabilities are: { portal-integration-test_1 | "acceptInsecureCerts": true, portal-integration-test_1 | "browserName": "chrome", portal-integration-test_1 | "chromeOptions": { portal-integration-test_1 | "args": [ portal-integration-test_1 | "--disable-extensions", portal-integration-test_1 | "--disable-gpu", portal-integration-test_1 | "--headless", portal-integration-test_1 | "--ignore-certificate-errors", portal-integration-test_1 | "--no-sandbox", portal-integration-test_1 | "--whitelisted-ips=" portal-integration-test_1 | ] portal-integration-test_1 | }, portal-integration-test_1 | "count": 1 portal-integration-test_1 | } portal-integration-test_1 | 04:05:43.259 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.grid.session.remote.ServicedSession$Factory (provider: org.openqa.selenium.chrome.ChromeDriverService) portal-integration-test_1 | [1605845143.323][SEVERE]: bind() failed: Cannot assign requested address (99) portal-integration-test_1 | Starting ChromeDriver 87.0.4280.20 (c99e81631faa0b2a448e658c0dbd8311fb04ddbd-refs/branch-heads/4280@{#355}) on port 1835 portal-integration-test_1 | Only local connections are allowed. portal-integration-test_1 | Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. portal-integration-test_1 | ChromeDriver was started successfully. portal-integration-test_1 | 04:05:44.988 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C portal-integration-test_1 | 04:05:45.079 INFO [RemoteSession$Factory.lambda$performHandshake$0] - Started new session 9e60def1de9317a5b8fcb7cc71e16210 (org.openqa.selenium.chrome.ChromeDriverService) portal-integration-test_1 | Started portal-integration-test_1 | Verifying environment banner does not have the prod class portal-integration-test_1 | [32m.[0mNegative login test portal-integration-test_1 | [32m.[0mLogging in to Traffic Portal "https://trafficportal.infra.ciab.test" with user "admin" portal-integration-test_1 | [32m.[0mGo to the CDNs page portal-integration-test_1 | https://trafficportal.infra.ciab.test/#!/cdns portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mOpen new CDN form page portal-integration-test_1 | [32m.[0mFilling out form, check create button is enabled and submit portal-integration-test_1 | [32m.[0mVerifying the new CDN and then updating CDN portal-integration-test_1 | [32m.[0mPerforming cdn snapshot for cdn-atbnl1kj9m8c3dif5eryhuwg76zoq4s02pvx portal-integration-test_1 | [32m.[0mGo to the cache groups page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mOpen new cache groups form page portal-integration-test_1 | [32m.[0mFilling out form, check create button is enabled and submit portal-integration-test_1 | [32m.[0m[32m.[0mGo to the profiles page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0m[32m.[0mOpen new profile form page portal-integration-test_1 | [32m.[0mFilling out form, check create button is enabled and submit portal-integration-test_1 | [32m.[0mGo to the profiles page portal-integration-test_1 | [32m.[0m[32m.[0mGo to the divisions page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mOpen new division form page portal-integration-test_1 | [32m.[0mCreating a new division portal-integration-test_1 | [32m.[0mUpdating the new division: division-c1hfw73r0ub portal-integration-test_1 | [32m.[0mGo to the regions page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mOpen new region form page portal-integration-test_1 | [32m.[0mFilling out form, check create button is enabled and submit portal-integration-test_1 | [32m.[0mGo to the phys locations page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mOpen new phys location form page portal-integration-test_1 | [32m.[0mFilling out form, check create button is enabled and submit portal-integration-test_1 | [32m.[0mGo to the server capabilities page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mOpen new server capability form page portal-integration-test_1 | [32m.[0mCreating a new server capability portal-integration-test_1 | [32m.[0mViewing the new server capability: server-cap-o6wwj11npfl portal-integration-test_1 | [32m.[0mLoading Configure/Servers portal-integration-test_1 | [32m.[0mClicking on Create new server testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03 portal-integration-test_1 | [32m.[0mFilling out Server form portal-integration-test_1 | [32m.[0m[32m.[0m[32m.[0mVerifying new server added and updating testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03 portal-integration-test_1 | [32m.[0mAdding new server capability to testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03 portal-integration-test_1 | [32m.[0mManaging the delivery services of testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03 portal-integration-test_1 | [32m.[0mGo to the topologies page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mOpen new topology form page portal-integration-test_1 | [32m.[0mBuilding a new topology portal-integration-test_1 | [04:07:15] W/element - more than one element found for locator By(css selector, *[id="selectAllCB"]) - the first result will be used portal-integration-test_1 | [32m.[0mFilling out topology form, check create button is enabled and submit portal-integration-test_1 | [32m.[0mUpdating the topology: topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02 portal-integration-test_1 | [32m.[0mViewing all delivery services that utilize: topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02 portal-integration-test_1 | [32m.[0mViewing all cache groups utilized by topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02 portal-integration-test_1 | [32m.[0mViewing all servers utilized by topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02 portal-integration-test_1 | [32m.[0mOpening delivery services page portal-integration-test_1 | [32m.[0mVerify CSV button exists portal-integration-test_1 | [32m.[0mClicked Create New and selecting ANY_MAP portal-integration-test_1 | [32m.[0mCreating a DS for any-map-xml-id-gfehmdkcbywxoutapjizlnsqrv portal-integration-test_1 | [04:07:31] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:07:35] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:07:35] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [32m.[0mVerifying that any-map-xml-id-gfehmdkcbywxoutapjizlnsqrv exists portal-integration-test_1 | [32m.[0m[32m.[0mUpdating the ANY_MAP delivery service for any-map-xml-id-gfehmdkcbywxoutapjizlnsqrv portal-integration-test_1 | [04:07:40] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [04:07:41] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [04:07:41] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [32m.[0mDeleting any-map-xml-id-gfehmdkcbywxoutapjizlnsqrv portal-integration-test_1 | [04:07:43] W/element - more than one element found for locator by.buttonText("Delete") - the first result will be used portal-integration-test_1 | [32m.[0mClicked Create New and selecting DNS portal-integration-test_1 | [32m.[0mCreating a DS for dns-xml-id-blafhczqkpoujetxmdyigvsnwr portal-integration-test_1 | [04:07:47] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:07:52] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:07:52] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [32m.[0mVerifying that dns-xml-id-blafhczqkpoujetxmdyigvsnwr exists portal-integration-test_1 | [32m.[0mUpdating the DNS delivery service for dns-xml-id-blafhczqkpoujetxmdyigvsnwr portal-integration-test_1 | [04:07:56] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [04:07:57] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [04:07:57] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [32m.[0mAssigning all eligible servers to dns-xml-id-blafhczqkpoujetxmdyigvsnwr portal-integration-test_1 | [04:08:02] W/element - more than one element found for locator By(css selector, *[id="selectAllCB"]) - the first result will be used portal-integration-test_1 | [32m.[0mAdding required server capability to dns-xml-id-blafhczqkpoujetxmdyigvsnwr portal-integration-test_1 | [32m.[0mDeleting dns-xml-id-blafhczqkpoujetxmdyigvsnwr portal-integration-test_1 | [04:08:09] W/element - more than one element found for locator by.buttonText("Delete") - the first result will be used portal-integration-test_1 | [32m.[0mClicked Create New and selecting HTTP portal-integration-test_1 | [32m.[0mCreating a HTTP DS with a topology for http-xml-id-ciafhopkgxvbdesyzlumtqjnrw portal-integration-test_1 | [04:08:14] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:08:19] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:08:19] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [32m.[0mVerifying that http-xml-id-ciafhopkgxvbdesyzlumtqjnrw exists portal-integration-test_1 | [32m.[0mUpdating the HTTP delivery service for http-xml-id-ciafhopkgxvbdesyzlumtqjnrw portal-integration-test_1 | [31mF[0mAdding required server capability to http-xml-id-ciafhopkgxvbdesyzlumtqjnrw portal-integration-test_1 | [31mF[0mAdding Static DNS entry to http-xml-id-ciafhopkgxvbdesyzlumtqjnrw portal-integration-test_1 | [31mF[0mViewing all servers utilized by http-xml-id-ciafhopkgxvbdesyzlumtqjnrw portal-integration-test_1 | The ability to assign ORG servers is enabled for http-xml-id-ciafhopkgxvbdesyzlumtqjnrw portal-integration-test_1 | [31mF[0mClicked Create New and selecting Steering portal-integration-test_1 | [32m.[0mCreating a Steering DS for dns-xml-id-blafhczqkpoujetxmdyigvsnwr portal-integration-test_1 | [04:08:24] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:08:28] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [04:08:28] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used portal-integration-test_1 | [32m.[0mVerifying that http-xml-id-aqgnbcismkfwdtelpojzvhrxuy exists portal-integration-test_1 | [32m.[0mUpdating the Steering delivery service for http-xml-id-aqgnbcismkfwdtelpojzvhrxuy portal-integration-test_1 | [04:08:32] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [04:08:33] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [04:08:33] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used portal-integration-test_1 | [32m.[0mDeleting http-xml-id-aqgnbcismkfwdtelpojzvhrxuy portal-integration-test_1 | [04:08:34] W/element - more than one element found for locator by.buttonText("Delete") - the first result will be used portal-integration-test_1 | [32m.[0mGo to the jobs page portal-integration-test_1 | [32m.[0mOpen new job form page portal-integration-test_1 | [32m.[0mBuilding a new job portal-integration-test_1 | [31mF[0m portal-integration-test_1 | portal-integration-test_1 | Failures: portal-integration-test_1 | 1) Traffic Portal Delivery Services Suite should update the HTTP delivery service portal-integration-test_1 | Message: portal-integration-test_1 | [31m Failed: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator by.repeater("ds in ::deliveryServices")[0m portal-integration-test_1 | Stack: portal-integration-test_1 | NoSuchElementError: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator by.repeater("ds in ::deliveryServices") portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/built/element.js:274:27 portal-integration-test_1 | at ManagedPromise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1376:14) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2927:27 portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:668:7 portal-integration-test_1 | at runMicrotasks (<anonymous>) portal-integration-test_1 | at processTicksAndRejections (internal/process/task_queues.js:97:5)Error portal-integration-test_1 | at ElementArrayFinder.applyAction_ (/usr/local/lib/node_modules/protractor/built/element.js:459:27) portal-integration-test_1 | at ElementArrayFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:91:29) portal-integration-test_1 | at ElementFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:831:22) portal-integration-test_1 | at UserContext.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:313:13) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:112:25 portal-integration-test_1 | at new ManagedPromise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1077:7) portal-integration-test_1 | at ControlFlow.promise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2505:12) portal-integration-test_1 | at schedulerExecute (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:95:18) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | From: Task: Run it("should update the HTTP delivery service") in control flow portal-integration-test_1 | at UserContext.<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:94:19) portal-integration-test_1 | From asynchronous test: portal-integration-test_1 | Error portal-integration-test_1 | at Suite.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:304:2) portal-integration-test_1 | at Object.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:23:1) portal-integration-test_1 | at Module._compile (internal/modules/cjs/loader.js:1133:30) portal-integration-test_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) portal-integration-test_1 | at Module.load (internal/modules/cjs/loader.js:977:32) portal-integration-test_1 | at Function.Module._load (internal/modules/cjs/loader.js:877:14) portal-integration-test_1 | portal-integration-test_1 | 2) Traffic Portal Delivery Services Suite should add a required server capability to the HTTP delivery service portal-integration-test_1 | Message: portal-integration-test_1 | [31m Failed: No element found using locator: By(css selector, *[name="moreBtn"])[0m portal-integration-test_1 | Stack: portal-integration-test_1 | NoSuchElementError: No element found using locator: By(css selector, *[name="moreBtn"]) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/built/element.js:814:27 portal-integration-test_1 | at ManagedPromise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1376:14) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2927:27 portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:668:7 portal-integration-test_1 | at runMicrotasks (<anonymous>) portal-integration-test_1 | at processTicksAndRejections (internal/process/task_queues.js:97:5)Error portal-integration-test_1 | at ElementArrayFinder.applyAction_ (/usr/local/lib/node_modules/protractor/built/element.js:459:27) portal-integration-test_1 | at ElementArrayFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:91:29) portal-integration-test_1 | at ElementFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:831:22) portal-integration-test_1 | at UserContext.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:326:20) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:112:25 portal-integration-test_1 | at new ManagedPromise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1077:7) portal-integration-test_1 | at ControlFlow.promise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2505:12) portal-integration-test_1 | at schedulerExecute (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:95:18) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | From: Task: Run it("should add a required server capability to the HTTP delivery service") in control flow portal-integration-test_1 | at UserContext.<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:94:19) portal-integration-test_1 | From asynchronous test: portal-integration-test_1 | Error portal-integration-test_1 | at Suite.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:324:2) portal-integration-test_1 | at Object.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:23:1) portal-integration-test_1 | at Module._compile (internal/modules/cjs/loader.js:1133:30) portal-integration-test_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) portal-integration-test_1 | at Module.load (internal/modules/cjs/loader.js:977:32) portal-integration-test_1 | at Function.Module._load (internal/modules/cjs/loader.js:877:14) portal-integration-test_1 | portal-integration-test_1 | 3) Traffic Portal Delivery Services Suite should add a required Static DNS entry to the HTTP delivery service portal-integration-test_1 | Message: portal-integration-test_1 | [31m Failed: No element found using locator: By(css selector, *[name="dsLink"])[0m portal-integration-test_1 | Stack: portal-integration-test_1 | NoSuchElementError: No element found using locator: By(css selector, *[name="dsLink"]) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/built/element.js:814:27 portal-integration-test_1 | at ManagedPromise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1376:14) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2927:27 portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:668:7 portal-integration-test_1 | at runMicrotasks (<anonymous>) portal-integration-test_1 | at processTicksAndRejections (internal/process/task_queues.js:97:5)Error portal-integration-test_1 | at ElementArrayFinder.applyAction_ (/usr/local/lib/node_modules/protractor/built/element.js:459:27) portal-integration-test_1 | at ElementArrayFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:91:29) portal-integration-test_1 | at ElementFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:831:22) portal-integration-test_1 | at UserContext.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:340:19) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:112:25 portal-integration-test_1 | at new ManagedPromise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1077:7) portal-integration-test_1 | at ControlFlow.promise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2505:12) portal-integration-test_1 | at schedulerExecute (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:95:18) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | From: Task: Run it("should add a required Static DNS entry to the HTTP delivery service") in control flow portal-integration-test_1 | at UserContext.<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:94:19) portal-integration-test_1 | From asynchronous test: portal-integration-test_1 | Error portal-integration-test_1 | at Suite.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:339:2) portal-integration-test_1 | at Object.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:23:1) portal-integration-test_1 | at Module._compile (internal/modules/cjs/loader.js:1133:30) portal-integration-test_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) portal-integration-test_1 | at Module.load (internal/modules/cjs/loader.js:977:32) portal-integration-test_1 | at Function.Module._load (internal/modules/cjs/loader.js:877:14) portal-integration-test_1 | portal-integration-test_1 | 4) Traffic Portal Delivery Services Suite should navigate back to the HTTP delivery service and view all servers utilized per the assigned topology portal-integration-test_1 | Message: portal-integration-test_1 | [31m Failed: No element found using locator: By(css selector, *[name="dsLink"])[0m portal-integration-test_1 | Stack: portal-integration-test_1 | NoSuchElementError: No element found using locator: By(css selector, *[name="dsLink"]) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/built/element.js:814:27 portal-integration-test_1 | at ManagedPromise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1376:14) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2927:27 portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:668:7 portal-integration-test_1 | at runMicrotasks (<anonymous>) portal-integration-test_1 | at processTicksAndRejections (internal/process/task_queues.js:97:5)Error portal-integration-test_1 | at ElementArrayFinder.applyAction_ (/usr/local/lib/node_modules/protractor/built/element.js:459:27) portal-integration-test_1 | at ElementArrayFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:91:29) portal-integration-test_1 | at ElementFinder.<computed> [as click] (/usr/local/lib/node_modules/protractor/built/element.js:831:22) portal-integration-test_1 | at UserContext.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:364:19) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:112:25 portal-integration-test_1 | at new ManagedPromise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1077:7) portal-integration-test_1 | at ControlFlow.promise (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2505:12) portal-integration-test_1 | at schedulerExecute (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:95:18) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | From: Task: Run it("should navigate back to the HTTP delivery service and view all servers utilized per the assigned topology") in control flow portal-integration-test_1 | at UserContext.<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:94:19) portal-integration-test_1 | From asynchronous test: portal-integration-test_1 | Error portal-integration-test_1 | at Suite.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:362:2) portal-integration-test_1 | at Object.<anonymous> (/lang/traffic_portal/test/end_to_end/deliveryServices/delivery-services-spec.js:23:1) portal-integration-test_1 | at Module._compile (internal/modules/cjs/loader.js:1133:30) portal-integration-test_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) portal-integration-test_1 | at Module.load (internal/modules/cjs/loader.js:977:32) portal-integration-test_1 | at Function.Module._load (internal/modules/cjs/loader.js:877:14) portal-integration-test_1 | portal-integration-test_1 | 5) Traffic Portal Jobs Test Suite should build a new job portal-integration-test_1 | Message: portal-integration-test_1 | [31m Failed: Cannot read property 'click' of undefined[0m portal-integration-test_1 | Stack: portal-integration-test_1 | TypeError: Cannot read property 'click' of undefined portal-integration-test_1 | at /lang/traffic_portal/test/end_to_end/common/commonFunctions.js:26:25 portal-integration-test_1 | at ManagedPromise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1376:14) portal-integration-test_1 | at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14) portal-integration-test_1 | at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27) portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2927:27 portal-integration-test_1 | at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:668:7 portal-integration-test_1 | at runMicrotasks (<anonymous>) portal-integration-test_1 | at processTicksAndRejections (internal/process/task_queues.js:97:5) portal-integration-test_1 | From: Task: Run it("should build a new job") in control flow portal-integration-test_1 | at UserContext.<anonymous> (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:94:19) portal-integration-test_1 | From asynchronous test: portal-integration-test_1 | Error portal-integration-test_1 | at Suite.<anonymous> (/lang/traffic_portal/test/end_to_end/jobs/jobs-spec.js:44:2) portal-integration-test_1 | at Object.<anonymous> (/lang/traffic_portal/test/end_to_end/jobs/jobs-spec.js:23:1) portal-integration-test_1 | at Module._compile (internal/modules/cjs/loader.js:1133:30) portal-integration-test_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) portal-integration-test_1 | at Module.load (internal/modules/cjs/loader.js:977:32) portal-integration-test_1 | at Function.Module._load (internal/modules/cjs/loader.js:877:14) portal-integration-test_1 | portal-integration-test_1 | 86 specs, 5 failures portal-integration-test_1 | Finished in 173.039 seconds portal-integration-test_1 | portal-integration-test_1 | 04:08:38.482 INFO [ActiveSessions$1.onStop] - Removing session 9e60def1de9317a5b8fcb7cc71e16210 (org.openqa.selenium.chrome.ChromeDriverService) portal-integration-test_1 | [04:08:38] I/launcher - 0 instance(s) of WebDriver still running portal-integration-test_1 | [04:08:38] I/launcher - chrome #01 failed 5 test(s) portal-integration-test_1 | [04:08:38] I/launcher - overall: 5 failed spec(s) portal-integration-test_1 | [04:08:38] E/launcher - Process exited with error code 1 atcntpapi5_portal-integration-test_1 exited with code 1 ``` </details> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
