You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/01/26 18:28:30 UTC

Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #458

See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/458/display/redirect>

Changes:


------------------------------------------
[...truncated 158.55 KB...]
apache_beam/runners/portability/fn_api_runner.py:489: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:536: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:570: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:584: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:586: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:595: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:602: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:607: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:610: error: "GeneratedProtocolMessageType" has no attribute "IterableSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:615: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:618: error: "GeneratedProtocolMessageType" has no attribute "MultimapSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:626: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:660: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:670: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:695: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:704: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "residual_roots"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:710: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "channel_splits"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:739: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:749: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:751: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:752: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:758: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:759: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:760: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:763: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:764: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:771: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:772: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:773: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:774: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:774: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:776: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:777: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:780: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:782: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:808: error: "GeneratedProtocolMessageType" has no attribute "Runner"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:828: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:830: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:831: error: beam_runner_api_pb2.Components? has no attribute "coders"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:833: error: beam_runner_api_pb2.Components? has no attribute "windowing_strategies"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:834: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:839: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:927: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:957: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:958: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:959: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:967: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:968: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:994: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:996: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:997: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:999: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1002: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1003: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1004: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1005: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1006: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1007: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1008: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1014: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1015: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1016: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1017: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:1018: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1018: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1020: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1021: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1094: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1105: error: Incompatible return value type (got "Tuple[bytes, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")  [assignment]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1113: error: Incompatible return value type (got "Tuple[Any, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1119: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1127: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1140: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1143: error: beam_fn_api_pb2.StateKey? has no attribute "SerializeToString"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1150: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1151: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateRequest" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1158: error: beam_fn_api_pb2.StateRequest? has no attribute "WhichOneof"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1163: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "append"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1169: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1172: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1174: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1186: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1288: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1292: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1296: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1313: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1319: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1321: error: beam_runner_api_pb2.Environment? has no attribute "payload"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1389: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1390: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1391: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1392: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1393: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1394: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1395: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1396: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1409: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1413: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.GetProvisionInfoResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1544: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1549: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1554: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1572: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1575: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.ExternalPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1589: error: beam_runner_api_pb2.ExternalPayload? has no attribute "endpoint"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1599: error: beam_runner_api_pb2.ExternalPayload? has no attribute "params"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1684: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1687: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.DockerPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1695: error: beam_runner_api_pb2.DockerPayload? has no attribute "container_image"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1720: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1764: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1785: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1795: error: Argument 4 to "create" of "WorkerHandler" has incompatible type "Optional[GrpcServer]"; expected "GrpcServer"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1818: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1866: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1931: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1936: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1968: error: "GeneratedProtocolMessageType" has no attribute "DesiredSplit"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1972: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1972: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1976: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1978: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1980: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1983: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1984: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1986: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle_split"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2023: error: beam_fn_api_pb2.ProcessBundleDescriptor? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2027: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2039: error: "None" has no attribute "is_done"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2040: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2047: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2047: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2049: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2050: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2052: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2070: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2092: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2093: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2232: error: Variable "apache_beam.portability.api.metrics_pb2.MonitoringInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:88: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:236: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:331: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:332: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:333: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:334: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:335: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:336: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:57: error: "GeneratedProtocolMessageType" has no attribute "MESSAGE_IMPORTANCE_UNSPECIFIED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:58: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:59: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DETAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:60: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:61: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:62: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:66: error: "GeneratedProtocolMessageType" has no attribute "DONE"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:67: error: "GeneratedProtocolMessageType" has no attribute "DRAINED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:68: error: "GeneratedProtocolMessageType" has no attribute "FAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:69: error: "GeneratedProtocolMessageType" has no attribute "CANCELLED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:170: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:173: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:224: error: Variable "apache_beam.portability.api.beam_job_api_pb2.DescribePipelineOptionsResponse" is not valid as a type  [valid-type]
apache_beam/typehints/decorators_test_py3.py:40: error: String argument 1 'T' to TypeVar(...) does not match variable name 'T_typing'  [misc]
apache_beam/typehints/decorators_test_py3.py:40: error: "object" not callable  [operator]
apache_beam/typehints/decorators_test_py3.py:86: error: Incompatible default for argument "b" (default has type "None", argument has type "str")  [assignment]
apache_beam/typehints/decorators_test.py:109: error: Type application targets a non-generic function or class  [misc]
apache_beam/runners/interactive/caching/streaming_cache_test.py:34: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:35: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:36: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/io/aws/s3filesystem_test.py:40: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/io/aws/s3filesystem_test.py:86: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:107: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:127: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:141: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:159: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:170: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:181: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:196: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:209: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:225: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:255: error: Cannot infer type of lambda  [misc]
apache_beam/transforms/window_test.py:70: error: Cannot instantiate abstract class 'ReifyWindowsFn' with abstract attribute 'to_runner_api_parameter'  [abstract]
apache_beam/transforms/trigger_test.py:677: error: Need type annotation for 'create_accumulator'  [var-annotated]
apache_beam/transforms/trigger_test.py:679: error: Need type annotation for 'merge_accumulators'  [var-annotated]
apache_beam/transforms/combiners_test.py:378: error: All conditional function variants must have identical signatures  [misc]
apache_beam/runners/interactive/interactive_environment_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph.py:55: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:89: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "to_runner_api"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:101: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:103: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:135: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.PTransform" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/background_caching_job_test.py:41: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pcoll_visualization_test.py:38: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
Found 876 errors in 57 files (checked 628 source files)
error: mypy exited with status 1
py37-mypy run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-mypy: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lintPy27_3

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

868.70user 21.21system 5:22.52elapsed 275%CPU (0avgtext+0avgdata 508432maxresident)k
1680inputs+248outputs (0major+1078242minor)pagefaults 0swaps
py27-lint3 run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py27-lint3: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lint

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 9m 35s
8 actionable tasks: 8 executed

Publishing build scan...
https://gradle.com/s/djlldkg7bd6cy

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Jenkins build is back to normal : beam_PreCommit_PythonLint_Cron #464

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/464/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #463

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/463/display/redirect?page=changes>

Changes:

[kcweaver] [DO NOT MERGE][BEAM-9177] Update Flink runner webpage for 2.18

[kcweaver] Update Beam version chart

[robinyqiu] Turn on BeamZetaSqlCalcRel

[iemejia] [website] Add warning on Beam 2.18.0 blog post for Avro 1.9.0 users

[tvalentyn] [BEAM-9184] Add ToSet combiner (#10636)


------------------------------------------
[...truncated 158.28 KB...]
apache_beam/runners/portability/fn_api_runner.py:489: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:536: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:570: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:584: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:586: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:595: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:602: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:607: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:610: error: "GeneratedProtocolMessageType" has no attribute "IterableSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:615: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:618: error: "GeneratedProtocolMessageType" has no attribute "MultimapSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:626: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:660: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:670: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:695: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:704: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "residual_roots"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:710: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "channel_splits"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:739: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:749: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:751: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:752: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:758: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:759: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:760: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:763: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:764: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:771: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:772: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:773: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:774: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:774: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:776: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:777: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:780: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:782: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:808: error: "GeneratedProtocolMessageType" has no attribute "Runner"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:828: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:830: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:831: error: beam_runner_api_pb2.Components? has no attribute "coders"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:833: error: beam_runner_api_pb2.Components? has no attribute "windowing_strategies"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:834: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:839: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:927: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:957: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:958: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:959: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:967: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:968: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:994: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:996: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:997: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:999: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1002: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1003: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1004: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1005: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1006: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1007: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1008: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1014: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1015: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1016: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1017: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:1018: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1018: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1020: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1021: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1094: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1105: error: Incompatible return value type (got "Tuple[bytes, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")  [assignment]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1113: error: Incompatible return value type (got "Tuple[Any, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1119: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1127: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1140: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1143: error: beam_fn_api_pb2.StateKey? has no attribute "SerializeToString"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1150: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1151: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateRequest" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1158: error: beam_fn_api_pb2.StateRequest? has no attribute "WhichOneof"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1163: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "append"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1169: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1172: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1174: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1186: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1288: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1292: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1296: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1313: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1319: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1321: error: beam_runner_api_pb2.Environment? has no attribute "payload"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1389: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1390: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1391: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1392: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1393: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1394: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1395: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1396: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1409: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1413: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.GetProvisionInfoResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1544: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1549: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1554: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1572: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1575: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.ExternalPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1589: error: beam_runner_api_pb2.ExternalPayload? has no attribute "endpoint"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1599: error: beam_runner_api_pb2.ExternalPayload? has no attribute "params"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1684: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1687: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.DockerPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1695: error: beam_runner_api_pb2.DockerPayload? has no attribute "container_image"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1720: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1764: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1785: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1795: error: Argument 4 to "create" of "WorkerHandler" has incompatible type "Optional[GrpcServer]"; expected "GrpcServer"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1818: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1866: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1931: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1936: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1968: error: "GeneratedProtocolMessageType" has no attribute "DesiredSplit"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1972: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1972: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1976: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1978: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1980: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1983: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1984: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1986: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle_split"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2023: error: beam_fn_api_pb2.ProcessBundleDescriptor? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2027: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2039: error: "None" has no attribute "is_done"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2040: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2047: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2047: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2049: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2050: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2052: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2070: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2092: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2093: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2232: error: Variable "apache_beam.portability.api.metrics_pb2.MonitoringInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:88: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:236: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:331: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:332: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:333: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:334: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:335: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:336: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:57: error: "GeneratedProtocolMessageType" has no attribute "MESSAGE_IMPORTANCE_UNSPECIFIED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:58: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:59: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DETAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:60: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:61: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:62: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:66: error: "GeneratedProtocolMessageType" has no attribute "DONE"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:67: error: "GeneratedProtocolMessageType" has no attribute "DRAINED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:68: error: "GeneratedProtocolMessageType" has no attribute "FAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:69: error: "GeneratedProtocolMessageType" has no attribute "CANCELLED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:170: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:173: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:224: error: Variable "apache_beam.portability.api.beam_job_api_pb2.DescribePipelineOptionsResponse" is not valid as a type  [valid-type]
apache_beam/typehints/decorators_test_py3.py:40: error: String argument 1 'T' to TypeVar(...) does not match variable name 'T_typing'  [misc]
apache_beam/typehints/decorators_test_py3.py:40: error: "object" not callable  [operator]
apache_beam/typehints/decorators_test_py3.py:86: error: Incompatible default for argument "b" (default has type "None", argument has type "str")  [assignment]
apache_beam/typehints/decorators_test.py:109: error: Type application targets a non-generic function or class  [misc]
apache_beam/runners/interactive/caching/streaming_cache_test.py:34: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:35: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:36: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/io/aws/s3filesystem_test.py:40: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/io/aws/s3filesystem_test.py:86: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:107: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:127: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:141: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:159: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:170: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:181: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:196: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:209: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:225: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:255: error: Cannot infer type of lambda  [misc]
apache_beam/transforms/window_test.py:70: error: Cannot instantiate abstract class 'ReifyWindowsFn' with abstract attribute 'to_runner_api_parameter'  [abstract]
apache_beam/transforms/trigger_test.py:677: error: Need type annotation for 'create_accumulator'  [var-annotated]
apache_beam/transforms/trigger_test.py:679: error: Need type annotation for 'merge_accumulators'  [var-annotated]
apache_beam/transforms/combiners_test.py:378: error: All conditional function variants must have identical signatures  [misc]
apache_beam/runners/interactive/interactive_environment_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph.py:55: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:89: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "to_runner_api"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:101: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:103: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:135: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.PTransform" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/background_caching_job_test.py:41: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pcoll_visualization_test.py:38: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
Found 876 errors in 57 files (checked 628 source files)
error: mypy exited with status 1
py37-mypy run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-mypy: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lintPy27_3

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

675.53user 16.70system 2:00.06elapsed 576%CPU (0avgtext+0avgdata 488780maxresident)k
0inputs+248outputs (0major+1069322minor)pagefaults 0swaps
py27-lint3 run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py27-lint3: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lint

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 2s
8 actionable tasks: 8 executed

Publishing build scan...
https://gradle.com/s/kw6zqjr6pfau6

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #462

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/462/display/redirect?page=changes>

Changes:

[pawel.pasterz] [BEAM-8941] Implement simple DSL for load tests

[github] [BEAM-9183, BEAM-9026] Initialize and cleanup the state of


------------------------------------------
[...truncated 158.35 KB...]
apache_beam/runners/portability/fn_api_runner.py:489: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:536: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:570: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:584: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:586: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:595: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:602: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:607: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:610: error: "GeneratedProtocolMessageType" has no attribute "IterableSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:615: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:618: error: "GeneratedProtocolMessageType" has no attribute "MultimapSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:626: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:660: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:670: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:695: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:704: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "residual_roots"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:710: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "channel_splits"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:739: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:749: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:751: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:752: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:758: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:759: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:760: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:763: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:764: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:771: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:772: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:773: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:774: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:774: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:776: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:777: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:780: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:782: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:808: error: "GeneratedProtocolMessageType" has no attribute "Runner"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:828: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:830: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:831: error: beam_runner_api_pb2.Components? has no attribute "coders"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:833: error: beam_runner_api_pb2.Components? has no attribute "windowing_strategies"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:834: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:839: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:927: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:957: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:958: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:959: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:967: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:968: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:994: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:996: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:997: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:999: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1002: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1003: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1004: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1005: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1006: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1007: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1008: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1014: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1015: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1016: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1017: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:1018: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1018: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1020: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1021: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1094: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1105: error: Incompatible return value type (got "Tuple[bytes, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")  [assignment]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1113: error: Incompatible return value type (got "Tuple[Any, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1119: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1127: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1140: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1143: error: beam_fn_api_pb2.StateKey? has no attribute "SerializeToString"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1150: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1151: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateRequest" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1158: error: beam_fn_api_pb2.StateRequest? has no attribute "WhichOneof"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1163: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "append"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1169: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1172: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1174: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1186: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1288: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1292: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1296: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1313: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1319: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1321: error: beam_runner_api_pb2.Environment? has no attribute "payload"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1389: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1390: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1391: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1392: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1393: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1394: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1395: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1396: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1409: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1413: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.GetProvisionInfoResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1544: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1549: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1554: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1572: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1575: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.ExternalPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1589: error: beam_runner_api_pb2.ExternalPayload? has no attribute "endpoint"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1599: error: beam_runner_api_pb2.ExternalPayload? has no attribute "params"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1684: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1687: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.DockerPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1695: error: beam_runner_api_pb2.DockerPayload? has no attribute "container_image"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1720: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1764: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1785: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1795: error: Argument 4 to "create" of "WorkerHandler" has incompatible type "Optional[GrpcServer]"; expected "GrpcServer"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1818: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1866: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1931: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1936: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1968: error: "GeneratedProtocolMessageType" has no attribute "DesiredSplit"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1972: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1972: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1976: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1978: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1980: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1983: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1984: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1986: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle_split"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2023: error: beam_fn_api_pb2.ProcessBundleDescriptor? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2027: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2039: error: "None" has no attribute "is_done"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2040: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2047: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2047: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2049: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2050: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2052: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2070: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2092: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2093: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2232: error: Variable "apache_beam.portability.api.metrics_pb2.MonitoringInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:88: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:236: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:331: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:332: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:333: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:334: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:335: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:336: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:57: error: "GeneratedProtocolMessageType" has no attribute "MESSAGE_IMPORTANCE_UNSPECIFIED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:58: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:59: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DETAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:60: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:61: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:62: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:66: error: "GeneratedProtocolMessageType" has no attribute "DONE"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:67: error: "GeneratedProtocolMessageType" has no attribute "DRAINED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:68: error: "GeneratedProtocolMessageType" has no attribute "FAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:69: error: "GeneratedProtocolMessageType" has no attribute "CANCELLED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:170: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:173: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:224: error: Variable "apache_beam.portability.api.beam_job_api_pb2.DescribePipelineOptionsResponse" is not valid as a type  [valid-type]
apache_beam/typehints/decorators_test_py3.py:40: error: String argument 1 'T' to TypeVar(...) does not match variable name 'T_typing'  [misc]
apache_beam/typehints/decorators_test_py3.py:40: error: "object" not callable  [operator]
apache_beam/typehints/decorators_test_py3.py:86: error: Incompatible default for argument "b" (default has type "None", argument has type "str")  [assignment]
apache_beam/typehints/decorators_test.py:109: error: Type application targets a non-generic function or class  [misc]
apache_beam/runners/interactive/caching/streaming_cache_test.py:34: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:35: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:36: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/io/aws/s3filesystem_test.py:40: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/io/aws/s3filesystem_test.py:86: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:107: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:127: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:141: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:159: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:170: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:181: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:196: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:209: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:225: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:255: error: Cannot infer type of lambda  [misc]
apache_beam/transforms/window_test.py:70: error: Cannot instantiate abstract class 'ReifyWindowsFn' with abstract attribute 'to_runner_api_parameter'  [abstract]
apache_beam/transforms/trigger_test.py:677: error: Need type annotation for 'create_accumulator'  [var-annotated]
apache_beam/transforms/trigger_test.py:679: error: Need type annotation for 'merge_accumulators'  [var-annotated]
apache_beam/transforms/combiners_test.py:378: error: All conditional function variants must have identical signatures  [misc]
apache_beam/runners/interactive/interactive_environment_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph.py:55: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:89: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "to_runner_api"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:101: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:103: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:135: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.PTransform" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/background_caching_job_test.py:41: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pcoll_visualization_test.py:38: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
Found 876 errors in 57 files (checked 628 source files)
error: mypy exited with status 1
py37-mypy run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-mypy: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lintPy27_3

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

602.60user 14.26system 1:47.58elapsed 573%CPU (0avgtext+0avgdata 490420maxresident)k
3792inputs+248outputs (0major+1045962minor)pagefaults 0swaps
py27-lint3 run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py27-lint3: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lint

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 51s
8 actionable tasks: 8 executed

Publishing build scan...
https://gradle.com/s/mxuqxhegii3fu

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #461

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/461/display/redirect>

Changes:


------------------------------------------
[...truncated 158.07 KB...]
apache_beam/runners/portability/fn_api_runner.py:489: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:536: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:570: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:584: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:586: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:595: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:602: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:607: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:610: error: "GeneratedProtocolMessageType" has no attribute "IterableSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:615: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:618: error: "GeneratedProtocolMessageType" has no attribute "MultimapSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:626: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:660: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:670: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:695: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:704: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "residual_roots"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:710: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "channel_splits"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:739: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:749: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:751: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:752: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:758: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:759: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:760: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:763: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:764: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:771: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:772: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:773: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:774: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:774: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:776: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:777: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:780: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:782: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:808: error: "GeneratedProtocolMessageType" has no attribute "Runner"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:828: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:830: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:831: error: beam_runner_api_pb2.Components? has no attribute "coders"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:833: error: beam_runner_api_pb2.Components? has no attribute "windowing_strategies"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:834: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:839: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:927: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:957: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:958: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:959: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:967: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:968: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:994: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:996: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:997: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:999: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1002: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1003: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1004: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1005: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1006: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1007: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1008: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1014: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1015: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1016: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1017: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:1018: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1018: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1020: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1021: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1094: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1105: error: Incompatible return value type (got "Tuple[bytes, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")  [assignment]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1113: error: Incompatible return value type (got "Tuple[Any, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1119: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1127: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1140: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1143: error: beam_fn_api_pb2.StateKey? has no attribute "SerializeToString"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1150: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1151: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateRequest" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1158: error: beam_fn_api_pb2.StateRequest? has no attribute "WhichOneof"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1163: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "append"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1169: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1172: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1174: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1186: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1288: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1292: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1296: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1313: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1319: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1321: error: beam_runner_api_pb2.Environment? has no attribute "payload"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1389: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1390: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1391: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1392: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1393: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1394: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1395: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1396: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1409: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1413: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.GetProvisionInfoResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1544: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1549: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1554: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1572: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1575: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.ExternalPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1589: error: beam_runner_api_pb2.ExternalPayload? has no attribute "endpoint"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1599: error: beam_runner_api_pb2.ExternalPayload? has no attribute "params"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1684: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1687: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.DockerPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1695: error: beam_runner_api_pb2.DockerPayload? has no attribute "container_image"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1720: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1764: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1785: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1795: error: Argument 4 to "create" of "WorkerHandler" has incompatible type "Optional[GrpcServer]"; expected "GrpcServer"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1818: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1866: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1931: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1936: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1968: error: "GeneratedProtocolMessageType" has no attribute "DesiredSplit"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1972: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1972: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1976: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1978: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1980: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1983: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1984: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1986: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle_split"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2023: error: beam_fn_api_pb2.ProcessBundleDescriptor? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2027: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2039: error: "None" has no attribute "is_done"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2040: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2047: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2047: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2049: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2050: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2052: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2070: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2092: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2093: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2232: error: Variable "apache_beam.portability.api.metrics_pb2.MonitoringInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:88: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:236: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:331: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:332: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:333: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:334: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:335: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:336: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:57: error: "GeneratedProtocolMessageType" has no attribute "MESSAGE_IMPORTANCE_UNSPECIFIED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:58: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:59: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DETAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:60: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:61: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:62: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:66: error: "GeneratedProtocolMessageType" has no attribute "DONE"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:67: error: "GeneratedProtocolMessageType" has no attribute "DRAINED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:68: error: "GeneratedProtocolMessageType" has no attribute "FAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:69: error: "GeneratedProtocolMessageType" has no attribute "CANCELLED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:170: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:173: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:224: error: Variable "apache_beam.portability.api.beam_job_api_pb2.DescribePipelineOptionsResponse" is not valid as a type  [valid-type]
apache_beam/typehints/decorators_test_py3.py:40: error: String argument 1 'T' to TypeVar(...) does not match variable name 'T_typing'  [misc]
apache_beam/typehints/decorators_test_py3.py:40: error: "object" not callable  [operator]
apache_beam/typehints/decorators_test_py3.py:86: error: Incompatible default for argument "b" (default has type "None", argument has type "str")  [assignment]
apache_beam/typehints/decorators_test.py:109: error: Type application targets a non-generic function or class  [misc]
apache_beam/runners/interactive/caching/streaming_cache_test.py:34: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:35: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:36: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/io/aws/s3filesystem_test.py:40: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/io/aws/s3filesystem_test.py:86: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:107: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:127: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:141: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:159: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:170: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:181: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:196: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:209: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:225: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:255: error: Cannot infer type of lambda  [misc]
apache_beam/transforms/window_test.py:70: error: Cannot instantiate abstract class 'ReifyWindowsFn' with abstract attribute 'to_runner_api_parameter'  [abstract]
apache_beam/transforms/trigger_test.py:677: error: Need type annotation for 'create_accumulator'  [var-annotated]
apache_beam/transforms/trigger_test.py:679: error: Need type annotation for 'merge_accumulators'  [var-annotated]
apache_beam/transforms/combiners_test.py:378: error: All conditional function variants must have identical signatures  [misc]
apache_beam/runners/interactive/interactive_environment_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph.py:55: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:89: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "to_runner_api"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:101: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:103: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:135: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.PTransform" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/background_caching_job_test.py:41: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pcoll_visualization_test.py:38: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
Found 876 errors in 57 files (checked 628 source files)
error: mypy exited with status 1
py37-mypy run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-mypy: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lintPy27_3

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

669.63user 15.92system 2:02.50elapsed 559%CPU (0avgtext+0avgdata 481004maxresident)k
2016inputs+248outputs (1major+1049506minor)pagefaults 0swaps
py27-lint3 run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py27-lint3: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lint

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 2s
8 actionable tasks: 8 executed

Publishing build scan...
https://gradle.com/s/pql3zbtwwhr6c

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #460

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/460/display/redirect>

Changes:


------------------------------------------
[...truncated 158.08 KB...]
apache_beam/runners/portability/fn_api_runner.py:489: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:536: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:570: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:584: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:586: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:595: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:602: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:607: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:610: error: "GeneratedProtocolMessageType" has no attribute "IterableSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:615: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:618: error: "GeneratedProtocolMessageType" has no attribute "MultimapSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:626: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:660: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:670: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:695: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:704: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "residual_roots"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:710: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "channel_splits"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:739: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:749: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:751: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:752: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:758: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:759: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:760: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:763: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:764: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:771: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:772: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:773: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:774: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:774: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:776: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:777: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:780: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:782: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:808: error: "GeneratedProtocolMessageType" has no attribute "Runner"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:828: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:830: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:831: error: beam_runner_api_pb2.Components? has no attribute "coders"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:833: error: beam_runner_api_pb2.Components? has no attribute "windowing_strategies"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:834: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:839: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:927: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:957: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:958: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:959: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:967: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:968: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:994: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:996: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:997: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:999: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1002: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1003: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1004: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1005: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1006: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1007: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1008: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1014: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1015: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1016: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1017: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:1018: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1018: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1020: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1021: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1094: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1105: error: Incompatible return value type (got "Tuple[bytes, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")  [assignment]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1113: error: Incompatible return value type (got "Tuple[Any, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1119: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1127: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1140: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1143: error: beam_fn_api_pb2.StateKey? has no attribute "SerializeToString"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1150: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1151: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateRequest" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1158: error: beam_fn_api_pb2.StateRequest? has no attribute "WhichOneof"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1163: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "append"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1169: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1172: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1174: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1186: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1288: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1292: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1296: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1313: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1319: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1321: error: beam_runner_api_pb2.Environment? has no attribute "payload"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1389: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1390: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1391: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1392: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1393: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1394: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1395: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1396: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1409: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1413: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.GetProvisionInfoResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1544: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1549: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1554: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1572: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1575: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.ExternalPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1589: error: beam_runner_api_pb2.ExternalPayload? has no attribute "endpoint"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1599: error: beam_runner_api_pb2.ExternalPayload? has no attribute "params"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1684: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1687: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.DockerPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1695: error: beam_runner_api_pb2.DockerPayload? has no attribute "container_image"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1720: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1764: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1785: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1795: error: Argument 4 to "create" of "WorkerHandler" has incompatible type "Optional[GrpcServer]"; expected "GrpcServer"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1818: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1866: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1931: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1936: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1968: error: "GeneratedProtocolMessageType" has no attribute "DesiredSplit"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1972: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1972: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1976: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1978: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1980: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1983: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1984: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1986: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle_split"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2023: error: beam_fn_api_pb2.ProcessBundleDescriptor? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2027: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2039: error: "None" has no attribute "is_done"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2040: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2047: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2047: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2049: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2050: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2052: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2070: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2092: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2093: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2232: error: Variable "apache_beam.portability.api.metrics_pb2.MonitoringInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:88: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:236: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:331: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:332: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:333: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:334: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:335: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:336: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:57: error: "GeneratedProtocolMessageType" has no attribute "MESSAGE_IMPORTANCE_UNSPECIFIED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:58: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:59: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DETAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:60: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:61: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:62: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:66: error: "GeneratedProtocolMessageType" has no attribute "DONE"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:67: error: "GeneratedProtocolMessageType" has no attribute "DRAINED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:68: error: "GeneratedProtocolMessageType" has no attribute "FAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:69: error: "GeneratedProtocolMessageType" has no attribute "CANCELLED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:170: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:173: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:224: error: Variable "apache_beam.portability.api.beam_job_api_pb2.DescribePipelineOptionsResponse" is not valid as a type  [valid-type]
apache_beam/typehints/decorators_test_py3.py:40: error: String argument 1 'T' to TypeVar(...) does not match variable name 'T_typing'  [misc]
apache_beam/typehints/decorators_test_py3.py:40: error: "object" not callable  [operator]
apache_beam/typehints/decorators_test_py3.py:86: error: Incompatible default for argument "b" (default has type "None", argument has type "str")  [assignment]
apache_beam/typehints/decorators_test.py:109: error: Type application targets a non-generic function or class  [misc]
apache_beam/runners/interactive/caching/streaming_cache_test.py:34: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:35: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:36: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/io/aws/s3filesystem_test.py:40: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/io/aws/s3filesystem_test.py:86: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:107: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:127: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:141: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:159: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:170: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:181: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:196: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:209: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:225: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:255: error: Cannot infer type of lambda  [misc]
apache_beam/transforms/window_test.py:70: error: Cannot instantiate abstract class 'ReifyWindowsFn' with abstract attribute 'to_runner_api_parameter'  [abstract]
apache_beam/transforms/trigger_test.py:677: error: Need type annotation for 'create_accumulator'  [var-annotated]
apache_beam/transforms/trigger_test.py:679: error: Need type annotation for 'merge_accumulators'  [var-annotated]
apache_beam/transforms/combiners_test.py:378: error: All conditional function variants must have identical signatures  [misc]
apache_beam/runners/interactive/interactive_environment_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph.py:55: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:89: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "to_runner_api"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:101: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:103: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:135: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.PTransform" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/background_caching_job_test.py:41: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pcoll_visualization_test.py:38: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
Found 876 errors in 57 files (checked 628 source files)
error: mypy exited with status 1
py37-mypy run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-mypy: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lintPy27_3

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

574.83user 14.22system 1:45.27elapsed 559%CPU (0avgtext+0avgdata 521904maxresident)k
3712inputs+248outputs (0major+1057382minor)pagefaults 0swaps
py27-lint3 run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py27-lint3: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lint

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 35s
8 actionable tasks: 8 executed

Publishing build scan...
https://gradle.com/s/oqdy5ribavjs2

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Build failed in Jenkins: beam_PreCommit_PythonLint_Cron #459

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/459/display/redirect>

Changes:


------------------------------------------
[...truncated 158.32 KB...]
apache_beam/runners/portability/fn_api_runner.py:489: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:536: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:570: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:584: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:586: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:595: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:602: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:607: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:610: error: "GeneratedProtocolMessageType" has no attribute "IterableSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:615: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:618: error: "GeneratedProtocolMessageType" has no attribute "MultimapSideInput"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:626: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:660: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:670: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:695: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:704: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "residual_roots"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:710: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "channel_splits"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:739: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:749: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:751: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:752: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:753: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:758: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:759: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:760: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:761: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:763: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:764: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:771: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:772: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:773: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:774: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:774: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:776: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:777: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:780: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:782: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:808: error: "GeneratedProtocolMessageType" has no attribute "Runner"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:828: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:830: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:831: error: beam_runner_api_pb2.Components? has no attribute "coders"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:833: error: beam_runner_api_pb2.Components? has no attribute "windowing_strategies"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:834: error: beam_runner_api_pb2.Components? has no attribute "environments"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:839: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:927: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:957: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:958: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:959: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:967: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Components" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:968: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:994: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:996: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:997: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:999: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1002: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1003: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1004: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1005: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1006: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1007: error: beam_runner_api_pb2.Components? has no attribute "pcollections"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1008: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1014: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1015: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1016: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1017: error: Need type annotation for 'payload'  [var-annotated]
apache_beam/runners/portability/fn_api_runner.py:1018: error: beam_runner_api_pb2.PTransform? has no attribute "spec"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1018: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1020: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1021: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1094: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1105: error: Incompatible return value type (got "Tuple[bytes, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")  [assignment]
apache_beam/runners/portability/fn_api_runner.py:1107: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1113: error: Incompatible return value type (got "Tuple[Any, str]", expected "Tuple[bytes, Optional[bytes]]")  [return-value]
apache_beam/runners/portability/fn_api_runner.py:1119: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1127: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1140: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateKey" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1143: error: beam_fn_api_pb2.StateKey? has no attribute "SerializeToString"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1150: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1151: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.StateRequest" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1158: error: beam_fn_api_pb2.StateRequest? has no attribute "WhichOneof"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1161: error: beam_fn_api_pb2.StateRequest? has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1163: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1167: error: beam_fn_api_pb2.StateRequest? has no attribute "append"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1169: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1172: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1174: error: beam_fn_api_pb2.StateRequest? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1186: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1288: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1292: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1296: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1313: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1319: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1321: error: beam_runner_api_pb2.Environment? has no attribute "payload"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1389: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1390: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1391: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1392: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1393: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1394: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1395: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1396: error: "GeneratedProtocolMessageType" has no attribute "Severity"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1409: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1413: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.GetProvisionInfoResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1544: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1549: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1554: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1572: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1575: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.ExternalPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1589: error: beam_runner_api_pb2.ExternalPayload? has no attribute "endpoint"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1599: error: beam_runner_api_pb2.ExternalPayload? has no attribute "params"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1684: error: Argument 2 to "register_environment" of "WorkerHandler" has incompatible type "GeneratedProtocolMessageType"; expected "Optional[Type[<nothing>]]"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1687: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.DockerPayload" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1695: error: beam_runner_api_pb2.DockerPayload? has no attribute "container_image"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1720: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1764: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Environment" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1785: error: beam_runner_api_pb2.Environment? has no attribute "urn"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1795: error: Argument 4 to "create" of "WorkerHandler" has incompatible type "Optional[GrpcServer]"; expected "GrpcServer"  [arg-type]
apache_beam/runners/portability/fn_api_runner.py:1818: error: Variable "apache_beam.portability.api.beam_provision_api_pb2.ProvisionInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1866: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1931: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1936: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1968: error: "GeneratedProtocolMessageType" has no attribute "DesiredSplit"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1972: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:1972: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1976: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1978: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1980: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1983: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1984: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:1986: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle_split"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2023: error: beam_fn_api_pb2.ProcessBundleDescriptor? has no attribute "id"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2027: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2039: error: "None" has no attribute "is_done"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2040: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2047: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2047: error: "None" has no attribute "get"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2049: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2050: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2052: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle"  [attr-defined]
apache_beam/runners/portability/fn_api_runner.py:2070: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2092: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.InstructionResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2093: error: Variable "apache_beam.portability.api.beam_fn_api_pb2.ProcessBundleSplitResponse" is not valid as a type  [valid-type]
apache_beam/runners/portability/fn_api_runner.py:2232: error: Variable "apache_beam.portability.api.metrics_pb2.MonitoringInfo" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:88: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:236: error: Variable "apache_beam.portability.api.endpoints_pb2.ApiServiceDescriptor" is not valid as a type  [valid-type]
apache_beam/runners/portability/local_job_service.py:331: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:332: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:333: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:334: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:335: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/local_job_service.py:336: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:57: error: "GeneratedProtocolMessageType" has no attribute "MESSAGE_IMPORTANCE_UNSPECIFIED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:58: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DEBUG"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:59: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_DETAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:60: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:61: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:62: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:66: error: "GeneratedProtocolMessageType" has no attribute "DONE"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:67: error: "GeneratedProtocolMessageType" has no attribute "DRAINED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:68: error: "GeneratedProtocolMessageType" has no attribute "FAILED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:69: error: "GeneratedProtocolMessageType" has no attribute "CANCELLED"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:170: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:173: error: beam_runner_api_pb2.Pipeline? has no attribute "components"  [attr-defined]
apache_beam/runners/portability/portable_runner.py:224: error: Variable "apache_beam.portability.api.beam_job_api_pb2.DescribePipelineOptionsResponse" is not valid as a type  [valid-type]
apache_beam/typehints/decorators_test_py3.py:40: error: String argument 1 'T' to TypeVar(...) does not match variable name 'T_typing'  [misc]
apache_beam/typehints/decorators_test_py3.py:40: error: "object" not callable  [operator]
apache_beam/typehints/decorators_test_py3.py:86: error: Incompatible default for argument "b" (default has type "None", argument has type "str")  [assignment]
apache_beam/typehints/decorators_test.py:109: error: Type application targets a non-generic function or class  [misc]
apache_beam/runners/interactive/caching/streaming_cache_test.py:34: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:35: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/runners/interactive/caching/streaming_cache_test.py:36: error: "GeneratedProtocolMessageType" has no attribute "__test__"  [attr-defined]
apache_beam/io/aws/s3filesystem_test.py:40: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
apache_beam/io/aws/s3filesystem_test.py:86: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:107: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:127: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:141: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:159: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:170: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:181: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:196: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:209: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:225: error: Cannot infer type of lambda  [misc]
apache_beam/io/aws/s3filesystem_test.py:255: error: Cannot infer type of lambda  [misc]
apache_beam/transforms/window_test.py:70: error: Cannot instantiate abstract class 'ReifyWindowsFn' with abstract attribute 'to_runner_api_parameter'  [abstract]
apache_beam/transforms/trigger_test.py:677: error: Need type annotation for 'create_accumulator'  [var-annotated]
apache_beam/transforms/trigger_test.py:679: error: Need type annotation for 'merge_accumulators'  [var-annotated]
apache_beam/transforms/combiners_test.py:378: error: All conditional function variants must have identical signatures  [misc]
apache_beam/runners/interactive/interactive_environment_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph.py:55: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.Pipeline" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:89: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "to_runner_api"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:101: error: beam_runner_api_pb2.PTransform? has no attribute "inputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:103: error: beam_runner_api_pb2.PTransform? has no attribute "outputs"  [attr-defined]
apache_beam/runners/interactive/display/pipeline_graph.py:135: error: Variable "apache_beam.portability.api.beam_runner_api_pb2.PTransform" is not valid as a type  [valid-type]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:141: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "components"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item beam_runner_api_pb2.Pipeline? of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/display/pipeline_graph.py:142: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids"  [union-attr]
apache_beam/runners/interactive/background_caching_job_test.py:41: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pipeline_graph_test.py:37: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
apache_beam/runners/interactive/display/pcoll_visualization_test.py:38: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher")  [misc]
Found 876 errors in 57 files (checked 628 source files)
error: mypy exited with status 1
py37-mypy run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py37-mypy: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lintPy27_3

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

618.36user 14.41system 1:52.34elapsed 563%CPU (0avgtext+0avgdata 510468maxresident)k
3680inputs+248outputs (0major+1064172minor)pagefaults 0swaps
py27-lint3 run-test-post: commands[0] | <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/ws/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/scripts/run_tox_cleanup.sh>
___________________________________ summary ____________________________________
  py27-lint3: commands succeeded
  congratulations :)

> Task :sdks:python:test-suites:tox:py2:lint

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 54s
8 actionable tasks: 8 executed

Publishing build scan...
https://gradle.com/s/gjcnu6r2bjvcq

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org