Skip to content

TestClear/Error_when_cache_dir_has_invalid_permissions is failing when building the deb #218

@3v1n0

Description

@3v1n0

Is there an existing issue for this?

  • I have searched the existing issues and found none that matched mine

Describe the issue

=== NAME  TestClear/Error_when_cache_dir_has_invalid_permissions
    db_test.go:460: 
        	Error Trace:	/build/authd-8HIczg/authd-0.2.2~gdm1/obj-x86_64-linux-gnu/src/github.com/ubuntu/authd/internal/users/cache/db_test.go:460
        	Error:      	An error is expected but got nil.
        	Test:       	TestClear/Error_when_cache_dir_has_invalid_permissions
        	Messages:   	Clear should return an error but didn't

Steps to reproduce it

  1. Just build the deb

Ubuntu users: System information and logs

No response

Non Ubuntu users: System information and logs

No response

Relevant information

Eh... If we had #130 active we wouldn't have missed it... :)

Double check your logs

  • I have redacted any sensitive information from the logs

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