[jira] [Commented] (FLINK-17068) ERROR at teardown of TableConfigTests.test_get_set_decimal_context

2020-04-18 Thread Dian Fu (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-17068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17086740#comment-17086740
 ] 

Dian Fu commented on FLINK-17068:
-

Just make it clear: this issue is because the permission of the Python scripts 
are not correct. I can reproduce the same error message after changing the 
permission of `pyflink-gateway-server.sh` to a wrong value `444`. Have 
submitted a PR which ensures the permission of the Python scripts are correct 
before executing the Python tests.

Regarding to the `No space left on device` error, it's not related this problem 
and it currently only occurs in the private azure pipeline. I have created a 
ticket FLINK-17220 to track it.

> ERROR at teardown of TableConfigTests.test_get_set_decimal_context
> --
>
> Key: FLINK-17068
> URL: https://issues.apache.org/jira/browse/FLINK-17068
> Project: Flink
>  Issue Type: Bug
>  Components: API / Python, Tests
>Affects Versions: 1.11.0
>Reporter: Robert Metzger
>Assignee: Dian Fu
>Priority: Critical
>  Labels: pull-request-available, test-stability
> Fix For: 1.11.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> CI run: 
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7243=logs=9cada3cb-c1d3-5621-16da-0f718fb86602=14487301-07d2-5d56-5690-6dfab9ffd4d9
> {code}
> 2020-04-09T00:34:15.9084299Z  ERRORS 
> 
> 2020-04-09T00:34:15.9085728Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_decimal_context __
> 2020-04-09T00:34:15.9086216Z 
> 2020-04-09T00:34:15.9086725Z self =  object at 0x7f8d978989b0>
> 2020-04-09T00:34:15.9087144Z 
> 2020-04-09T00:34:15.9087457Z def __enter__(self):
> 2020-04-09T00:34:15.9087787Z try:
> 2020-04-09T00:34:15.9091929Z >   return next(self.gen)
> 2020-04-09T00:34:15.9092634Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9092863Z 
> 2020-04-09T00:34:15.9093134Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9093548Z __ ERROR at setup of 
> TableConfigTests.test_get_set_idle_state_retention_time ___
> 2020-04-09T00:34:15.9093803Z 
> 2020-04-09T00:34:15.9094082Z self =  object at 0x7f8d9c3f3da0>
> 2020-04-09T00:34:15.9094313Z 
> 2020-04-09T00:34:15.9094502Z def __enter__(self):
> 2020-04-09T00:34:15.9094862Z try:
> 2020-04-09T00:34:15.9095088Z >   return next(self.gen)
> 2020-04-09T00:34:15.9095707Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9095913Z 
> 2020-04-09T00:34:15.9096203Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9096818Z _ ERROR at teardown of 
> TableConfigTests.test_get_set_idle_state_retention_time _
> 2020-04-09T00:34:15.9100686Z 
> 2020-04-09T00:34:15.9101687Z self =  object at 0x7f8d978d83c8>
> 2020-04-09T00:34:15.9102005Z 
> 2020-04-09T00:34:15.9102193Z def __enter__(self):
> 2020-04-09T00:34:15.9102415Z try:
> 2020-04-09T00:34:15.9102741Z >   return next(self.gen)
> 2020-04-09T00:34:15.9103144Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9103367Z 
> 2020-04-09T00:34:15.9103786Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9104185Z  ERROR at setup of 
> TableConfigTests.test_get_set_local_timezone 
> 2020-04-09T00:34:15.9104999Z 
> 2020-04-09T00:34:15.9105287Z self =  object at 0x7f8d979345f8>
> 2020-04-09T00:34:15.9105531Z 
> 2020-04-09T00:34:15.9105707Z def __enter__(self):
> 2020-04-09T00:34:15.9105924Z try:
> 2020-04-09T00:34:15.9106138Z >   return next(self.gen)
> 2020-04-09T00:34:15.9106555Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9106858Z 
> 2020-04-09T00:34:15.9107159Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9107675Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_local_timezone ___
> 2020-04-09T00:34:15.9107983Z 
> 2020-04-09T00:34:15.9108350Z self =  object at 0x7f8d981f8240>
> 2020-04-09T00:34:15.9108699Z 
> 2020-04-09T00:34:15.9108983Z def __enter__(self):
> 2020-04-09T00:34:15.9109311Z try:
> 2020-04-09T00:34:15.9109566Z >   return next(self.gen)
> 2020-04-09T00:34:15.9109872Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9110082Z 
> 2020-04-09T00:34:15.9110349Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9111098Z __ ERROR at setup of 
> TableConfigTests.test_get_set_max_generated_code_length ___
> 2020-04-09T00:34:15.9111479Z 
> 2020-04-09T00:34:15.9111740Z self =  object at 0x7f8d9c3380f0>
> 

[jira] [Commented] (FLINK-17068) ERROR at teardown of TableConfigTests.test_get_set_decimal_context

2020-04-14 Thread Dian Fu (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-17068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17083122#comment-17083122
 ] 

Dian Fu commented on FLINK-17068:
-

[~rmetzger] I observe another instance which maybe helpful: 
[https://dev.azure.com/chesnay/0f3463e8-185e-423b-aa88-6cc39182caea/_apis/build/builds/205/logs/116].

It failed during preparing the environment when running the Python tests with 
the following errors: 
{code:java}
Could not install packages due to an EnvironmentError: [Errno 28] No space left 
on device{code}
For the failures in this JIRA, I also suspect that the disk is full as it 
failed during installing the PyFlink package(when copying files from 
pyflink.zip to the installation directory).

> ERROR at teardown of TableConfigTests.test_get_set_decimal_context
> --
>
> Key: FLINK-17068
> URL: https://issues.apache.org/jira/browse/FLINK-17068
> Project: Flink
>  Issue Type: Bug
>  Components: API / Python, Tests
>Affects Versions: 1.11.0
>Reporter: Robert Metzger
>Priority: Major
>  Labels: test-stability
> Fix For: 1.11.0
>
>
> CI run: 
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7243=logs=9cada3cb-c1d3-5621-16da-0f718fb86602=14487301-07d2-5d56-5690-6dfab9ffd4d9
> {code}
> 2020-04-09T00:34:15.9084299Z  ERRORS 
> 
> 2020-04-09T00:34:15.9085728Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_decimal_context __
> 2020-04-09T00:34:15.9086216Z 
> 2020-04-09T00:34:15.9086725Z self =  object at 0x7f8d978989b0>
> 2020-04-09T00:34:15.9087144Z 
> 2020-04-09T00:34:15.9087457Z def __enter__(self):
> 2020-04-09T00:34:15.9087787Z try:
> 2020-04-09T00:34:15.9091929Z >   return next(self.gen)
> 2020-04-09T00:34:15.9092634Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9092863Z 
> 2020-04-09T00:34:15.9093134Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9093548Z __ ERROR at setup of 
> TableConfigTests.test_get_set_idle_state_retention_time ___
> 2020-04-09T00:34:15.9093803Z 
> 2020-04-09T00:34:15.9094082Z self =  object at 0x7f8d9c3f3da0>
> 2020-04-09T00:34:15.9094313Z 
> 2020-04-09T00:34:15.9094502Z def __enter__(self):
> 2020-04-09T00:34:15.9094862Z try:
> 2020-04-09T00:34:15.9095088Z >   return next(self.gen)
> 2020-04-09T00:34:15.9095707Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9095913Z 
> 2020-04-09T00:34:15.9096203Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9096818Z _ ERROR at teardown of 
> TableConfigTests.test_get_set_idle_state_retention_time _
> 2020-04-09T00:34:15.9100686Z 
> 2020-04-09T00:34:15.9101687Z self =  object at 0x7f8d978d83c8>
> 2020-04-09T00:34:15.9102005Z 
> 2020-04-09T00:34:15.9102193Z def __enter__(self):
> 2020-04-09T00:34:15.9102415Z try:
> 2020-04-09T00:34:15.9102741Z >   return next(self.gen)
> 2020-04-09T00:34:15.9103144Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9103367Z 
> 2020-04-09T00:34:15.9103786Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9104185Z  ERROR at setup of 
> TableConfigTests.test_get_set_local_timezone 
> 2020-04-09T00:34:15.9104999Z 
> 2020-04-09T00:34:15.9105287Z self =  object at 0x7f8d979345f8>
> 2020-04-09T00:34:15.9105531Z 
> 2020-04-09T00:34:15.9105707Z def __enter__(self):
> 2020-04-09T00:34:15.9105924Z try:
> 2020-04-09T00:34:15.9106138Z >   return next(self.gen)
> 2020-04-09T00:34:15.9106555Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9106858Z 
> 2020-04-09T00:34:15.9107159Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9107675Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_local_timezone ___
> 2020-04-09T00:34:15.9107983Z 
> 2020-04-09T00:34:15.9108350Z self =  object at 0x7f8d981f8240>
> 2020-04-09T00:34:15.9108699Z 
> 2020-04-09T00:34:15.9108983Z def __enter__(self):
> 2020-04-09T00:34:15.9109311Z try:
> 2020-04-09T00:34:15.9109566Z >   return next(self.gen)
> 2020-04-09T00:34:15.9109872Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9110082Z 
> 2020-04-09T00:34:15.9110349Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9111098Z __ ERROR at setup of 
> TableConfigTests.test_get_set_max_generated_code_length ___
> 2020-04-09T00:34:15.9111479Z 
> 2020-04-09T00:34:15.9111740Z self =  object at 0x7f8d9c3380f0>
> 2020-04-09T00:34:15.9112010Z 
> 2020-04-09T00:34:15.9112297Z def __enter__(self):
> 

[jira] [Commented] (FLINK-17068) ERROR at teardown of TableConfigTests.test_get_set_decimal_context

2020-04-13 Thread Piotr Nowojski (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-17068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17082193#comment-17082193
 ] 

Piotr Nowojski commented on FLINK-17068:


Another issue: 
https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7380=logs=9cada3cb-c1d3-5621-16da-0f718fb86602=14487301-07d2-5d56-5690-6dfab9ffd4d9

> ERROR at teardown of TableConfigTests.test_get_set_decimal_context
> --
>
> Key: FLINK-17068
> URL: https://issues.apache.org/jira/browse/FLINK-17068
> Project: Flink
>  Issue Type: Bug
>  Components: API / Python, Tests
>Affects Versions: 1.11.0
>Reporter: Robert Metzger
>Priority: Major
>  Labels: test-stability
>
> CI run: 
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7243=logs=9cada3cb-c1d3-5621-16da-0f718fb86602=14487301-07d2-5d56-5690-6dfab9ffd4d9
> {code}
> 2020-04-09T00:34:15.9084299Z  ERRORS 
> 
> 2020-04-09T00:34:15.9085728Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_decimal_context __
> 2020-04-09T00:34:15.9086216Z 
> 2020-04-09T00:34:15.9086725Z self =  object at 0x7f8d978989b0>
> 2020-04-09T00:34:15.9087144Z 
> 2020-04-09T00:34:15.9087457Z def __enter__(self):
> 2020-04-09T00:34:15.9087787Z try:
> 2020-04-09T00:34:15.9091929Z >   return next(self.gen)
> 2020-04-09T00:34:15.9092634Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9092863Z 
> 2020-04-09T00:34:15.9093134Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9093548Z __ ERROR at setup of 
> TableConfigTests.test_get_set_idle_state_retention_time ___
> 2020-04-09T00:34:15.9093803Z 
> 2020-04-09T00:34:15.9094082Z self =  object at 0x7f8d9c3f3da0>
> 2020-04-09T00:34:15.9094313Z 
> 2020-04-09T00:34:15.9094502Z def __enter__(self):
> 2020-04-09T00:34:15.9094862Z try:
> 2020-04-09T00:34:15.9095088Z >   return next(self.gen)
> 2020-04-09T00:34:15.9095707Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9095913Z 
> 2020-04-09T00:34:15.9096203Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9096818Z _ ERROR at teardown of 
> TableConfigTests.test_get_set_idle_state_retention_time _
> 2020-04-09T00:34:15.9100686Z 
> 2020-04-09T00:34:15.9101687Z self =  object at 0x7f8d978d83c8>
> 2020-04-09T00:34:15.9102005Z 
> 2020-04-09T00:34:15.9102193Z def __enter__(self):
> 2020-04-09T00:34:15.9102415Z try:
> 2020-04-09T00:34:15.9102741Z >   return next(self.gen)
> 2020-04-09T00:34:15.9103144Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9103367Z 
> 2020-04-09T00:34:15.9103786Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9104185Z  ERROR at setup of 
> TableConfigTests.test_get_set_local_timezone 
> 2020-04-09T00:34:15.9104999Z 
> 2020-04-09T00:34:15.9105287Z self =  object at 0x7f8d979345f8>
> 2020-04-09T00:34:15.9105531Z 
> 2020-04-09T00:34:15.9105707Z def __enter__(self):
> 2020-04-09T00:34:15.9105924Z try:
> 2020-04-09T00:34:15.9106138Z >   return next(self.gen)
> 2020-04-09T00:34:15.9106555Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9106858Z 
> 2020-04-09T00:34:15.9107159Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9107675Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_local_timezone ___
> 2020-04-09T00:34:15.9107983Z 
> 2020-04-09T00:34:15.9108350Z self =  object at 0x7f8d981f8240>
> 2020-04-09T00:34:15.9108699Z 
> 2020-04-09T00:34:15.9108983Z def __enter__(self):
> 2020-04-09T00:34:15.9109311Z try:
> 2020-04-09T00:34:15.9109566Z >   return next(self.gen)
> 2020-04-09T00:34:15.9109872Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9110082Z 
> 2020-04-09T00:34:15.9110349Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9111098Z __ ERROR at setup of 
> TableConfigTests.test_get_set_max_generated_code_length ___
> 2020-04-09T00:34:15.9111479Z 
> 2020-04-09T00:34:15.9111740Z self =  object at 0x7f8d9c3380f0>
> 2020-04-09T00:34:15.9112010Z 
> 2020-04-09T00:34:15.9112297Z def __enter__(self):
> 2020-04-09T00:34:15.9112571Z try:
> 2020-04-09T00:34:15.9112803Z >   return next(self.gen)
> 2020-04-09T00:34:15.9113114Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9113353Z 
> 2020-04-09T00:34:15.9113737Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9114282Z _ ERROR at teardown of 
> 

[jira] [Commented] (FLINK-17068) ERROR at teardown of TableConfigTests.test_get_set_decimal_context

2020-04-09 Thread Robert Metzger (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-17068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17079473#comment-17079473
 ] 

Robert Metzger commented on FLINK-17068:


Thanks a lot for looking into the issue. 
I also observed quite a few successful builds by now. Let's see how often and 
on which builders the issue occurs. Maybe that helps already narrowing down the 
cause.

> ERROR at teardown of TableConfigTests.test_get_set_decimal_context
> --
>
> Key: FLINK-17068
> URL: https://issues.apache.org/jira/browse/FLINK-17068
> Project: Flink
>  Issue Type: Bug
>  Components: API / Python, Tests
>Affects Versions: 1.11.0
>Reporter: Robert Metzger
>Priority: Major
>  Labels: test-stability
>
> CI run: 
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7243=logs=9cada3cb-c1d3-5621-16da-0f718fb86602=14487301-07d2-5d56-5690-6dfab9ffd4d9
> {code}
> 2020-04-09T00:34:15.9084299Z  ERRORS 
> 
> 2020-04-09T00:34:15.9085728Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_decimal_context __
> 2020-04-09T00:34:15.9086216Z 
> 2020-04-09T00:34:15.9086725Z self =  object at 0x7f8d978989b0>
> 2020-04-09T00:34:15.9087144Z 
> 2020-04-09T00:34:15.9087457Z def __enter__(self):
> 2020-04-09T00:34:15.9087787Z try:
> 2020-04-09T00:34:15.9091929Z >   return next(self.gen)
> 2020-04-09T00:34:15.9092634Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9092863Z 
> 2020-04-09T00:34:15.9093134Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9093548Z __ ERROR at setup of 
> TableConfigTests.test_get_set_idle_state_retention_time ___
> 2020-04-09T00:34:15.9093803Z 
> 2020-04-09T00:34:15.9094082Z self =  object at 0x7f8d9c3f3da0>
> 2020-04-09T00:34:15.9094313Z 
> 2020-04-09T00:34:15.9094502Z def __enter__(self):
> 2020-04-09T00:34:15.9094862Z try:
> 2020-04-09T00:34:15.9095088Z >   return next(self.gen)
> 2020-04-09T00:34:15.9095707Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9095913Z 
> 2020-04-09T00:34:15.9096203Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9096818Z _ ERROR at teardown of 
> TableConfigTests.test_get_set_idle_state_retention_time _
> 2020-04-09T00:34:15.9100686Z 
> 2020-04-09T00:34:15.9101687Z self =  object at 0x7f8d978d83c8>
> 2020-04-09T00:34:15.9102005Z 
> 2020-04-09T00:34:15.9102193Z def __enter__(self):
> 2020-04-09T00:34:15.9102415Z try:
> 2020-04-09T00:34:15.9102741Z >   return next(self.gen)
> 2020-04-09T00:34:15.9103144Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9103367Z 
> 2020-04-09T00:34:15.9103786Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9104185Z  ERROR at setup of 
> TableConfigTests.test_get_set_local_timezone 
> 2020-04-09T00:34:15.9104999Z 
> 2020-04-09T00:34:15.9105287Z self =  object at 0x7f8d979345f8>
> 2020-04-09T00:34:15.9105531Z 
> 2020-04-09T00:34:15.9105707Z def __enter__(self):
> 2020-04-09T00:34:15.9105924Z try:
> 2020-04-09T00:34:15.9106138Z >   return next(self.gen)
> 2020-04-09T00:34:15.9106555Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9106858Z 
> 2020-04-09T00:34:15.9107159Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9107675Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_local_timezone ___
> 2020-04-09T00:34:15.9107983Z 
> 2020-04-09T00:34:15.9108350Z self =  object at 0x7f8d981f8240>
> 2020-04-09T00:34:15.9108699Z 
> 2020-04-09T00:34:15.9108983Z def __enter__(self):
> 2020-04-09T00:34:15.9109311Z try:
> 2020-04-09T00:34:15.9109566Z >   return next(self.gen)
> 2020-04-09T00:34:15.9109872Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9110082Z 
> 2020-04-09T00:34:15.9110349Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9111098Z __ ERROR at setup of 
> TableConfigTests.test_get_set_max_generated_code_length ___
> 2020-04-09T00:34:15.9111479Z 
> 2020-04-09T00:34:15.9111740Z self =  object at 0x7f8d9c3380f0>
> 2020-04-09T00:34:15.9112010Z 
> 2020-04-09T00:34:15.9112297Z def __enter__(self):
> 2020-04-09T00:34:15.9112571Z try:
> 2020-04-09T00:34:15.9112803Z >   return next(self.gen)
> 2020-04-09T00:34:15.9113114Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9113353Z 
> 2020-04-09T00:34:15.9113737Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9114282Z _ ERROR at teardown of 
> 

[jira] [Commented] (FLINK-17068) ERROR at teardown of TableConfigTests.test_get_set_decimal_context

2020-04-09 Thread Dian Fu (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-17068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17079176#comment-17079176
 ] 

Dian Fu commented on FLINK-17068:
-

I found logs like the following:
{code}
PermissionError: [Errno 13] Permission denied: 
'/__w/1/s/build-target/./bin/pyflink-gateway-server.sh'
{code}

[~rmetzger] It seems that there are some accidental environment problems, e.g. 
the permission of pyflink-gateway-server.sh is not set correctly. Could you 
help to check if this is the case? Besides, this problem happens randomly, e.g. 
the latest tests such as 
[https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_apis/build/builds/7263/logs/148]
 was successful.

Feel free to ping me if there is anything I can do for this issue.

> ERROR at teardown of TableConfigTests.test_get_set_decimal_context
> --
>
> Key: FLINK-17068
> URL: https://issues.apache.org/jira/browse/FLINK-17068
> Project: Flink
>  Issue Type: Bug
>  Components: API / Python, Tests
>Affects Versions: 1.11.0
>Reporter: Robert Metzger
>Priority: Major
>  Labels: test-stability
>
> CI run: 
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7243=logs=9cada3cb-c1d3-5621-16da-0f718fb86602=14487301-07d2-5d56-5690-6dfab9ffd4d9
> {code}
> 2020-04-09T00:34:15.9084299Z  ERRORS 
> 
> 2020-04-09T00:34:15.9085728Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_decimal_context __
> 2020-04-09T00:34:15.9086216Z 
> 2020-04-09T00:34:15.9086725Z self =  object at 0x7f8d978989b0>
> 2020-04-09T00:34:15.9087144Z 
> 2020-04-09T00:34:15.9087457Z def __enter__(self):
> 2020-04-09T00:34:15.9087787Z try:
> 2020-04-09T00:34:15.9091929Z >   return next(self.gen)
> 2020-04-09T00:34:15.9092634Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9092863Z 
> 2020-04-09T00:34:15.9093134Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9093548Z __ ERROR at setup of 
> TableConfigTests.test_get_set_idle_state_retention_time ___
> 2020-04-09T00:34:15.9093803Z 
> 2020-04-09T00:34:15.9094082Z self =  object at 0x7f8d9c3f3da0>
> 2020-04-09T00:34:15.9094313Z 
> 2020-04-09T00:34:15.9094502Z def __enter__(self):
> 2020-04-09T00:34:15.9094862Z try:
> 2020-04-09T00:34:15.9095088Z >   return next(self.gen)
> 2020-04-09T00:34:15.9095707Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9095913Z 
> 2020-04-09T00:34:15.9096203Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9096818Z _ ERROR at teardown of 
> TableConfigTests.test_get_set_idle_state_retention_time _
> 2020-04-09T00:34:15.9100686Z 
> 2020-04-09T00:34:15.9101687Z self =  object at 0x7f8d978d83c8>
> 2020-04-09T00:34:15.9102005Z 
> 2020-04-09T00:34:15.9102193Z def __enter__(self):
> 2020-04-09T00:34:15.9102415Z try:
> 2020-04-09T00:34:15.9102741Z >   return next(self.gen)
> 2020-04-09T00:34:15.9103144Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9103367Z 
> 2020-04-09T00:34:15.9103786Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9104185Z  ERROR at setup of 
> TableConfigTests.test_get_set_local_timezone 
> 2020-04-09T00:34:15.9104999Z 
> 2020-04-09T00:34:15.9105287Z self =  object at 0x7f8d979345f8>
> 2020-04-09T00:34:15.9105531Z 
> 2020-04-09T00:34:15.9105707Z def __enter__(self):
> 2020-04-09T00:34:15.9105924Z try:
> 2020-04-09T00:34:15.9106138Z >   return next(self.gen)
> 2020-04-09T00:34:15.9106555Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9106858Z 
> 2020-04-09T00:34:15.9107159Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9107675Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_local_timezone ___
> 2020-04-09T00:34:15.9107983Z 
> 2020-04-09T00:34:15.9108350Z self =  object at 0x7f8d981f8240>
> 2020-04-09T00:34:15.9108699Z 
> 2020-04-09T00:34:15.9108983Z def __enter__(self):
> 2020-04-09T00:34:15.9109311Z try:
> 2020-04-09T00:34:15.9109566Z >   return next(self.gen)
> 2020-04-09T00:34:15.9109872Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9110082Z 
> 2020-04-09T00:34:15.9110349Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9111098Z __ ERROR at setup of 
> TableConfigTests.test_get_set_max_generated_code_length ___
> 2020-04-09T00:34:15.9111479Z 
> 2020-04-09T00:34:15.9111740Z self =  object at 0x7f8d9c3380f0>
> 2020-04-09T00:34:15.9112010Z 
> 2020-04-09T00:34:15.9112297Z def __enter__(self):

[jira] [Commented] (FLINK-17068) ERROR at teardown of TableConfigTests.test_get_set_decimal_context

2020-04-09 Thread Dian Fu (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-17068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17079156#comment-17079156
 ] 

Dian Fu commented on FLINK-17068:
-

[~rmetzger] Thanks for reporting this issue. Will take a look at ASAP.

> ERROR at teardown of TableConfigTests.test_get_set_decimal_context
> --
>
> Key: FLINK-17068
> URL: https://issues.apache.org/jira/browse/FLINK-17068
> Project: Flink
>  Issue Type: Bug
>  Components: API / Python, Tests
>Affects Versions: 1.11.0
>Reporter: Robert Metzger
>Priority: Major
>  Labels: test-stability
>
> CI run: 
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7243=logs=9cada3cb-c1d3-5621-16da-0f718fb86602=14487301-07d2-5d56-5690-6dfab9ffd4d9
> {code}
> 2020-04-09T00:34:15.9084299Z  ERRORS 
> 
> 2020-04-09T00:34:15.9085728Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_decimal_context __
> 2020-04-09T00:34:15.9086216Z 
> 2020-04-09T00:34:15.9086725Z self =  object at 0x7f8d978989b0>
> 2020-04-09T00:34:15.9087144Z 
> 2020-04-09T00:34:15.9087457Z def __enter__(self):
> 2020-04-09T00:34:15.9087787Z try:
> 2020-04-09T00:34:15.9091929Z >   return next(self.gen)
> 2020-04-09T00:34:15.9092634Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9092863Z 
> 2020-04-09T00:34:15.9093134Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9093548Z __ ERROR at setup of 
> TableConfigTests.test_get_set_idle_state_retention_time ___
> 2020-04-09T00:34:15.9093803Z 
> 2020-04-09T00:34:15.9094082Z self =  object at 0x7f8d9c3f3da0>
> 2020-04-09T00:34:15.9094313Z 
> 2020-04-09T00:34:15.9094502Z def __enter__(self):
> 2020-04-09T00:34:15.9094862Z try:
> 2020-04-09T00:34:15.9095088Z >   return next(self.gen)
> 2020-04-09T00:34:15.9095707Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9095913Z 
> 2020-04-09T00:34:15.9096203Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9096818Z _ ERROR at teardown of 
> TableConfigTests.test_get_set_idle_state_retention_time _
> 2020-04-09T00:34:15.9100686Z 
> 2020-04-09T00:34:15.9101687Z self =  object at 0x7f8d978d83c8>
> 2020-04-09T00:34:15.9102005Z 
> 2020-04-09T00:34:15.9102193Z def __enter__(self):
> 2020-04-09T00:34:15.9102415Z try:
> 2020-04-09T00:34:15.9102741Z >   return next(self.gen)
> 2020-04-09T00:34:15.9103144Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9103367Z 
> 2020-04-09T00:34:15.9103786Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9104185Z  ERROR at setup of 
> TableConfigTests.test_get_set_local_timezone 
> 2020-04-09T00:34:15.9104999Z 
> 2020-04-09T00:34:15.9105287Z self =  object at 0x7f8d979345f8>
> 2020-04-09T00:34:15.9105531Z 
> 2020-04-09T00:34:15.9105707Z def __enter__(self):
> 2020-04-09T00:34:15.9105924Z try:
> 2020-04-09T00:34:15.9106138Z >   return next(self.gen)
> 2020-04-09T00:34:15.9106555Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9106858Z 
> 2020-04-09T00:34:15.9107159Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9107675Z __ ERROR at teardown of 
> TableConfigTests.test_get_set_local_timezone ___
> 2020-04-09T00:34:15.9107983Z 
> 2020-04-09T00:34:15.9108350Z self =  object at 0x7f8d981f8240>
> 2020-04-09T00:34:15.9108699Z 
> 2020-04-09T00:34:15.9108983Z def __enter__(self):
> 2020-04-09T00:34:15.9109311Z try:
> 2020-04-09T00:34:15.9109566Z >   return next(self.gen)
> 2020-04-09T00:34:15.9109872Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9110082Z 
> 2020-04-09T00:34:15.9110349Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9111098Z __ ERROR at setup of 
> TableConfigTests.test_get_set_max_generated_code_length ___
> 2020-04-09T00:34:15.9111479Z 
> 2020-04-09T00:34:15.9111740Z self =  object at 0x7f8d9c3380f0>
> 2020-04-09T00:34:15.9112010Z 
> 2020-04-09T00:34:15.9112297Z def __enter__(self):
> 2020-04-09T00:34:15.9112571Z try:
> 2020-04-09T00:34:15.9112803Z >   return next(self.gen)
> 2020-04-09T00:34:15.9113114Z E   OSError: [Errno 9] Bad file 
> descriptor
> 2020-04-09T00:34:15.9113353Z 
> 2020-04-09T00:34:15.9113737Z 
> dev/.conda/envs/3.5/lib/python3.5/contextlib.py:59: OSError
> 2020-04-09T00:34:15.9114282Z _ ERROR at teardown of 
> TableConfigTests.test_get_set_max_generated_code_length _
> 2020-04-09T00:34:15.9114652Z 
> 2020-04-09T00:34:15.9114929Z self =  object at 0x7f8d9783b550>