[ 
https://issues.apache.org/jira/browse/BEAM-9303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Valentyn Tymofieiev closed BEAM-9303.
-------------------------------------
    Fix Version/s: Not applicable
       Resolution: Duplicate

> HDFS IT test fails on apache-beam-jenkins-7 : no space left on device
> ---------------------------------------------------------------------
>
>                 Key: BEAM-9303
>                 URL: https://issues.apache.org/jira/browse/BEAM-9303
>             Project: Beam
>          Issue Type: Improvement
>          Components: test-failures
>            Reporter: Valentyn Tymofieiev
>            Assignee: Yifan Zou
>            Priority: Major
>             Fix For: Not applicable
>
>
> 22:34:34  > Task :sdks:python:test-suites:direct:py37:hdfsIntegrationTest
> 22:34:34  namenode_1  | 20/02/12 06:34:34 WARN 
> namenode.NameNodeResourceChecker: Space available on volume '/dev/sda1' is 
> 20590592, which is below the configured reserved amount 104857600
> 22:34:34  namenode_1  | 20/02/12 06:34:34 WARN namenode.FSNamesystem: 
> NameNode low on available disk space. Entering safe mode.
> 22:34:34  namenode_1  | 20/02/12 06:34:34 INFO namenode.FSEditLog: logSyncAll 
> toSyncToTxId=1 lastSyncedTxid=1 mostRecentTxid=1
> 22:34:34  namenode_1  | 20/02/12 06:34:34 INFO namenode.FSEditLog: Number of 
> transactions: 1 Total time for transactions(ms): 0 Number of transactions 
> batched in Syncs: 0 Number of syncs: 2 SyncTimes(ms): 9 
> 22:34:34  namenode_1  | 20/02/12 06:34:34 INFO namenode.FSEditLog: Done 
> logSyncAll lastWrittenTxId=1 lastSyncedTxid=1 mostRecentTxid=1
> 22:34:34  namenode_1  | 20/02/12 06:34:34 INFO hdfs.StateChange: STATE* Safe 
> mode is ON. 
> 22:34:34  namenode_1  | Resources are low on NN. Please add or free up more 
> resources then turn off safe mode manually. NOTE:  If you turn off safe mode 
> before adding resources, the NN will immediately return to safe mode. Use 
> "hdfs dfsadmin -safemode leave" to turn safe mode off.
> 22:34:36  test_1      | ERROR: invocation failed (exit code 1), logfile: 
> /app/sdks/python/target/.tox/hdfs_integration_test/log/hdfs_integration_test-2.log
> 22:34:36  test_1      | ================================== log start 
> ===================================
> 22:34:36  test_1      | Processing 
> ./target/.tox/.tmp/package/1/apache-beam-2.20.0.dev0.zip
> 22:34:36  test_1      | Requirement already satisfied: crcmod<2.0,>=1.7 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> apache-beam==2.20.0.dev0) (1.7)
> 22:34:36  test_1      | Collecting dill<0.3.2,>=0.3.1.1
> 22:34:36  test_1      |   Downloading dill-0.3.1.1.tar.gz (151 kB)
> 22:34:36  test_1      | Collecting fastavro<0.22,>=0.21.4
> 22:34:36  test_1      |   Downloading 
> fastavro-0.21.24-cp37-cp37m-manylinux1_x86_64.whl (1.2 MB)
> 22:34:36  test_1      | Requirement already satisfied: future<1.0.0,>=0.16.0 
> in ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> apache-beam==2.20.0.dev0) (0.16.0)
> 22:34:36  test_1      | Requirement already satisfied: grpcio<2,>=1.12.1 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> apache-beam==2.20.0.dev0) (1.27.1)
> 22:34:36  test_1      | Collecting hdfs<3.0.0,>=2.1.0
> 22:34:36  test_1      |   Downloading hdfs-2.5.8.tar.gz (41 kB)
> 22:34:36  test_1      | Collecting httplib2<=0.12.0,>=0.8
> 22:34:36  test_1      |   Downloading httplib2-0.12.0.tar.gz (218 kB)
> 22:34:36  test_1      | Requirement already satisfied: mock<3.0.0,>=1.0.1 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> apache-beam==2.20.0.dev0) (2.0.0)
> 22:34:36  test_1      | Collecting numpy<2,>=1.14.3
> 22:34:36  test_1      |   Downloading 
> numpy-1.18.1-cp37-cp37m-manylinux1_x86_64.whl (20.1 MB)
> 22:34:36  test_1      | Collecting pymongo<4.0.0,>=3.8.0
> 22:34:36  test_1      |   Downloading 
> pymongo-3.10.1-cp37-cp37m-manylinux2014_x86_64.whl (462 kB)
> 22:34:36  test_1      | Collecting oauth2client<4,>=2.0.1
> 22:34:36  test_1      |   Downloading oauth2client-3.0.0.tar.gz (77 kB)
> 22:34:36  test_1      | Requirement already satisfied: 
> protobuf<4,>=3.5.0.post1 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> apache-beam==2.20.0.dev0) (3.11.3)
> 22:34:36  test_1      | Collecting pydot<2,>=1.2.0
> 22:34:36  test_1      |   Downloading pydot-1.4.1-py2.py3-none-any.whl (19 kB)
> 22:34:36  test_1      | Collecting python-dateutil<3,>=2.8.0
> 22:34:36  test_1      |   Downloading 
> python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
> 22:34:36  test_1      | Collecting pytz>=2018.3
> 22:34:36  test_1      |   Downloading pytz-2019.3-py2.py3-none-any.whl (509 
> kB)
> 22:34:36  test_1      | Collecting typing<3.8.0,>=3.7.0
> 22:34:36  test_1      |   Downloading typing-3.7.4.1-py3-none-any.whl (25 kB)
> 22:34:36  test_1      | Collecting typing-extensions<3.8.0,>=3.7.0
> 22:34:36  test_1      |   Downloading 
> typing_extensions-3.7.4.1-py3-none-any.whl (20 kB)
> 22:34:36  test_1      | Collecting avro-python3<2.0.0,>=1.8.1
> 22:34:36  test_1      |   Downloading avro-python3-1.9.1.tar.gz (36 kB)
> 22:34:36  test_1      | Collecting pyarrow<0.16.0,>=0.15.1
> 22:34:36  test_1      |   Downloading 
> pyarrow-0.15.1-cp37-cp37m-manylinux2010_x86_64.whl (59.2 MB)
> 22:34:36  test_1      | Collecting cachetools<4,>=3.1.0
> 22:34:36  test_1      |   Downloading cachetools-3.1.1-py2.py3-none-any.whl 
> (11 kB)
> 22:34:36  test_1      | Collecting google-apitools<0.5.29,>=0.5.28
> 22:34:36  test_1      |   Downloading google-apitools-0.5.28.tar.gz (172 kB)
> 22:34:36  test_1      | Collecting google-cloud-datastore<1.8.0,>=1.7.1
> 22:34:36  test_1      |   Downloading 
> google_cloud_datastore-1.7.4-py2.py3-none-any.whl (82 kB)
> 22:34:36  test_1      | Collecting google-cloud-pubsub<1.1.0,>=0.39.0
> 22:34:36  test_1      |   Downloading 
> google_cloud_pubsub-1.0.2-py2.py3-none-any.whl (118 kB)
> 22:34:36  test_1      | Collecting google-cloud-bigquery<1.18.0,>=1.6.0
> 22:34:36  test_1      |   Downloading 
> google_cloud_bigquery-1.17.1-py2.py3-none-any.whl (142 kB)
> 22:34:36  test_1      | Collecting google-cloud-core<2,>=0.28.1
> 22:34:36  test_1      |   Downloading 
> google_cloud_core-1.3.0-py2.py3-none-any.whl (26 kB)
> 22:34:36  test_1      | Collecting google-cloud-bigtable<1.1.0,>=0.31.1
> 22:34:36  test_1      |   Downloading 
> google_cloud_bigtable-1.0.0-py2.py3-none-any.whl (232 kB)
> 22:34:36  test_1      | Collecting google-cloud-spanner<1.14.0,>=1.13.0
> 22:34:36  test_1      |   Downloading 
> google_cloud_spanner-1.13.0-py2.py3-none-any.whl (212 kB)
> 22:34:36  test_1      | Collecting grpcio-gcp<1,>=0.2.2
> 22:34:36  test_1      |   Downloading grpcio_gcp-0.2.2-py2.py3-none-any.whl 
> (9.4 kB)
> 22:34:36  test_1      | Requirement already satisfied: six>=1.5.2 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> grpcio<2,>=1.12.1->apache-beam==2.20.0.dev0) (1.14.0)
> 22:34:36  test_1      | Collecting docopt
> 22:34:36  test_1      |   Downloading docopt-0.6.2.tar.gz (25 kB)
> 22:34:36  test_1      | Collecting requests>=2.7.0
> 22:34:36  test_1      |   Downloading requests-2.22.0-py2.py3-none-any.whl 
> (57 kB)
> 22:34:36  test_1      | Requirement already satisfied: pbr>=0.11 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> mock<3.0.0,>=1.0.1->apache-beam==2.20.0.dev0) (5.4.4)
> 22:34:36  test_1      | Requirement already satisfied: pyasn1>=0.1.7 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (0.4.8)
> 22:34:36  test_1      | Requirement already satisfied: pyasn1-modules>=0.0.5 
> in ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (0.2.8)
> 22:34:36  test_1      | Requirement already satisfied: rsa>=3.1.4 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> oauth2client<4,>=2.0.1->apache-beam==2.20.0.dev0) (4.0)
> 22:34:36  test_1      | Requirement already satisfied: setuptools in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> protobuf<4,>=3.5.0.post1->apache-beam==2.20.0.dev0) (45.2.0)
> 22:34:36  test_1      | Collecting pyparsing>=2.1.4
> 22:34:36  test_1      |   Downloading pyparsing-2.4.6-py2.py3-none-any.whl 
> (67 kB)
> 22:34:36  test_1      | Requirement already satisfied: fasteners>=0.14 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> google-apitools<0.5.29,>=0.5.28->apache-beam==2.20.0.dev0) (0.15)
> 22:34:36  test_1      | Collecting google-api-core[grpc]<2.0.0dev,>=1.6.0
> 22:34:36  test_1      |   Downloading 
> google_api_core-1.16.0-py2.py3-none-any.whl (70 kB)
> 22:34:36  test_1      | Collecting grpc-google-iam-v1<0.13dev,>=0.12.3
> 22:34:36  test_1      |   Downloading grpc-google-iam-v1-0.12.3.tar.gz (13 kB)
> 22:34:36  test_1      | Collecting google-resumable-media<0.5.0dev,>=0.3.1
> 22:34:36  test_1      |   Downloading 
> google_resumable_media-0.4.1-py2.py3-none-any.whl (38 kB)
> 22:34:36  test_1      | Collecting certifi>=2017.4.17
> 22:34:36  test_1      |   Downloading certifi-2019.11.28-py2.py3-none-any.whl 
> (156 kB)
> 22:34:36  test_1      | Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
> 22:34:36  test_1      |   Downloading urllib3-1.25.8-py2.py3-none-any.whl 
> (125 kB)
> 22:34:36  test_1      | Collecting idna<2.9,>=2.5
> 22:34:36  test_1      |   Downloading idna-2.8-py2.py3-none-any.whl (58 kB)
> 22:34:36  test_1      | Collecting chardet<3.1.0,>=3.0.2
> 22:34:36  test_1      |   Downloading chardet-3.0.4-py2.py3-none-any.whl (133 
> kB)
> 22:34:36  test_1      | Requirement already satisfied: monotonic>=0.1 in 
> ./target/.tox/hdfs_integration_test/lib/python3.7/site-packages (from 
> fasteners>=0.14->google-apitools<0.5.29,>=0.5.28->apache-beam==2.20.0.dev0) 
> (1.5)
> 22:34:36  test_1      | Collecting google-auth<2.0dev,>=0.4.0
> 22:34:36  test_1      |   Downloading google_auth-1.11.0-py2.py3-none-any.whl 
> (76 kB)
> 22:34:36  test_1      | Collecting googleapis-common-protos<2.0dev,>=1.6.0
> 22:34:36  test_1      |   Downloading googleapis-common-protos-1.51.0.tar.gz 
> (35 kB)
> 22:34:36  test_1      | Building wheels for collected packages: apache-beam, 
> dill, hdfs, httplib2, oauth2client, avro-python3, google-apitools, docopt, 
> grpc-google-iam-v1, googleapis-common-protos
> 22:34:36  test_1      |   Building wheel for apache-beam (setup.py): started
> 22:34:36  test_1      |   Building wheel for apache-beam (setup.py): finished 
> with status 'done'
> 22:34:36  test_1      |   Created wheel for apache-beam: 
> filename=apache_beam-2.20.0.dev0-py3-none-any.whl size=1889173 
> sha256=58ee79134112cf12eb7797941c2938db8309b2b1f13532c7a84212aea3def65a
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/ab/93/8b/c63f07cf3726d6383666ed30c2a8302c0f78af66b1feeebe09
> 22:34:36  test_1      |   Building wheel for dill (setup.py): started
> 22:34:36  test_1      |   Building wheel for dill (setup.py): finished with 
> status 'done'
> 22:34:36  test_1      |   Created wheel for dill: 
> filename=dill-0.3.1.1-py3-none-any.whl size=78530 
> sha256=cf9b92d617847bbec174d600028cb1bc8639170050dbaed5b85e3f2676f66a1a
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/a4/61/fd/c57e374e580aa78a45ed78d5859b3a44436af17e22ca53284f
> 22:34:36  test_1      |   Building wheel for hdfs (setup.py): started
> 22:34:36  test_1      |   Building wheel for hdfs (setup.py): finished with 
> status 'done'
> 22:34:36  test_1      |   Created wheel for hdfs: 
> filename=hdfs-2.5.8-py3-none-any.whl size=33213 
> sha256=c29efde9ad49d82f37353dc0d927802573ab77a839d8b62607dfbc1e825daaa9
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/0a/7d/38/ea4eaf831518e6cd867b515b88919a9785eb66f11def5ab859
> 22:34:36  test_1      |   Building wheel for httplib2 (setup.py): started
> 22:34:36  test_1      |   Building wheel for httplib2 (setup.py): finished 
> with status 'done'
> 22:34:36  test_1      |   Created wheel for httplib2: 
> filename=httplib2-0.12.0-py3-none-any.whl size=93464 
> sha256=73197170d99b7f3e4b3ca3953ee773c589d9c00b734dfbdfa4afd07b7afc4cd4
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/0d/e7/b6/0dd30343ceca921cfbd91f355041bd9c69e0f40b49f25b7b8a
> 22:34:36  test_1      |   Building wheel for oauth2client (setup.py): started
> 22:34:36  test_1      |   Building wheel for oauth2client (setup.py): 
> finished with status 'done'
> 22:34:36  test_1      |   Created wheel for oauth2client: 
> filename=oauth2client-3.0.0-py3-none-any.whl size=106383 
> sha256=8fadee65011b5a83b7d4c85be79ff2809b129d55d3e062cb3c07f1824fe2546c
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/86/73/7a/3b3f76a2142176605ff38fbca574327962c71e25a43197a4c1
> 22:34:36  test_1      |   Building wheel for avro-python3 (setup.py): started
> 22:34:36  test_1      |   Building wheel for avro-python3 (setup.py): 
> finished with status 'done'
> 22:34:36  test_1      |   Created wheel for avro-python3: 
> filename=avro_python3-1.9.1-py3-none-any.whl size=43202 
> sha256=168a72574e71da2d68122b85b756035b9fb925c43995796a46cd1f1f78f8c1b3
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/4e/8d/91/77b0b802e4cf8a342359b48d5f1a836b4dbc8a8f6f8c309957
> 22:34:36  test_1      |   Building wheel for google-apitools (setup.py): 
> started
> 22:34:36  test_1      |   Building wheel for google-apitools (setup.py): 
> finished with status 'done'
> 22:34:36  test_1      |   Created wheel for google-apitools: 
> filename=google_apitools-0.5.28-py3-none-any.whl size=130110 
> sha256=50a93190ec703fc58ae2f7eed5a64128af81eed3862137d10548d479be22e68c
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/34/3b/69/ecd8e6ae89d9d71102a58962c29faa7a9467ba45f99f205920
> 22:34:36  test_1      |   Building wheel for docopt (setup.py): started
> 22:34:36  test_1      |   Building wheel for docopt (setup.py): finished with 
> status 'done'
> 22:34:36  test_1      |   Created wheel for docopt: 
> filename=docopt-0.6.2-py2.py3-none-any.whl size=13704 
> sha256=4239375a21d0c9e1fe2a02a1b4d6e18421ad372eda124517c3e1bb58e5f1786d
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/72/b0/3f/1d95f96ff986c7dfffe46ce2be4062f38ebd04b506c77c81b9
> 22:34:36  test_1      |   Building wheel for grpc-google-iam-v1 (setup.py): 
> started
> 22:34:36  test_1      |   Building wheel for grpc-google-iam-v1 (setup.py): 
> finished with status 'done'
> 22:34:36  test_1      |   Created wheel for grpc-google-iam-v1: 
> filename=grpc_google_iam_v1-0.12.3-py3-none-any.whl size=18499 
> sha256=6a63a61403e8a4d0fead7211602a917a4e7121da8e16b61b29a3d0a2a6a77ae3
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/b9/ee/67/2e444183030cb8d31ce8b34cee34a7afdbd3ba5959ea846380
> 22:34:36  test_1      |   Building wheel for googleapis-common-protos 
> (setup.py): started
> 22:34:36  test_1      |   Building wheel for googleapis-common-protos 
> (setup.py): finished with status 'done'
> 22:34:36  test_1      |   Created wheel for googleapis-common-protos: 
> filename=googleapis_common_protos-1.51.0-py3-none-any.whl size=77592 
> sha256=2168e821b198755dbdac72dd0b129792becc49bef871679663a7f9e2f1a2f356
> 22:34:36  test_1      |   Stored in directory: 
> /root/.cache/pip/wheels/4c/a1/71/5e427276ceeff277fd76878d1b19fbf4587a2845015d86864b
> 22:34:36  test_1      | Successfully built apache-beam dill hdfs httplib2 
> oauth2client avro-python3 google-apitools docopt grpc-google-iam-v1 
> googleapis-common-protos
> 22:34:36  test_1      | ERROR: gsutil 4.47 has requirement 
> google-apitools>=0.5.30, but you'll have google-apitools 0.5.28 which is 
> incompatible.
> 22:34:36  test_1      | ERROR: gsutil 4.47 has requirement 
> oauth2client==4.1.3, but you'll have oauth2client 3.0.0 which is incompatible.
> 22:34:36  test_1      | Installing collected packages: dill, fastavro, 
> docopt, certifi, urllib3, idna, chardet, requests, hdfs, httplib2, numpy, 
> pymongo, oauth2client, pyparsing, pydot, python-dateutil, pytz, typing, 
> typing-extensions, avro-python3, pyarrow, cachetools, google-apitools, 
> google-auth, googleapis-common-protos, google-api-core, google-cloud-core, 
> google-cloud-datastore, grpc-google-iam-v1, google-cloud-pubsub, 
> google-resumable-media, google-cloud-bigquery, google-cloud-bigtable, 
> google-cloud-spanner, grpcio-gcp, apache-beam
> 22:34:36  test_1      |   Attempting uninstall: httplib2
> 22:34:36  test_1      |     Found existing installation: httplib2 0.17.0
> 22:34:36  test_1      |     Uninstalling httplib2-0.17.0:
> 22:34:36  test_1      |       Successfully uninstalled httplib2-0.17.0
> 22:34:36  test_1      |   Attempting uninstall: oauth2client
> 22:34:36  test_1      |     Found existing installation: oauth2client 4.1.3
> 22:34:36  test_1      |     Uninstalling oauth2client-4.1.3:
> 22:34:36  test_1      |       Successfully uninstalled oauth2client-4.1.3
> 22:34:36  test_1      | ERROR: Could not install packages due to an 
> EnvironmentError: [Errno 28] No space left on device
> 22:34:36  test_1      | 
> 22:34:36  test_1      | 
> 22:34:36  test_1      | =================================== log end 
> ====================================
> 22:34:36  test_1      | ___________________________________ summary 
> ____________________________________
> 22:34:36  test_1      | ERROR:   hdfs_integration_test: InvocationError for 
> command /app/sdks/python/target/.tox/hdfs_integration_test/bin/python 
> target/.tox/hdfs_integration_test/bin/pip install --retries 10 
> --exists-action w 
> '/app/sdks/python/target/.tox/.tmp/package/1/apache-beam-2.20.0.dev0.zip[gcp]'
>  (exited with code 1)
> 22:34:37  hdfs_it-jenkins-beam_postcommit_python37_pr-79_test_1 exited with 
> code 1
> 22:34:37  Stopping hdfs_it-jenkins-beam_postcommit_python37_pr-79_datanode_1 
> ... 
> 22:34:37  Stopping hdfs_it-jenkins-beam_postcommit_python37_pr-79_namenode_1 
> ... 
> 22:34:48  Stopping hdfs_it-jenkins-beam_postcommit_python37_pr-79_datanode_1 
> ... done



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to