You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/05/22 17:00:00 UTC

[jira] [Commented] (BEAM-14359) Investigate windows Permissions Error on Jenkins Windows Unit tests

    [ https://issues.apache.org/jira/browse/BEAM-14359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540629#comment-17540629 ] 

Beam JIRA Bot commented on BEAM-14359:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been labeled "stale-assigned". If you are still working on the issue, please give an update and remove the label. If you are no longer working on the issue, please unassign so someone else may work on it. In 7 days the issue will be automatically unassigned.

> Investigate windows Permissions Error on Jenkins Windows Unit tests
> -------------------------------------------------------------------
>
>                 Key: BEAM-14359
>                 URL: https://issues.apache.org/jira/browse/BEAM-14359
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Ryan Thompson
>            Assignee: Ryan Thompson
>            Priority: P2
>              Labels: stale-assigned
>
> Skip tests that require temporary file open on windows. For some reason Jenkins on windows gives a permission error with tmp files.
>  
> apache_beam\ml\inference\sklearn_loader.py:68: in load_model 
> [150|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:150] file = FileSystems.open(self._model_uri, 'rb') 
> [151|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:151]apache_beam\io\filesystems.py:244: in open 
> [152|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:152] return filesystem.open(path, mime_type, compression_type) 
> [153|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:153]apache_beam\io\localfilesystem.py:181: in open 
> [154|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:154] return self._path_open(path, 'rb', mime_type, compression_type) 
> [155|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:155]_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> [156|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:156]
> [157|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:157] def _path_open( 
> [158|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:158] self, 
> [159|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:159] path, 
> [160|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:160] mode, 
> [161|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:161] mime_type='application/octet-stream', 
> [162|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:162] compression_type=CompressionTypes.AUTO): 
> [163|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:163] """Helper functions to open a file in the provided mode. 
> [164|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:164] """ 
> [165|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:165] compression_type = FileSystem._get_compression_type(path, compression_type) 
> [166|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:166]> raw_file = io.open(path, mode) 
> [167|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:167]E PermissionError: [Errno 13] Permission denied: 'D:\\a\\beam\\beam\\sdks\\python\\target\\.tox\\py38-win\\tmp\\tmp6zl6x438' 
> [168|https://github.com/apache/beam/runs/6131238573?check_suite_focus=true#step:7:168]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)