Skip to content

Test failure: test_stat[DBFSPath] #264

@github-actions

Description

@github-actions
❌ test_stat[DBFSPath]: AssertionError: assert 1756096923.0 >= 1756096923.029678 (2.284s)
AssertionError: assert 1756096923.0 >= 1756096923.029678
 +  where 1756096923.0 = os.stat_result(st_mode=-1.0, st_ino=-1.0, st_dev=-1.0, st_nlink=-1.0, st_uid=-1.0, st_gid=-1.0, st_size=13, st_atime=-1.0, st_mtime=1756096923.0, st_ctime=-1.0).st_mtime
 +    where os.stat_result(st_mode=-1.0, st_ino=-1.0, st_dev=-1.0, st_nlink=-1.0, st_uid=-1.0, st_gid=-1.0, st_size=13, st_atime=-1.0, st_mtime=1756096923.0, st_ctime=-1.0) = <bound method DBFSPath.stat of DBFSPath('/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt')>()
 +      where <bound method DBFSPath.stat of DBFSPath('/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt')> = DBFSPath('/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt').stat
04:42 DEBUG [databricks.sdk] Loaded from environment
04:42 DEBUG [databricks.sdk] Ignoring pat auth, because metadata-service is preferred
04:42 DEBUG [databricks.sdk] Ignoring basic auth, because metadata-service is preferred
04:42 DEBUG [databricks.sdk] Attempting to configure auth: metadata-service
04:42 INFO [databricks.sdk] Using Databricks Metadata Service authentication
[gw9] linux -- Python 3.10.18 /home/runner/work/blueprint/blueprint/.venv/bin/python
04:42 DEBUG [databricks.sdk] Loaded from environment
04:42 DEBUG [databricks.sdk] Ignoring pat auth, because metadata-service is preferred
04:42 DEBUG [databricks.sdk] Ignoring basic auth, because metadata-service is preferred
04:42 DEBUG [databricks.sdk] Attempting to configure auth: metadata-service
04:42 INFO [databricks.sdk] Using Databricks Metadata Service authentication
04:42 DEBUG [databricks.sdk] GET /api/2.0/preview/scim/v2/Me
< 200 OK
< {
<   "active": true,
<   "displayName": "labs-runtime-identity",
<   "emails": [
<     {
<       "primary": true,
<       "type": "work",
<       "value": "**REDACTED**"
<     }
<   ],
<   "externalId": "d0f9bd2c-5651-45fd-b648-12a3fc6375c4",
<   "groups": [
<     {
<       "$ref": "Groups/300667344111082",
<       "display": "labs.scope.runtime",
<       "type": "direct",
<       "value": "**REDACTED**"
<     }
<   ],
<   "id": "4643477475987733",
<   "name": {
<     "givenName": "labs-runtime-identity"
<   },
<   "schemas": [
<     "urn:ietf:params:scim:schemas:core:2.0:User",
<     "... (1 additional elements)"
<   ],
<   "userName": "4106dc97-a963-48f0-a079-a578238959a6"
< }
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/mkdirs
> {
>   "path": "/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c"
> }
< 200 OK
< {}
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/create
> {
>   "overwrite": true,
>   "path": "/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt"
> }
< 200 OK
< {
<   "handle": 5218296530671361
< }
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/add-block
> {
>   "data": "SGVsbG8sIFdvcmxkIQ==",
>   "handle": 5218296530671361
> }
< 200 OK
< {}
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/close
> {
>   "handle": 5218296530671361
> }
< 200 OK
< {}
04:42 DEBUG [databricks.sdk] GET /api/2.0/dbfs/get-status?path=/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt
< 200 OK
< {
<   "file_size": 13,
<   "is_dir": false,
<   "modification_time": 1756096923000,
<   "path": "/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt"
< }
04:42 DEBUG [databricks.sdk] Loaded from environment
04:42 DEBUG [databricks.sdk] Ignoring pat auth, because metadata-service is preferred
04:42 DEBUG [databricks.sdk] Ignoring basic auth, because metadata-service is preferred
04:42 DEBUG [databricks.sdk] Attempting to configure auth: metadata-service
04:42 INFO [databricks.sdk] Using Databricks Metadata Service authentication
04:42 DEBUG [databricks.sdk] GET /api/2.0/preview/scim/v2/Me
< 200 OK
< {
<   "active": true,
<   "displayName": "labs-runtime-identity",
<   "emails": [
<     {
<       "primary": true,
<       "type": "work",
<       "value": "**REDACTED**"
<     }
<   ],
<   "externalId": "d0f9bd2c-5651-45fd-b648-12a3fc6375c4",
<   "groups": [
<     {
<       "$ref": "Groups/300667344111082",
<       "display": "labs.scope.runtime",
<       "type": "direct",
<       "value": "**REDACTED**"
<     }
<   ],
<   "id": "4643477475987733",
<   "name": {
<     "givenName": "labs-runtime-identity"
<   },
<   "schemas": [
<     "urn:ietf:params:scim:schemas:core:2.0:User",
<     "... (1 additional elements)"
<   ],
<   "userName": "4106dc97-a963-48f0-a079-a578238959a6"
< }
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/mkdirs
> {
>   "path": "/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c"
> }
< 200 OK
< {}
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/create
> {
>   "overwrite": true,
>   "path": "/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt"
> }
< 200 OK
< {
<   "handle": 5218296530671361
< }
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/add-block
> {
>   "data": "SGVsbG8sIFdvcmxkIQ==",
>   "handle": 5218296530671361
> }
< 200 OK
< {}
04:42 DEBUG [databricks.sdk] POST /api/2.0/dbfs/close
> {
>   "handle": 5218296530671361
> }
< 200 OK
< {}
04:42 DEBUG [databricks.sdk] GET /api/2.0/dbfs/get-status?path=/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt
< 200 OK
< {
<   "file_size": 13,
<   "is_dir": false,
<   "modification_time": 1756096923000,
<   "path": "/Users/4106dc97-a963-48f0-a079-a578238959a6/2uO5E9Jep2QErdIs/a/b/c/hello.txt"
< }
[gw9] linux -- Python 3.10.18 /home/runner/work/blueprint/blueprint/.venv/bin/python

Running from nightly #285

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions