3                          !  " # $%& '() + +*+ +,- ./01 2345678 $9: ;<= 2> ? @AB C @DE @FGH IJ KLM PN sO +;PQRS TU VWXY Z [\]^_`a bcdefgh ki Pj Pk kl km nop qr nstuv kwxyz{|}~  cnsLjava/util/List; Signature5Ljava/util/List; cnNodeList'Lorg/dataone/service/types/v2/NodeList;v1mnsv2mnsv1v2mnsmnssetupZ()VCodeLineNumberTableLocalVariableTablethisJLorg/dataone/integration/it/testImplementations/EnvironmentStatusTestImpl;eLjava/lang/Exception;v1ev2ev1MN0Lorg/dataone/integration/adapters/MNCallAdapter;v2MNv1Capabilities#Lorg/dataone/service/types/v1/Node;v2Capabilitiesni$Ljava/util/Iterator;cnItercn0Lorg/dataone/integration/adapters/CNCallAdapter;LocalVariableTypeTable9Ljava/util/Iterator; StackMapTableo  ( ExceptionsRuntimeVisibleAnnotationsLorg/junit/Before;getTestDescription()Ljava/lang/String; checkNodesnodeverLjava/lang/String;s&Lorg/dataone/service/types/v1/Service;mnpingV1pingV2services'Lorg/dataone/service/types/v1/Services;foundV1ServicefoundV2ServiceerrorsLjava/util/ArrayList;)Ljava/util/ArrayList;MLorg/junit/Test;-Lorg/dataone/integration/webTest/WebTestName;valueping environment nodes4Lorg/dataone/integration/webTest/WebTestDescription;Tests whether the nodes listed for the environment can be pinged and are up. For MNs, disregards whether they are registered as v1 or v2 nodes with the CN and pings both endpoints.replicationEnabledreplicateCnCap capabilitiesreplicateMnCapmNodereplication enabled on MNsTests whether replicate is enabled on the MNs in the environment. Compares replicate status in CN NodeList to MN's Node capabilities for consistency.checkSynchronizesynchronizeCnCapsynchronizeMnCapsynchronize enabled on MNsTests whether synchronize is enabled on the MNs in the environment. Compares synchronize status in CN NodeList to MN's Node capabilities for consistency.cnMnServiceConsistencysrvMNsrvCN servicesCN servicesMN servicesMapCNLjava/util/HashMap; servicesMapMN:Ljava/util/HashMap;hCN / MN service consistencyiTests whether the copies of the Node documents on the CN match those on the MNs in terms of the Services. outputResults(Ljava/util/ArrayList;)Vstringresultso,(Ljava/util/ArrayList;)V SourceFileEnvironmentStatusTestImpl.java java/util/ArrayList  8Setup failed! Test requires at least one CN to function.  .org/dataone/integration/adapters/CNCallAdapter   !org/dataone/service/types/v1/Nodev2  java/lang/StringBuilderFetching NodeList from CN:      java/lang/Exception1FAILED setup, unable to fetch node list from CN:       Checking capabilities for MN: .org/dataone/integration/adapters/MNCallAdapterv1 (success for v1 MN.getCapabilities() on: #FAILED v1 MN.getCapabilities() on: (success for v2 MN.getCapabilities() on: #FAILED v2 MN.getCapabilities() on: adding v1 MN: adding v2 MN: adding v1/v2 MN: FAILED setup, found zero CNs.yVarious checks for the current environment - stuff like whether all nodes can be pinged, or CN / MN node doc consistency.F======================================================================pinging CNs...  pinging CN: success pinging ERROR: failed pinging pinging MNs...  (WARNING: CN has Node state as DOWN for:  +WARNING: CN has Node state as UNKNOWN for: CN has Node state as UP for:  pinging MN: ERROR: null services for  $org/dataone/service/types/v1/Service  success pinging v1 endpoint $WARNING: failed pinging v1 endpoint success pinging v2 endpoint $WARNING: failed pinging v2 endpoint 'checking replicate capabilities of MN: #WARNING: replication is off for MN  in CN NodeList ()  0ERROR: Unable to get Node capabilities from MN:  in MN's Node capabilities.6ERROR: replication status is inconsistent between MN ( ) and CN ()checking synchronize capabilities of MN: "WARNING: syncronize is off for MN 'WARNING: synchronization is off for MN 6ERROR: synchronize status is inconsistent between MN (checking Services of MN:  ERROR: Services are NULL for MN java/util/HashMap.    java/lang/String MN service:  CN service: WARNING: the CN (() does not contain all Services for MN (.) that the MN has listed in its Node document. The CN () does not contain the  service from the MN (WARNING: the MN () that the CN has listed.The MN ( service from the CN (G----------------------------------------------------------------------  Results:   #Test contained errors or warnings: Horg/dataone/integration/it/testImplementations/EnvironmentStatusTestImpl3org/dataone/integration/ContextAwareTestCaseDataonejava/util/Iterator%org/dataone/service/types/v1/ServicesgetCoordinatingNodeIterator()Ljava/util/Iterator;,org/apache/commons/collections/IteratorUtilstoList&(Ljava/util/Iterator;)Ljava/util/List;java/util/Listsize()Iorg/junit/Assert assertTrue(Ljava/lang/String;Z)V cnSubmitter getSessionA(Ljava/lang/String;)Lorg/dataone/client/rest/MultipartRestClient;get(I)Ljava/lang/Object;e(Lorg/dataone/client/rest/MultipartRestClient;Lorg/dataone/service/types/v1/Node;Ljava/lang/String;)Vlog Lorg/apache/commons/logging/Log;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;getNodeBaseServiceUrltoStringorg/apache/commons/logging/Loginfo(Ljava/lang/Object;)V listNodes)()Lorg/dataone/service/types/v2/NodeList;error*(Ljava/lang/Object;Ljava/lang/Throwable;)V%org/dataone/service/types/v2/NodeList getNodeList()Ljava/util/List;iteratorhasNext()Znext()Ljava/lang/Object;getType)()Lorg/dataone/service/types/v1/NodeType;%org/dataone/service/types/v1/NodeTypeMN'Lorg/dataone/service/types/v1/NodeType; getBaseURLgetCapabilities%()Lorg/dataone/service/types/v1/Node;getLatestRequestUrladd(Ljava/lang/Object;)ZCNping()Ljava/util/Date;getState*()Lorg/dataone/service/types/v1/NodeState;&org/dataone/service/types/v1/NodeStateDOWN(Lorg/dataone/service/types/v1/NodeState;warnUNKNOWNUP getServices)()Lorg/dataone/service/types/v1/Services;getServiceList getVersionequalsIgnoreCase(Ljava/lang/String;)Z isReplicate getIdentifier.()Lorg/dataone/service/types/v1/NodeReference;*org/dataone/service/types/v1/NodeReferenceequals isSynchronizegetName getAvailable()Ljava/lang/Boolean;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;keySet()Ljava/util/Set; java/util/Setdebug containsAll(Ljava/util/Collection;)Z containsKey!8 ** (   **Y*Y*Y*Y*Y * L+ *+  * Y*MY,*,%NY!,-"-*#$N-%-&:'(Y)*+Y,-:+Y-:::.:Y/0$: Y102.:Y30$: Y402?:Y5**6W*6W?:Y7**6W*6W?:Y8** 6W*6W<*9*  Gmp  3-/01(233>5C6G7O9e:=>B?@ADEFHI.JALDMGONPmSpQrRVWZXY\]^_a&bEcQd]fggh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