Skip to content

Instantly share code, notes, and snippets.

@christineedwards
Created November 16, 2017 18:40
Show Gist options
  • Save christineedwards/fb76a76af118dbb9cc4333fdd81bedf0 to your computer and use it in GitHub Desktop.
Save christineedwards/fb76a76af118dbb9cc4333fdd81bedf0 to your computer and use it in GitHub Desktop.
C:\src\CCAT\testing_utility>node index.js run e2e --suite=singleton --testonly --skipData  _____                   _             _ |_   _|   __ _   _ __   | |_    __ _  | |  _   _   ___   | |    / _` | | '_ \  | __|  / _` | | | | | | | / __|   | |   | (_| | | | | | | |_  | (_| | | | | |_| | \__ \   |_|    \__,_| |_| |_|  \__|  \__,_| |_|  \__,_| |___/
Welcome to the CCAT Test Runner. -- configuration environment set to dev
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{ testSetId: undefined,  testSets: [],  suite: 'singleton',  multipleSets: false,  createSet: false,  addToSet: false,  autoDiscover: false,  build: 'dev_111617_121403',  environment: 'dev',  type: 'ci',  testOnly: true,  location: 'LOCAL',  resultsFile: undefined,  resultsSource: undefined,  skipTestData: true,  sessionUser: undefined }-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Test data population skipped. (flag present)Starting protractor/ui test run for suite(s) 'singleton'...(node:10520) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.[12:14:08] I/launcher - Running 1 instances of WebDriver[12:14:08] I/local - Starting selenium standalone server...[12:14:14] I/local - Selenium standalone server started at http://10.95.12.201:54640/wd/hub
DevTools listening on ws://127.0.0.1:12558/devtools/browser/14bd4bb9-629d-47c1-be6a-10f7dbf73c64starting protractor session: aa9bcfb9-3d82-435a-9cb4-8e902f080373Started[11008:8656:1116/121429.183:ERROR:ssl_client_socket_impl.cc(1091)] handshake failed; returned -1, SSL error code 1, net_error -101F
Failures:1) User Login TC118076 -  A user attempting to access the application through a non-Siteminder url is redirected to a CCAT unauthorized page  Message:    Expected 'https://ui-contractaudit-dev.ose-ctc-core.optum.com/unauthorized' to contain '/failtest'.  Stack:    Error: Failed expectation        at browser.wait.then (C:\src\CCAT\testing_utility\testing\e2e\specs\auth\li.nonsiteminderattempt.spec.js:31:49)        at ManagedPromise.invokeCallback_ (C:\Users\cedwar17\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:1366:14)        at TaskQueue.execute_ (C:\Users\cedwar17\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2970:14)        at TaskQueue.executeNext_ (C:\Users\cedwar17\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2953:27)        at asyncRun (C:\Users\cedwar17\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2813:27)        at C:\Users\cedwar17\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:676:7        at <anonymous>        at process._tickCallback (internal/process/next_tick.js:169:7)
1 spec, 1 failureFinished in 7.956 seconds
[12:14:36] I/local - Shutting down selenium standalone server.[12:14:36] I/launcher - 0 instance(s) of WebDriver still running[12:14:36] I/launcher - chrome #01 failed 1 test(s)[12:14:36] I/launcher - overall: 1 failed spec(s)
 Re-running tests , attempt :  1 Re-running the following test files : C:\src\CCAT\testing_utility\testing\e2e\specs\auth\li.nonsiteminderattempt.spec.js
[12:14:36] E/launcher - spawn C:\Users\cedwar17\AppData\Roaming\npm\node_modules\protractor\bin\protractor ENOENT[12:14:36] E/launcher - Error: spawn C:\Users\cedwar17\AppData\Roaming\npm\node_modules\protractor\bin\protractor ENOENT    at exports._errnoException (util.js:1016:11)    at Process.ChildProcess._handle.onexit (internal/child_process.js:189:19)    at onErrorNT (internal/child_process.js:366:16)    at _combinedTickCallback (internal/process/next_tick.js:102:11)    at process._tickCallback (internal/process/next_tick.js:161:9)[12:14:36] E/launcher - Process exited with error code 199{ Error: Command failed: protractor testing/e2e/protractor.config.LOCAL.js --suite singleton    at checkExecSyncError (child_process.js:588:13)    at Object.execSync (child_process.js:628:13)    at Promise (C:\src\CCAT\testing_utility\testing\e2e\protractor.runner.js:26:22)    at Promise (<anonymous>)    at ProtractorRunner.run (C:\src\CCAT\testing_utility\testing\e2e\protractor.runner.js:15:12)    at createTestData.then (C:\src\CCAT\testing_utility\index.js:81:28)    at <anonymous>    at process._tickCallback (internal/process/next_tick.js:169:7)  error: null,  cmd: 'protractor testing/e2e/protractor.config.LOCAL.js --suite singleton',  file: 'C:\\Windows\\system32\\cmd.exe',  args:   [ 'C:\\Windows\\system32\\cmd.exe',     '/d',     '/s',     '/c',     '"protractor testing/e2e/protractor.config.LOCAL.js --suite singleton"' ],  options:   { stdio: [ [Object], [Object], [Object] ],     shell: true,     windowsVerbatimArguments: true,     file: 'C:\\Windows\\system32\\cmd.exe',     args:      [ 'C:\\Windows\\system32\\cmd.exe',        '/d',        '/s',        '/c',        '"protractor testing/e2e/protractor.config.LOCAL.js --suite singleton"' ],     envPairs:      [ 'ALLUSERSPROFILE=C:\\ProgramData',        'APPDATA=C:\\Users\\cedwar17\\AppData\\Roaming',        'AppSenseHome=\\\\ms\\userdata\\002\\cedwar17',        'asl.log=Destination=file',        'CommonProgramFiles=C:\\Program Files\\Common Files',        'CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files',        'CommonProgramW6432=C:\\Program Files\\Common Files',        'COMPUTERNAME=LH7U0CND5151M0Q',        'ComSpec=C:\\Windows\\system32\\cmd.exe',        'DataNow=C:\\Users\\cedwar17',        'deployment.expiration.check.enabled=false',        'DES_TOOLS=c:\\windows\\des_tools',        'FP_NO_HOST_CHECK=NO',        'GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q',        'GP_AEP2017Status=ThisIsNonAEP2017Workstation',        'GP_SCForceOption=1',        'GP_SCRemoveOption=1',        'HOMEDRIVE=C:',        'HOMEPATH=\\Users\\cedwar17',        'JAVA_HOME=C:\\Program Files\\Java\\jre7',        'JAVA_TOOL_OPTIONS=-Djava.vendor="Sun Microsystems Inc."',        'LANG=en_US.UTF-8',        'LC_NUMERIC=C',        'LOCALAPPDATA=C:\\Users\\cedwar17\\AppData\\Local',        'LocalDSServer=DSMEP4579.MS.DS.UHC.COM',        'LOGONSERVER=\\\\ADC21061',        'NODE_ENV=dev',        'NUMBER_OF_PROCESSORS=8',        'OS=Windows_NT',        'Path=C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\des_tools;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\VisualSVN\\bin;C:\\Program Files\\CollabNet\\Subversion Client;C:\\Windows\\SysWOW64\\;C:\\Windows\\SysWOW64\\Wbem;C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\AdminStudio\\10.0\\Common;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\PuTTY\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\cedwar17\\.dnx\\bin;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\src\\CCAT\\Protractor test\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\DTS\\Binn\\;C:\\Program Files (x86)\\WebEx\\Productivity Tools;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Sennheiser\\SoftphoneSDK\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Java\\jre7\\bin;C:\\Program Files (x86)\\Microsoft VS Code\\bin;C:\\Users\\cedwar17\\AppData\\Roaming\\npm',        'PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',        'PROCESSOR_ARCHITECTURE=AMD64',        'PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel',        'PROCESSOR_LEVEL=6',        'PROCESSOR_REVISION=3c03',        'ProgramData=C:\\ProgramData',        'ProgramFiles=C:\\Program Files',        'ProgramFiles(x86)=C:\\Program Files (x86)',        'ProgramW6432=C:\\Program Files',        'PROMPT=$P$G',        'PSModulePath=C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\PowerShell\\Modules\\',        'PUBLIC=C:\\Users\\Public',        'SESSIONNAME=Console',        'SID=S-1-5-21-588371583-1805265460-4214133073-2137401',        'skipTestData=true',        'SNOW_INVENTORY_HOME=C:\\Program Files\\INVENTORYCLIENT\\',        'SystemDrive=C:',        'SystemRoot=C:\\Windows',        'TBTF-EMIE=\\\\ms\\netlogon\\UHG\\Scripts\\EM\\EMIE',        'TBTF-Firefox=\\\\ms\\netlogon\\uhg\\scripts\\em\\Firefox',        'TEMP=C:\\Users\\cedwar17\\AppData\\Local\\Temp',        'testBuild=dev_111617_121403',        'testName=Automation: singleton (dev | undefined)',        'TMP=C:\\Users\\cedwar17\\AppData\\Local\\Temp',        'USERDNSDOMAIN=MS.DS.UHC.COM',        'USERDOMAIN=MS',        'USERDOMAIN_ROAMINGPROFILE=MS',        'USERNAME=cedwar17',        'USERPROFILE=C:\\Users\\cedwar17',        'VS110COMNTOOLS=C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\',        'VS120COMNTOOLS=C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools\\',        'VS140COMNTOOLS=C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\',        'VSCODE_CWD=C:\\Program Files (x86)\\Microsoft VS Code',        'VSCODE_IPC_HOOK=\\\\.\\pipe\\code-3e5da7-1.14.2-main-sock',        'VSCODE_NLS_CONFIG={"locale":"en-us","availableLanguages":{}}',        'VSCODE_NODE_CACHED_DATA_DIR_11024=C:\\Users\\cedwar17\\AppData\\Roaming\\Code\\CachedData\\cb82febafda0c8c199b9201ad274e25d9a76874e',        'VSCODE_PID=11024',        'windir=C:\\Windows',        'windows_tracing_flags=3',        'windows_tracing_logfile=C:\\BVTBin\\Tests\\installpackage\\csilogfile.log' ],     killSignal: undefined },  envPairs:   [ 'ALLUSERSPROFILE=C:\\ProgramData',     'APPDATA=C:\\Users\\cedwar17\\AppData\\Roaming',     'AppSenseHome=\\\\ms\\userdata\\002\\cedwar17',     'asl.log=Destination=file',     'CommonProgramFiles=C:\\Program Files\\Common Files',     'CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files',     'CommonProgramW6432=C:\\Program Files\\Common Files',     'COMPUTERNAME=LH7U0CND5151M0Q',     'ComSpec=C:\\Windows\\system32\\cmd.exe',     'DataNow=C:\\Users\\cedwar17',     'deployment.expiration.check.enabled=false',     'DES_TOOLS=c:\\windows\\des_tools',     'FP_NO_HOST_CHECK=NO',     'GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q',     'GP_AEP2017Status=ThisIsNonAEP2017Workstation',     'GP_SCForceOption=1',     'GP_SCRemoveOption=1',     'HOMEDRIVE=C:',     'HOMEPATH=\\Users\\cedwar17',     'JAVA_HOME=C:\\Program Files\\Java\\jre7',     'JAVA_TOOL_OPTIONS=-Djava.vendor="Sun Microsystems Inc."',     'LANG=en_US.UTF-8',     'LC_NUMERIC=C',     'LOCALAPPDATA=C:\\Users\\cedwar17\\AppData\\Local',     'LocalDSServer=DSMEP4579.MS.DS.UHC.COM',     'LOGONSERVER=\\\\ADC21061',     'NODE_ENV=dev',     'NUMBER_OF_PROCESSORS=8',     'OS=Windows_NT',     'Path=C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\des_tools;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\VisualSVN\\bin;C:\\Program Files\\CollabNet\\Subversion Client;C:\\Windows\\SysWOW64\\;C:\\Windows\\SysWOW64\\Wbem;C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\AdminStudio\\10.0\\Common;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\PuTTY\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\cedwar17\\.dnx\\bin;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\src\\CCAT\\Protractor test\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\DTS\\Binn\\;C:\\Program Files (x86)\\WebEx\\Productivity Tools;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Sennheiser\\SoftphoneSDK\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Java\\jre7\\bin;C:\\Program Files (x86)\\Microsoft VS Code\\bin;C:\\Users\\cedwar17\\AppData\\Roaming\\npm',     'PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',     'PROCESSOR_ARCHITECTURE=AMD64',     'PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel',     'PROCESSOR_LEVEL=6',     'PROCESSOR_REVISION=3c03',     'ProgramData=C:\\ProgramData',     'ProgramFiles=C:\\Program Files',     'ProgramFiles(x86)=C:\\Program Files (x86)',     'ProgramW6432=C:\\Program Files',     'PROMPT=$P$G',     'PSModulePath=C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\PowerShell\\Modules\\',     'PUBLIC=C:\\Users\\Public',     'SESSIONNAME=Console',     'SID=S-1-5-21-588371583-1805265460-4214133073-2137401',     'skipTestData=true',     'SNOW_INVENTORY_HOME=C:\\Program Files\\INVENTORYCLIENT\\',     'SystemDrive=C:',     'SystemRoot=C:\\Windows',     'TBTF-EMIE=\\\\ms\\netlogon\\UHG\\Scripts\\EM\\EMIE',     'TBTF-Firefox=\\\\ms\\netlogon\\uhg\\scripts\\em\\Firefox',     'TEMP=C:\\Users\\cedwar17\\AppData\\Local\\Temp',     'testBuild=dev_111617_121403',     'testName=Automation: singleton (dev | undefined)',     'TMP=C:\\Users\\cedwar17\\AppData\\Local\\Temp',     'USERDNSDOMAIN=MS.DS.UHC.COM',     'USERDOMAIN=MS',     'USERDOMAIN_ROAMINGPROFILE=MS',     'USERNAME=cedwar17',     'USERPROFILE=C:\\Users\\cedwar17',     'VS110COMNTOOLS=C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\',     'VS120COMNTOOLS=C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools\\',     'VS140COMNTOOLS=C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\',     'VSCODE_CWD=C:\\Program Files (x86)\\Microsoft VS Code',     'VSCODE_IPC_HOOK=\\\\.\\pipe\\code-3e5da7-1.14.2-main-sock',     'VSCODE_NLS_CONFIG={"locale":"en-us","availableLanguages":{}}',     'VSCODE_NODE_CACHED_DATA_DIR_11024=C:\\Users\\cedwar17\\AppData\\Roaming\\Code\\CachedData\\cb82febafda0c8c199b9201ad274e25d9a76874e',     'VSCODE_PID=11024',     'windir=C:\\Windows',     'windows_tracing_flags=3',     'windows_tracing_logfile=C:\\BVTBin\\Tests\\installpackage\\csilogfile.log' ],  stderr: null,  stdout: null,  pid: 14676,  output: [ null, null, null ],  signal: null,  status: 199 }Test run completed with errors.Error: Command failed: protractor testing/e2e/protractor.config.LOCAL.js --suite singleton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment