See <https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/562/display/redirect?page=changes>
Changes: [github] [BEAM-9359] Switch to Data Catalog client (#10917) [github] [BEAM-9344] Add support for bundle finalization execution to the Beam ------------------------------------------ [...truncated 162.57 KB...] apache_beam/runners/portability/fn_api_runner.py:647: error: "GeneratedProtocolMessageType" has no attribute "IterableSideInput" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:650: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:653: error: "GeneratedProtocolMessageType" has no attribute "MultimapSideInput" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:660: error: beam_runner_api_pb2.FunctionSpec? has no attribute "urn" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:697: 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:708: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:733: 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:743: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "residual_roots" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:748: error: beam_fn_api_pb2.ProcessBundleSplitResponse? has no attribute "channel_splits" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:778: 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:790: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:792: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:793: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:794: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:794: error: beam_runner_api_pb2.PTransform? has no attribute "outputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:799: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:800: error: beam_runner_api_pb2.PTransform? has no attribute "outputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:801: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:802: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:802: error: beam_runner_api_pb2.PTransform? has no attribute "inputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:804: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:805: error: beam_runner_api_pb2.PTransform? has no attribute "inputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:812: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:813: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:814: error: Need type annotation for 'payload' [var-annotated] apache_beam/runners/portability/fn_api_runner.py:815: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:815: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]" [arg-type] apache_beam/runners/portability/fn_api_runner.py:817: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:818: error: beam_runner_api_pb2.PTransform? has no attribute "inputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:821: 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:823: 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:850: error: "GeneratedProtocolMessageType" has no attribute "Runner" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:871: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:874: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:875: error: beam_runner_api_pb2.Components? has no attribute "coders" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:877: error: beam_runner_api_pb2.Components? has no attribute "windowing_strategies" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:878: error: beam_runner_api_pb2.Components? has no attribute "environments" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:883: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:912: error: beam_runner_api_pb2.Components? has no attribute "transforms" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:917: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:919: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:921: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:980: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1009: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1010: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1011: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1019: 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:1020: 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:1047: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1049: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1050: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1052: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1055: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1056: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1057: error: beam_runner_api_pb2.PTransform? has no attribute "outputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1058: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1059: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1060: error: beam_runner_api_pb2.Components? has no attribute "pcollections" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1061: error: beam_runner_api_pb2.PTransform? has no attribute "inputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1067: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1068: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1069: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1070: error: Need type annotation for 'payload' [var-annotated] apache_beam/runners/portability/fn_api_runner.py:1071: error: beam_runner_api_pb2.PTransform? has no attribute "spec" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1071: error: Argument 2 to "parse_Bytes" has incompatible type "GeneratedProtocolMessageType"; expected "Type[<nothing>]" [arg-type] apache_beam/runners/portability/fn_api_runner.py:1073: error: beam_runner_api_pb2.PTransform? has no attribute "unique_name" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1074: error: beam_runner_api_pb2.PTransform? has no attribute "inputs" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1167: 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:1193: 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:1201: 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:1214: 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:1217: error: beam_fn_api_pb2.StateKey? has no attribute "SerializeToString" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1224: 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:1225: 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:1232: error: beam_fn_api_pb2.StateRequest? has no attribute "WhichOneof" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1235: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1235: error: beam_fn_api_pb2.StateRequest? has no attribute "get" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1237: error: beam_fn_api_pb2.StateRequest? has no attribute "id" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1241: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1241: error: beam_fn_api_pb2.StateRequest? has no attribute "append" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1243: error: beam_fn_api_pb2.StateRequest? has no attribute "id" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1245: error: beam_fn_api_pb2.StateRequest? has no attribute "state_key" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1247: error: beam_fn_api_pb2.StateRequest? has no attribute "id" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1257: 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:1362: 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:1366: 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:1370: 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:1389: 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:1395: error: beam_runner_api_pb2.Environment? has no attribute "urn" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1397: error: beam_runner_api_pb2.Environment? has no attribute "payload" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1464: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1465: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1466: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1467: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1468: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1469: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1470: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1471: error: "GeneratedProtocolMessageType" has no attribute "Severity" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1483: 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:1487: 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:1609: 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:1614: 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:1619: 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:1637: 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:1640: 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:1654: error: beam_runner_api_pb2.ExternalPayload? has no attribute "endpoint" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1664: error: beam_runner_api_pb2.ExternalPayload? has no attribute "params" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1748: 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:1751: 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:1759: error: beam_runner_api_pb2.DockerPayload? has no attribute "container_image" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1784: error: endpoints_pb2.ApiServiceDescriptor? has no attribute "url" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1822: 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:1845: error: beam_runner_api_pb2.Environment? has no attribute "urn" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:1857: error: Argument 4 to "create" of "WorkerHandler" has incompatible type "Optional[GrpcServer]"; expected "GrpcServer" [arg-type] apache_beam/runners/portability/fn_api_runner.py:1882: 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:1932: 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:1997: 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:2002: 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:2034: error: "GeneratedProtocolMessageType" has no attribute "DesiredSplit" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2039: 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:2039: error: "None" has no attribute "get" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2043: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2045: error: "None" has no attribute "get" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2047: 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:2051: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2053: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle_split" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2089: error: beam_fn_api_pb2.ProcessBundleDescriptor? has no attribute "id" [attr-defined] 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:2107: error: "None" has no attribute "is_done" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2107: error: "None" has no attribute "get" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2114: 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:2114: error: "None" has no attribute "get" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2116: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2117: error: beam_fn_api_pb2.InstructionResponse? has no attribute "error" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2119: error: beam_fn_api_pb2.InstructionResponse? has no attribute "process_bundle" [attr-defined] apache_beam/runners/portability/fn_api_runner.py:2135: 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:2162: 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:2163: 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:2311: 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:87: 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:229: 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:232: error: Argument 2 to "__init__" of "AbstractBeamJob" has incompatible type "Optional[str]"; expected "str" [arg-type] apache_beam/runners/portability/local_job_service.py:323: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR" [attr-defined] apache_beam/runners/portability/local_job_service.py:324: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR" [attr-defined] apache_beam/runners/portability/local_job_service.py:325: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_ERROR" [attr-defined] apache_beam/runners/portability/local_job_service.py:326: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_WARNING" [attr-defined] apache_beam/runners/portability/local_job_service.py:327: error: "GeneratedProtocolMessageType" has no attribute "JOB_MESSAGE_BASIC" [attr-defined] apache_beam/runners/portability/local_job_service.py:328: 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:168: error: beam_runner_api_pb2.Pipeline? has no attribute "components" [attr-defined] apache_beam/runners/portability/portable_runner.py:171: error: beam_runner_api_pb2.Pipeline? has no attribute "components" [attr-defined] apache_beam/runners/portability/portable_runner.py:225: 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:42: error: String argument 1 'T' to TypeVar(...) does not match variable name 'T_typing' [misc] apache_beam/typehints/decorators_test_py3.py:42: error: "object" not callable [operator] apache_beam/typehints/decorators_test_py3.py:97: error: Incompatible default for argument "b" (default has type "None", argument has type "str") [assignment] apache_beam/typehints/decorators_test.py:116: error: Type application targets a non-generic function or class [misc] 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/runners/interactive/caching/streaming_cache_test.py:37: 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:87: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:105: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:117: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:131: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:149: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:160: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:171: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:186: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:199: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:215: error: Cannot infer type of lambda [misc] apache_beam/io/aws/s3filesystem_test.py:245: error: Cannot infer type of lambda [misc] apache_beam/transforms/trigger_test.py:714: error: Need type annotation for 'create_accumulator' [var-annotated] apache_beam/transforms/trigger_test.py:716: error: Need type annotation for 'merge_accumulators' [var-annotated] apache_beam/transforms/external_java.py:43: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment] apache_beam/transforms/external_java.py:166: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] apache_beam/transforms/combiners_test.py:386: 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/ml/gcp/cloud_dlp_test.py:106: error: Name 'TestDeidentifyFn' already defined on line 57 [no-redef] apache_beam/runners/interactive/display/pipeline_graph_renderer.py:44: error: Unsupported dynamic base class "with_metaclass" [misc] apache_beam/runners/interactive/display/pipeline_graph_renderer.py:45: error: unused 'type: ignore' comment 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:102: error: beam_runner_api_pb2.PTransform? has no attribute "inputs" [attr-defined] apache_beam/runners/interactive/display/pipeline_graph.py:104: 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:142: 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:142: 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:143: 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:143: error: Item "Pipeline" of "Union[beam_runner_api_pb2.Pipeline?, Pipeline]" has no attribute "root_transform_ids" [union-attr] apache_beam/runners/interactive/pipeline_fragment_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/interactive_runner_test.py:43: error: Incompatible import of "patch" (imported name has type "mock._patcher", local name has type "unittest.mock._patcher") [misc] 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 895 errors in 61 files (checked 643 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:py37:lint FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':sdks:python:test-suites:tox:py2:lintPy27'. > 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. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':sdks:python:test-suites:tox:py2:lintPy27_3'. > 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 56s 8 actionable tasks: 8 executed Publishing build scan... https://gradle.com/s/mpzy37csapdrq Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
