66. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/2/2017 7:00:31 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

66.1 Files compared

# Location File Last Modified
1 cds.zip\cds\product\tests\smoke-tests CDSIsmokeTest.sh Wed Dec 16 14:11:22 2015 UTC
2 cds.zip\cds\product\tests\smoke-tests CDSIsmokeTest.sh Mon Oct 2 11:29:54 2017 UTC

66.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 62
Changed 1 2
Inserted 0 0
Removed 0 0

66.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

66.4 Active regular expressions

No regular expressions were active.

66.5 Comparison detail

  1   #!/usr/bin /env sh
  2  
  3   node=cdsin vocation
  4  
  5   # The firs t thing we  need to d o is deter mine wheth er we are  testing LO CALly or t esting in  AWS.
  6  
  7   local_aws= `knife sea rch node " name:$node * AND role :*$node* N OT name:*b uild*" -c  ~/Projects /vistacore /.chef/kni fe.rb | gr ep '^Roles :' | head  -1 | awk ' {print $2} ' | awk -F , '{print  $1}'`
  8  
  9   case $loca l_aws in
  10           lo cal) IPadd r=`knife s earch node  "name:$no de* AND ro le:*local*  AND role: *$node* NO T name:*bu ild*" -c ~ /Projects/ vistacore/ .chef/knif e.rb | gre p '^IP:' |  head -1 |  awk '{pri nt $2}'` ; ;
  11           aw s) IPaddr= `knife sea rch node " name:$node * AND role :*aws* AND  role:*$no de* NOT na me:*build* " -c ~/Pro jects/vist acore/.che f/knife.rb  | grep '^ IP:' | hea d -1 | awk  '{print $ 2}'` ;;
  12   esac
  13  
  14   ping -c 3  $IPaddr >  /dev/null
  15   if [ $? -e q 0 ]
  16   then
  17           TC Pport= PORT
  18           su ccessSTRIN G="Status  = RUNNING"
  19           re turnedSTRI NG=`curl h ttp://$IPa ddr:$TCPpo rt/cds-res ults-servi ce/rest/he althcheck  2> /dev/nu ll`
  20  
  21           if  [ "$retur nedSTRING"  == "$succ essSTRING"  ]
  22           th en
  23                    stat us="PASSED "
  24           el se
  25                    stat us="FAILED "
  26           fi
  27  
  28           ec ho "CDSinv ocation $s tatus the  Smoke Test !"
  29   else
  30           ec ho "ERROR:   Either t he CDSinvo cation hos t is unrea chable, or  an invali d IP addre ss has bee n specifie d"
  31           ex it -2
  32   fi