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:
[email protected]


Reply via email to