Git Product home page Git Product logo

cryptsetup's Introduction

cryptsetup's People

Contributors

eviche avatar nelenkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cryptsetup's Issues

An error is reported during the [[email protected]] make LIBS=-lintl check test.

Steps to reproduce the issue

See:

[root@centos8 cryptsetup]# ls
ABOUT-NLS     ChangeLog  Makefile.am  TODO          config.h      config.status  cryptsetup            install-sh      libcrypto_backend.la  ltmain.sh  missing               src
AUTHORS       FAQ        Makefile.in  aclocal.m4    config.h.in   config.sub     cryptsetup-reencrypt  integritysetup  libcryptsetup.la      m4         po                    stamp-h1
COPYING       INSTALL    NEWS         compile       config.log    configure      depcomp               lib             libtool               man        removed_la_files.txt  tests
COPYING.LGPL  Makefile   README       config.guess  config.rpath  configure.ac   docs                  libargon2.la    libutils_io.la        misc       scripts               veritysetup
[root@centos8 cryptsetup]# make LIBS=-lintl check

……
rmmod: ERROR: Module dm_crypt is in use
AddDeviceLuks2: Format and use LUKS2 device
Luks2MetadataSize: LUKS2 metadata settings
Luks2HeaderLoad: LUKS2 header load
Luks2HeaderRestore: LUKS2 header restore
Luks2HeaderBackup: LUKS2 header backup
ResizeDeviceLuks2: LUKS2 device resize tests
UseLuks2Device: Use pre-formated LUKS2 device
SuspendDevice: LUKS2 Suspend/Resume
UseTempVolumes: Format and use temporary encrypted device
Tokens: General tokens API
TokenActivationByKeyring: Builtin kernel keyring token
LuksConvert: LUKS1 <-> LUKS2 conversions
FAIL line 2034 [LuksConvert]: code 0,
FAIL: api-test-2
/ho
[1] format
[2] open
[3] add key
[4] change key
[5] remove key
[6] kill slot
[7] header backup
[8] header restore
[9] luksDump
[10] uuid

……
CASE: [8] successful delete
CASE: [9] add key test for key files
CASE: [10] delete key test with key1 as remaining key
device-mapper: remove ioctl on dummy  failed: No such device or address
Command failed.
CASE: [11] delete last key
device-mapper: remove ioctl on dummy  failed: No such device or address
Command failed.
device-mapper: remove ioctl on dummy  failed: No such device or address
Command failed.
CASE: [12] parameter variation test
device-mapper: remove ioctl on dummy  failed: No such device or address
Command failed.
……
Verity tests [separate devices]
Root hash check FAILED backtrace:
105 ./verity-compat-test
396 main ./verity-compat-test
FAIL: verity-compat-test
[1] Reencryption
[2] Reencryption with data shift
[3] Reencryption with keyfile
[4] Encryption of not yet encrypted device
[5] Reencryption using specific keyslot
[6] Reencryption using all active keyslots
[7] Reencryption of block devices with different block size
……
ERR writes to sectors [22304,22359]
HASH differs (expected: 18a393d1a505e22ccf3e29effe3005ea8627e4c36b7cca0e53f58121f49b67e1) (result 27a36d2f3b9c51b64a0c8410f4d6a7ee81caf960c8ec01edafb27eb32f2030d3)
FAILED backtrace:
202 check_hash_dev ./luks2-reencryption-test
474 decrypt_recover_detached_online ./luks2-reencryption-test
1235 main ./luks2-reencryption-test
FAIL: luks2-reencryption-test
[INTEGRITY:blake2s-256:32:512][FORMAT][N/A]
[INTEGRITY:blake2b-256:32:512][FORMAT][N/A]
[INTEGRITY:crc32c:4:512][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
[INTEGRITY:crc32:4:512][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
[INTEGRITY:sha1:20:512][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
[INTEGRITY:sha1:16:4096][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
[INTEGRITY:sha256:32:512][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
[INTEGRITY:hmac(sha256):32:512][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
[INTEGRITY:sha256:32:4096][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
[INTEGRITY:hmac(sha256):32:4096][FORMAT][ACTIVATE][CHECKSUM OK][REMOVE][OK]
Error detection tests:
[INTEGRITY:J:crc32c:4:512][FORMAT][ACTIVATE][WRITE DATA][CORRUPT DATA:315392][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:crc32c:4:4096][FORMAT][ACTIVATE][WRITE DATA][CORRUPT DATA:335872][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:crc32:4:512][FORMAT]device-mapper: remove ioctl on temporary-cryptsetup-138c5890-7982-4249-a9ad-62c80f9fb54a  failed: Device or resource busy
[ACTIVATE][WRITE DATA][CORRUPT DATA:315392][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:crc32:4:4096][FORMAT]device-mapper: remove ioctl on temporary-cryptsetup-3867ec95-283e-4f9d-ac1f-9914025a27f3  failed: Device or resource busy
[ACTIVATE][WRITE DATA][CORRUPT DATA:335872][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:sha1:20:512][FORMAT][ACTIVATE][WRITE DATA][CORRUPT DATA:872448][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:sha1:16:512][FORMAT][ACTIVATE][WRITE DATA][CORRUPT DATA:790528][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:sha1:20:4096][FORMAT][ACTIVATE][WRITE DATA][CORRUPT DATA:303104][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:sha256:32:512][FORMAT][ACTIVATE][WRITE DATA][CORRUPT DATA:1277952][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:sha256:32:4096][FORMAT][ACTIVATE][WRITE DATA][CORRUPT DATA:270336][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:hmac-sha256:32:512][FORMAT][ACTIVATE][KEYED HASH][WRITE DATA][CORRUPT DATA:1277952][DETECT ERROR][REMOVE][OK]
[INTEGRITY:J:hmac-sha256:32:4096][FORMAT][ACTIVATE][KEYED HASH][WRITE DATA][CORRUPT DATA:270336][DETECT ERROR][REMOVE][OK]
Journal parameters tests:
[INTEGRITY JOURNAL:hmac-sha256:66%:1000ms][FORMAT][ACTIVATE][KEYED HASH][REMOVE][OK]
[INTEGRITY JOURNAL:hmac-sha1:34%:5000ms][FORMAT][ACTIVATE][KEYED HASH][REMOVE][OK]
[INTEGRITY JOURNAL:hmac-sha256:75%:9999ms][FORMAT][ACTIVATE][KEYED HASH][REMOVE][OK]
Journal encryption tests:
[JOURNAL CRYPT:cbc-aes:32B][FORMAT][ACTIVATE][OK]
[JOURNAL CRYPT:cbc-aes:16B][FORMAT]device-mapper: remove ioctl on temporary-cryptsetup-0ff60f2f-2c11-4348-808d-239a8a2ddc8f  failed: Device or resource busy
[ACTIVATE][OK]
[JOURNAL CRYPT:ctr-aes:32B][FORMAT][ACTIVATE][OK]
[JOURNAL CRYPT:ctr-aes:16B][FORMAT]device-mapper: remove ioctl on temporary-cryptsetup-2bae1040-0732-47e8-b17a-08723e72b29c  failed: Device or resource busy
[ACTIVATE][OK]
Mode tests:
[MODE TESTS:crc32c:4:512][JOURNALED WRITES][DIRECT WRITES][RECOVERY MODE][OK]
[MODE TESTS:crc32:4:512]device-mapper: remove ioctl on temporary-cryptsetup-eb8c4d71-5238-4c4d-83cc-bb8ad3c30975  failed: Device or resource busy
[JOURNALED WRITES][DIRECT WRITES][RECOVERY MODE][OK]
[MODE TESTS:sha1:20:512][JOURNALED WRITES][DIRECT WRITES][RECOVERY MODE][OK]
[MODE TESTS:sha256:32:512][JOURNALED WRITES][DIRECT WRITES][RECOVERY MODE][OK]
[MODE TESTS:hmac-sha256:32:512][JOURNALED WRITES][DIRECT WRITES][RECOVERY MODE][OK]
[MODE TESTS:hmac-sha256:32:4096][JOURNALED WRITES][DIRECT WRITES][RECOVERY MODE][OK]
Recalculate tags in-kernel:[CHECKSUM OK][OK]
Separate metadata device:[CHECKSUM OK][OK]
Bitmap mode parameters:[N/A]
Big device:[OK]
Fixed HMAC and legacy flags:[N/A]
PASS: integrity-compat-test
======================
3 of 24 tests failed
(2 tests were not run)
======================
make: *** [Makefile:2316: check-recursive] Error 1

I don't know why this mistake happened. Can you help me to analyze it?

Information on your system

  • Python: 3.6.8
  • Platform: linux-centos8-aarch64
  • Concretizer: original

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.