You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/11/23 18:39:40 UTC

[GitHub] [trafficcontrol] zrhoffman opened a new issue #5324: Traffic Portal HTTP delivery service UI tests fail

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 security@trafficcontrol.apache.org 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  | .Negative login test
   portal-integration-test_1  | .Logging in to Traffic Portal "https://trafficportal.infra.ciab.test" with user "admin"
   portal-integration-test_1  | .Go to the CDNs page
   portal-integration-test_1  | https://trafficportal.infra.ciab.test/#!/cdns
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new CDN form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Verifying the new CDN and then updating CDN
   portal-integration-test_1  | .Performing cdn snapshot for cdn-atbnl1kj9m8c3dif5eryhuwg76zoq4s02pvx
   portal-integration-test_1  | .Go to the cache groups page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new cache groups form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | ..Go to the profiles page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | ..Open new profile form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Go to the profiles page
   portal-integration-test_1  | ..Go to the divisions page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new division form page
   portal-integration-test_1  | .Creating a new division
   portal-integration-test_1  | .Updating the new division: division-c1hfw73r0ub
   portal-integration-test_1  | .Go to the regions page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new region form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Go to the phys locations page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new phys location form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Go to the server capabilities page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new server capability form page
   portal-integration-test_1  | .Creating a new server capability
   portal-integration-test_1  | .Viewing the new server capability: server-cap-o6wwj11npfl
   portal-integration-test_1  | .Loading Configure/Servers
   portal-integration-test_1  | .Clicking on Create new server testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03
   portal-integration-test_1  | .Filling out Server form
   portal-integration-test_1  | ...Verifying new server added and updating testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03
   portal-integration-test_1  | .Adding new server capability to testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03
   portal-integration-test_1  | .Managing the delivery services of testHost-ocbifegmdhl2ayj1qknrx5ps9tuzw4786v03
   portal-integration-test_1  | .Go to the topologies page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new topology form page
   portal-integration-test_1  | .Building 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  | .Filling out topology form, check create button is enabled and submit
   portal-integration-test_1  | .Updating the topology: topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02
   portal-integration-test_1  | .Viewing all delivery services that utilize: topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02
   portal-integration-test_1  | .Viewing all cache groups utilized by topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02
   portal-integration-test_1  | .Viewing all servers utilized by topology-ajbclvofpuhwt91dq3egsrikm8z765ny4x02
   portal-integration-test_1  | .Opening delivery services page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Clicked Create New and selecting ANY_MAP
   portal-integration-test_1  | .Creating 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  | .Verifying that any-map-xml-id-gfehmdkcbywxoutapjizlnsqrv exists
   portal-integration-test_1  | ..Updating 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  | .Deleting 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  | .Clicked Create New and selecting DNS
   portal-integration-test_1  | .Creating 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  | .Verifying that dns-xml-id-blafhczqkpoujetxmdyigvsnwr exists
   portal-integration-test_1  | .Updating 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  | .Assigning 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  | .Adding required server capability to dns-xml-id-blafhczqkpoujetxmdyigvsnwr
   portal-integration-test_1  | .Deleting 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  | .Clicked Create New and selecting HTTP
   portal-integration-test_1  | .Creating 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  | .Verifying that http-xml-id-ciafhopkgxvbdesyzlumtqjnrw exists
   portal-integration-test_1  | .Updating the HTTP delivery service for http-xml-id-ciafhopkgxvbdesyzlumtqjnrw
   portal-integration-test_1  | FAdding required server capability to http-xml-id-ciafhopkgxvbdesyzlumtqjnrw
   portal-integration-test_1  | FAdding Static DNS entry to http-xml-id-ciafhopkgxvbdesyzlumtqjnrw
   portal-integration-test_1  | FViewing 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  | FClicked Create New and selecting Steering
   portal-integration-test_1  | .Creating 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  | .Verifying that http-xml-id-aqgnbcismkfwdtelpojzvhrxuy exists
   portal-integration-test_1  | .Updating 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  | .Deleting 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  | .Go to the jobs page
   portal-integration-test_1  | .Open new job form page
   portal-integration-test_1  | .Building a new job
   portal-integration-test_1  | F
   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  |     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")
   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  |     Failed: No element found using locator: By(css selector, *[name="moreBtn"])
   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  |     Failed: No element found using locator: By(css selector, *[name="dsLink"])
   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  |     Failed: No element found using locator: By(css selector, *[name="dsLink"])
   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  |     Failed: Cannot read property 'click' of undefined
   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:
users@infra.apache.org



[GitHub] [trafficcontrol] mitchell852 commented on issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
mitchell852 commented on issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324#issuecomment-733235998


   hmm. i'm getting:
   
   ```
   86 specs, 0 failures
   Finished in 144.423 seconds
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] mitchell852 edited a comment on issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
mitchell852 edited a comment on issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324#issuecomment-733235998


   hmm. i'm getting the following outside of ciab and using ChromeDriver 87.0.4280.20 but not headless:
   
   ```
   86 specs, 0 failures
   Finished in 144.423 seconds
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] mitchell852 edited a comment on issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
mitchell852 edited a comment on issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324#issuecomment-733235998


   hmm. i'm getting the following and using ChromeDriver 87.0.4280.20:
   
   ```
   86 specs, 0 failures
   Finished in 144.423 seconds
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] shamrickus commented on issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
shamrickus commented on issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324#issuecomment-740789657


   I believe my PR should fix this issue, as far as I can tell this happens when CiaB data isn't setup/there is other data already existing.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] mitchell852 closed issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
mitchell852 closed issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] mitchell852 edited a comment on issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
mitchell852 edited a comment on issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324#issuecomment-733235998


   hmm. i'm getting and using ChromeDriver 87.0.4280.20:
   
   ```
   86 specs, 0 failures
   Finished in 144.423 seconds
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] zrhoffman commented on issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
zrhoffman commented on issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324#issuecomment-755440799


   Dug into cases where these 5 tests fail. In CDN in a Box, the TP tests fail if no caches exist before the TP tests start, or if only a mid cache exists:
   ```shell
   docker-compose -f docker-compose.yml -f docker-compose.traffic-portal-test.yml up -d db dns enroller portal-integration-test smtp trafficops-perl trafficops trafficportal trafficvault && 
   docker-compose -f docker-compose.yml -f docker-compose.traffic-portal-test.yml logs -f portal-integration-test
   ```
   
   but succeed if at least 1 edge cache exists:
   ```shell
   docker-compose -f docker-compose.yml -f docker-compose.traffic-portal-test.yml up -d db dns enroller portal-integration-test smtp trafficops-perl trafficops trafficportal trafficvault edge && 
   docker-compose -f docker-compose.yml -f docker-compose.traffic-portal-test.yml logs -f portal-integration-test
   ```
   
   <details><summary>Updated TP Tests log of failure</summary>
   
   ```
   portal-integration-test_1  |
   portal-integration-test_1  | ; <<>> DiG 9.11.20-RedHat-9.11.20-5.el8 <<>> @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: 38413
   portal-integration-test_1  | ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, 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: f9bc9b2ca335239113e196695ff5e52c528cc92eee986699 (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.                       596     IN      A       172.19.0.3
   portal-integration-test_1  |
   portal-integration-test_1  | ;; AUTHORITY SECTION:
   portal-integration-test_1  | .                  510481  IN      NS      a.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      f.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      b.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      j.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      e.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      k.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      h.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      d.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      l.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      i.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      m.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      c.root-servers.net.
   portal-integration-test_1  | .                  510481  IN      NS      g.root-servers.net.
   portal-integration-test_1  |
   portal-integration-test_1  | ;; Query time: 1 msec
   portal-integration-test_1  | ;; SERVER: 172.19.0.3#53(172.19.0.3)
   portal-integration-test_1  | ;; WHEN: Wed Jan 06 16:28:28 UTC 2021
   portal-integration-test_1  | ;; MSG SIZE  rcvd: 287
   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+04627.private my_host portal-integration my_ip 172.19.0.2 my_fqdn portal-integration.infra.ciab.test cmd 'update add portal-integration.infra.ciab.test 86400 A 172.19.0.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  | {"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 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  | [16:29:09] 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.88 -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  | [16:29:09] I/start - seleniumProcess.pid: 95
   portal-integration-test_1  | waiting for selenium server to start on 'http://localhost:4444'
   portal-integration-test_1  | 16:29:10.638 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
   portal-integration-test_1  | 16:29:10.787 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444
   portal-integration-test_1  | 2021-01-06 16:29:10.864:INFO::main: Logging initialized @854ms 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  | 16:29:11.296 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
   portal-integration-test_1  | 16:29:11.421 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  |       "tenants/tenants-spec.js"
   portal-integration-test_1  |     ]
   portal-integration-test_1  |   }
   portal-integration-test_1  | }
   portal-integration-test_1  | [16:29:12] I/launcher - Running 1 instances of WebDriver
   portal-integration-test_1  | [16:29:12] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
   portal-integration-test_1  | 16:29:12.312 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  | 16:29:12.313 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  | Starting ChromeDriver 87.0.4280.88 (89e2380a3e36c3464b5dd1302349b1382549290d-refs/branch-heads/4280@{#1761}) on port 11066
   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  | [1609950552.339][SEVERECh]r:o bind() failed: CmaenDnroitv ears swiagsn  srteaqruteesdt esdu cacdedsrsefsusl ly(.9
   portal-integration-test_1  | 9)
   portal-integration-test_1  | 16:29:12.748 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C
   portal-integration-test_1  | 16:29:12.769 INFO [RemoteSession$Factory.lambda$performHandshake$0] - Started new session d4308b24351c143a7b68f36ff09b4136 (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  | .Negative login test
   portal-integration-test_1  | .Logging in to Traffic Portal "https://trafficportal.infra.ciab.test" with user "admin"
   portal-integration-test_1  | .Go to the CDNs page
   portal-integration-test_1  | https://trafficportal.infra.ciab.test/#!/cdns
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new CDN form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Verifying the new CDN and then updating CDN
   portal-integration-test_1  | .Performing cdn snapshot for cdn-ebifa8lcdtv0g3h1ponjuwqzr6xm4s59ky72
   portal-integration-test_1  | .Go to the cache groups page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new cache groups form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | ..Go to the profiles page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Comparing profiles
   portal-integration-test_1  | .Open new profile form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Go to the profiles page
   portal-integration-test_1  | ..Go to the divisions page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new division form page
   portal-integration-test_1  | .Creating a new division
   portal-integration-test_1  | .Updating the new division: division-1gbhb59p4xf
   portal-integration-test_1  | .Go to the regions page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new region form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Go to the phys locations page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new phys location form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .Go to the server capabilities page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new server capability form page
   portal-integration-test_1  | .Creating a new server capability
   portal-integration-test_1  | .Viewing the new server capability: server-cap-mvdbbwiylth
   portal-integration-test_1  | .Loading Configure/Servers
   portal-integration-test_1  | .Clicking on Create new server testHost-agjysb24etif78cplmkxo59hqwd6nu0rz1v3
   portal-integration-test_1  | .Filling out Server form
   portal-integration-test_1  | .Toggling visiblity of column
   portal-integration-test_1  | .Clear filters when column is hidden
   portal-integration-test_1  | .Verifying new server added and updating testHost-agjysb24etif78cplmkxo59hqwd6nu0rz1v3
   portal-integration-test_1  | .Adding new server capability to testHost-agjysb24etif78cplmkxo59hqwd6nu0rz1v3
   portal-integration-test_1  | .Managing the delivery services of testHost-agjysb24etif78cplmkxo59hqwd6nu0rz1v3
   portal-integration-test_1  | .Go to the topologies page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Open new topology form page
   portal-integration-test_1  | .Building a new topology
   portal-integration-test_1  | [16:30:07] W/element - more than one element found for locator By(css selector, *[id="selectAllCB"]) - the first result will be used
   portal-integration-test_1  | .Filling out topology form, check create button is enabled and submit
   portal-integration-test_1  | .Updating the topology: topology-cbgf1jxe9opuask2lwd0iyr367mnzvhtq458
   portal-integration-test_1  | .Viewing all delivery services that utilize: topology-cbgf1jxe9opuask2lwd0iyr367mnzvhtq458
   portal-integration-test_1  | .Viewing all cache groups utilized by topology-cbgf1jxe9opuask2lwd0iyr367mnzvhtq458
   portal-integration-test_1  | .Viewing all servers utilized by topology-cbgf1jxe9opuask2lwd0iyr367mnzvhtq458
   portal-integration-test_1  | .Opening delivery services page
   portal-integration-test_1  | .Verify CSV button exists
   portal-integration-test_1  | .Clicked Create New and selecting ANY_MAP
   portal-integration-test_1  | .Creating a DS for any-map-xml-id-bkdacenfhlgjproiqxmszvtwuy
   portal-integration-test_1  | [16:30:18] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:21] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:21] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | .Verifying that any-map-xml-id-bkdacenfhlgjproiqxmszvtwuy exists
   portal-integration-test_1  | .Toggle visibilty of first column
   portal-integration-test_1  | .Updating the ANY_MAP delivery service for any-map-xml-id-bkdacenfhlgjproiqxmszvtwuy
   portal-integration-test_1  | [16:30:24] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | [16:30:24] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | [16:30:24] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | .Deleting any-map-xml-id-bkdacenfhlgjproiqxmszvtwuy
   portal-integration-test_1  | [16:30:25] W/element - more than one element found for locator by.buttonText("Delete") - the first result will be used
   portal-integration-test_1  | .Clicked Create New and selecting DNS
   portal-integration-test_1  | .Creating a DS for dns-xml-id-txgarbzhjlwpqomcdeykvifnsu
   portal-integration-test_1  | [16:30:29] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:32] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:32] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | .Verifying that dns-xml-id-txgarbzhjlwpqomcdeykvifnsu exists
   portal-integration-test_1  | .Updating the DNS delivery service for dns-xml-id-txgarbzhjlwpqomcdeykvifnsu
   portal-integration-test_1  | [16:30:35] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | [16:30:36] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | [16:30:36] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | .Assigning all eligible servers to dns-xml-id-txgarbzhjlwpqomcdeykvifnsu
   portal-integration-test_1  | [16:30:39] W/element - more than one element found for locator By(css selector, *[id="selectAllCB"]) - the first result will be used
   portal-integration-test_1  | .Adding required server capability to dns-xml-id-txgarbzhjlwpqomcdeykvifnsu
   portal-integration-test_1  | .Deleting dns-xml-id-txgarbzhjlwpqomcdeykvifnsu
   portal-integration-test_1  | [16:30:44] W/element - more than one element found for locator by.buttonText("Delete") - the first result will be used
   portal-integration-test_1  | .Clicked Create New and selecting HTTP
   portal-integration-test_1  | .Creating a HTTP DS with a topology for http-xml-id-cbhpagdewrniylmktfsouxqvjz
   portal-integration-test_1  | [16:30:47] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:51] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:51] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | .Verifying that http-xml-id-cbhpagdewrniylmktfsouxqvjz exists
   portal-integration-test_1  | .Updating the HTTP delivery service for http-xml-id-cbhpagdewrniylmktfsouxqvjz
   portal-integration-test_1  | FAdding required server capability to http-xml-id-cbhpagdewrniylmktfsouxqvjz
   portal-integration-test_1  | FAdding Static DNS entry to http-xml-id-cbhpagdewrniylmktfsouxqvjz
   portal-integration-test_1  | FViewing all servers utilized by http-xml-id-cbhpagdewrniylmktfsouxqvjz
   portal-integration-test_1  | The ability to assign ORG servers is enabled for http-xml-id-cbhpagdewrniylmktfsouxqvjz
   portal-integration-test_1  | FClicked Create New and selecting Steering
   portal-integration-test_1  | .Creating a Steering DS for dns-xml-id-txgarbzhjlwpqomcdeykvifnsu
   portal-integration-test_1  | [16:30:55] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:58] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | [16:30:58] W/element - more than one element found for locator by.buttonText("Create") - the first result will be used
   portal-integration-test_1  | .Verifying that http-xml-id-ablcqxwdesftghionuyvjrkmpz exists
   portal-integration-test_1  | .Updating the Steering delivery service for http-xml-id-ablcqxwdesftghionuyvjrkmpz
   portal-integration-test_1  | [16:31:00] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | [16:31:01] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | [16:31:01] W/element - more than one element found for locator by.buttonText("Update") - the first result will be used
   portal-integration-test_1  | .Deleting http-xml-id-ablcqxwdesftghionuyvjrkmpz
   portal-integration-test_1  | [16:31:02] W/element - more than one element found for locator by.buttonText("Delete") - the first result will be used
   portal-integration-test_1  | .Go to the jobs page
   portal-integration-test_1  | .Open new job form page
   portal-integration-test_1  | .Building a new job
   portal-integration-test_1  | FGo to the tenants page
   portal-integration-test_1  | .Open new tenant form page
   portal-integration-test_1  | .Filling out form, check create button is enabled and submit
   portal-integration-test_1  | .
   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  |     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")
   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:319: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:310: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  |     Failed: No element found using locator: By(css selector, *[name="moreBtn"])
   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:332: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:330: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  |     Failed: No element found using locator: By(css selector, *[name="dsLink"])
   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:346: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:345: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  |     Failed: No element found using locator: By(css selector, *[name="dsLink"])
   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:370: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:368: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  |     Failed: Cannot read property 'click' of undefined
   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  | 89 specs, 5 failures
   portal-integration-test_1  | Finished in 115.896 seconds
   portal-integration-test_1  |
   portal-integration-test_1  | 16:31:08.803 INFO [ActiveSessions$1.onStop] - Removing session d4308b24351c143a7b68f36ff09b4136 (org.openqa.selenium.chrome.ChromeDriverService)
   portal-integration-test_1  | [16:31:08] I/launcher - 0 instance(s) of WebDriver still running
   portal-integration-test_1  | [16:31:08] I/launcher - chrome #01 failed 5 test(s)
   portal-integration-test_1  | [16:31:08] I/launcher - overall: 5 failed spec(s)
   portal-integration-test_1  | [16:31:08] E/launcher - Process exited with error code 1
   cdn-in-a-box_portal-integration-test_1 exited with code 1
   ```
   </details>


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] zrhoffman commented on issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
zrhoffman commented on issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324#issuecomment-755449902


   Since the TP tests pass as-is, `edge` just needs to be added to the `depends_on:` list for the `portal-integration-test` service in `docker-compose.traffic-portal-test.yml`.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] zrhoffman closed issue #5324: Traffic Portal HTTP delivery service UI tests fail

Posted by GitBox <gi...@apache.org>.
zrhoffman closed issue #5324:
URL: https://github.com/apache/trafficcontrol/issues/5324


   


----------------------------------------------------------------
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:
users@infra.apache.org