• Bug#1072601: marked as done (node-mock-fs: FTBFS: failing tests) (2/2)

    From Debian Bug Tracking System@21:1/5 to All on Sun Apr 13 19:40:02 2025
    [continued from previous message]

    ok 812 The API mock.load() Dir recursive=false creates files & does not recurse ok 813 The API mock.load() Dir can read file from mocked FS
    ok 814 The API mock.load() Dir recursive=true creates all files & dirs
    ok 815 The API mock.load() Dir recursive=true respects lazy setting
    ok 816 The API mock.fs() generates a mock fs module with a mock file system # SKIP -
    ok 817 The API mock.fs() passes options to the FileSystem constructor # SKIP - ok 818 The API mock.fs() accepts an arbitrary nesting of files and directories # SKIP -
    ok 819 process.cwd() maintains current working directory
    ok 820 process.cwd() allows changing directory
    ok 821 process.cwd() prevents changing directory to non-existent path
    ok 822 process.cwd() prevents changing directory to non-directory path
    ok 823 process.cwd() restores original methods on restore
    ok 824 process.cwd() restores original working directory on restore
    ok 825 security denies dir listing without execute on parent
    ok 826 security denies file read without execute on parent
    ok 827 security denies file read without read on file
    not ok 828 security denies file write without write on file
    expected 'ENOENT' to equal 'EACCES'
    AssertionError: expected 'ENOENT' to equal 'EACCES'
    at assert.equal (/usr/share/nodejs/chai/lib/chai/interface/assert.js:139:10)
    at Context.<anonymous> (test/lib/index.spec.js:550:14)
    at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
    at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
    at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
    at /usr/share/nodejs/mocha/lib/runner.js:800:12
    at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
    at /usr/share/nodejs/mocha/lib/runner.js:602:7
    at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
    at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
    at process.processImmediate (node:internal/timers:478:21)
    ok 829 Item constructor creates a new instance
    ok 830 Item getATime() returns a date
    ok 831 Item setATime() sets the atime
    ok 832 Item getCTime() returns a date
    ok 833 Item setCTime() sets the ctime
    ok 834 Item getBirthtime() returns a date
    ok 835 Item setBirthtime() sets the birthtime
    ok 836 Item getMTime() returns a date
    ok 837 Item setMTime() sets the mtime
    ok 838 Item getMode() returns a number
    ok 839 Item setMode() sets the mode
    ok 840 Item setMode() updates the ctime
    ok 841 Item setUid() sets the uid
    ok 842 Item setUid() updates the ctime
    ok 843 Item setGid() sets the gid
    ok 844 Item setGid() updates the ctime
    ok 845 Item canRead() returns true if owner and 0700
    ok 846 Item canRead() returns true if owner and 0600
    ok 847 Item canRead() returns true if owner and 0500
    ok 848 Item canRead() returns true if owner and 0400
    ok 849 Item canRead() returns false if owner and 0300
    ok 850 Item canRead() returns false if owner and 0200
    ok 851 Item canRead() returns false if owner and 0100
    ok 852 Item canRead() returns false if not owner and 0700 (different user)
    ok 853 Item canRead() returns false if not owner and 0700 (different group)
    ok 854 Item canRead() returns false if owner and 0170
    ok 855 Item canRead() returns true if in group and 0170
    ok 856 Item canRead() returns false if not in group and 0770
    ok 857 Item canRead() returns true if not in group and 0777
    ok 858 Item canWrite() returns true if owner and 0700
    ok 859 Item canWrite() returns true if owner and 0600
    ok 860 Item canWrite() returns false if owner and 0500
    ok 861 Item canWrite() returns false if owner and 0400
    ok 862 Item canWrite() returns true if owner and 0300
    ok 863 Item canWrite() returns true if owner and 0200
    ok 864 Item canWrite() returns false if owner and 0100
    ok 865 Item canWrite() returns false if not owner and 0700 (different user)
    ok 866 Item canWrite() returns false if not owner and 0700 (different group)
    ok 867 Item canWrite() returns false if owner and 0170
    ok 868 Item canWrite() returns true if in group and 0170
    ok 869 Item canWrite() returns false if not in group and 0770
    ok 870 Item canWrite() returns true if not in group and 0777
    ok 871 Item canExecute() returns true if owner and 0700
    ok 872 Item canExecute() returns false if owner and 0600
    ok 873 Item canExecute() returns true if owner and 0500
    ok 874 Item canExecute() returns false if owner and 0400
    ok 875 Item canExecute() returns true if owner and 0300
    ok 876 Item canExecute() returns false if owner and 0200
    ok 877 Item canExecute() returns true if owner and 0100
    ok 878 Item canExecute() returns false if not owner and 0700 (different user) ok 879 Item canExecute() returns false if not owner and 0700 (different group) ok 880 Item canExecute() returns false if owner and 0270
    ok 881 Item canExecute() returns true if in group and 0270
    ok 882 Item canExecute() returns false if not in group and 0770
    ok 883 Item canExecute() returns true if not in group and 0777
    ok 884 getReadFileContextPrototype provides access to the internal ReadFileContext
    ok 885 patchReadFileContext patch forwards calls to mocked binding when available
    ok 886 fs.readFile() with ReadFileContext allows file reads to be aborted
    ok 887 fs.readFile() with ReadFileContext allows file reads with a numeric descriptor
    ok 888 fs.readFile() with ReadFileContext allows file reads with unknown size
    # tests 881
    # pass 833
    # fail 48
    1..888
    make[1]: *** [debian/rules:28: override_dh_auto_test] Error 48
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:17: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202406/

    About the archive rebuild: The build was made on virtual machines
    of type m6a.large and r6a.large from AWS, using sbuild and a
    reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and affects, so that this is still visible in the BTS web
    page for this package.

    Thanks.

    Received: (at 1072601-close) by bugs.debian.org; 13 Apr 2025 17:35:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-113.0 required=4.0 tests=BAYES_00,DKIM_SIGNED,
    DKIM_VALID,DKIM_VALID_AU,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,
    PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 90; hammy, 150; neutral, 134; spammy,
    0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
    0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
    0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
    Return-path: <envelope@ftp-master.debian.org>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:56040)
    from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mitropoulos.debian.org,EMAIL=hostmaster@mitropoulos.debian.org (verified)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <envelope@ftp-master.debian.org>)
    id 1u41Eu-003OKO-4L
    for 1072601-close@bugs.debian.org; Sun, 13 Apr 2025 17:35:28 +0000 Received: from [192.91.235.231] (port=53840 helo=fasolo.debian.org)
    from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
    by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <envelope@ftp-master.debian.org>)
    id 1u41Er-00F0zJ-Vw
    for 1072601-close@bugs.debian.org; Sun, 13 Apr 2025 17:35:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
    d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
    Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
    :Content-Description:In-Reply-To:References;
    bh=SGrrAnkXSiJO1sD1Uly7PUIUA7tIzg3Z0a6tm4i5/jE=; b=WYp1VYcUzJN/NyG68vr4n92ZGi
    2EXtppZjaW/HWA0co9rY2Qr0erG642aK1trpx6H7yc2vdie+rSa6RUJ/uFfeka1lVuYxe5I1YZ7CL
    FeVxmJylJ/Jgq264MjD08kxjPTUC+2uJ5V7IcEbTjzNs2Z44eXyQyRwQzwsnNH7aOb6ZdPNLQUaap
    txssaTQX5mDqfh0KjeAfHde9Q0tuqdkeaiCcnb3qK7610W0itTF4Rca+/DY71n2l+GEvsRM/heajs
    dpGvOx6OQT6e6/sY3nChrRsAdZZg6hcZ3eMBgWyevvGw0HxNJsEqyDpQCm+U2NEqVzVQvOy9d8r9s
    C/gf7HLA==;
    Received: from dak by fasolo.debian.org with local (Exim 4.94.2)
    (envelope-from <envelope@ftp-master.debian.org>)
    id 1u41Eq-00GZaW-JZ; Sun, 13 Apr 2025 17:35:24 +0000
    From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
    Reply-To: Yadd <yadd@debian.org>
    To: 1072601-close@bugs.debian.org
    X-DAK: dak process-upload
    X-Debian: DAK
    X-Debian-Package: node-mock-fs
    Debian: DAK
    Debian-Changes: node-mock-fs_5.5.0-1_sourceonly.changes
    Debian-Source: node-mock-fs
    Debian-Version: 5.5.0-1
    Debian-Architecture: source
    Debian-Suite: unstable
    Debian-Archive-Action: accept
    MIME-Version: 1.0
    Subject: Bug#1072601: fixed in node-mock-fs 5.5.0-1
    Content-Type: multipart/signed; micalg="pgp-sha256";
    protocol="application/pgp-signature";
    boundary="===============7033917379077150967=="
    Message-Id: <E1u41Eq-00GZaW-JZ@fasolo.debian.org>
    Date: Sun, 13 Apr 2025 17:35:24 +0000

    --===============7033917379077150967==
    Content-Type: text/plain; charset="utf-8"
    Content-Transfer-Encoding: quoted-printable

    Source: node-mock-fs
    Source-Version: 5.5.0-1
    Done: Yadd <yadd@debian.org>

    We believe that the bug you reported is fixed in the latest version of node-mock-fs, which is due to be installed in the Debian FTP archive.

    A summary of the changes between this version and the previous one is
    attached.

    Thank you for reporting the bug, which will now be closed. If you
    have further comments please address them to 1072601@bugs.debian.org,
    and the maintainer will reopen the bug report if appropriate.

    Debian distribution maintenance software
    pp.
    Yadd <yadd@debian.org> (supplier of updated node-mock-fs package)

    (This message was generated automatically at their request; if you
    believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org)


    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512

    Format: 1.8
    Date: Sun, 13 Apr 2025 18:48:23 +0200
    Source: node-mock-fs
    Architecture: source
    Version: 5.5.0-1
    Distribution: unstable
    Urgency: medium
    Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
    Changed-By: Yadd <yadd@debian.org>
    Closes: 1072601
    Changes:
    node-mock-fs (5.5.0-1) unstable; urgency=medium
    .
    * Team upload
    * Declare compliance with policy 4.7.2
    * Add upstream/metadata
    * Switch to pkg-js
    * New upstream version 5.5.0 (closes: #1072601)
    * Refresh patch
    Checksums-Sha1:
    fbb68c4c61a43da758ac82d1e0ed47614d792314 2096 node-mock-fs_5.5.0-1.dsc
    df7cb9fdb14aada02a63c3fb83ac0c76f672980b 123916 node-mock-fs_5.5.0.orig.tar.gz
    ff39bb741744c071ae2c77322e43028e5f06f954 4464 node-mock-fs_5.5.0-1.debian.tar.xz
    Checksums-Sha256:
    aeff97e98b82e497a758c2d6a05301ac0dd0c4437567089e73f8bd716e2746d0 2096 node-mock-fs_5.5.0-1.dsc
    df110d76519d0529dd91caf9ba95507e06f7af30b85ecc98a2b4ea1910915e23 123916 node-mock-fs_5.5.0.orig.tar.gz
    668facbff7cdae2fd55736442d53aaf357a32fa03cfc7882a26bd0aaf533babd 4464 node-mock-fs_5.5.0-1.debian.tar.xz
    Files:
    76661662668ec7f76239e619f9b47932 2096 javascript optional node-mock-fs_5.5.0-1.dsc
    16dd9472eaf6efce64035721159fa140 123916 javascript optional node-mock-fs_5.5.0.orig.tar.gz
    4681ea8f76a74e2e8efdff0f86f6f770 4464 javascript optional node-mock-fs_5.5.0-1.debian.tar.xz

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmf78RsACgkQ9tdMp8mZ 7ulPAg//e0shNkoUms98nMd9FYg5UN2kMiieBFuBnfhAgbnaSci4al24UyN57dED pkLBJ9sAH+Jes72NXM8I6SfUlkOfEIr7pza+R8SNqDyiv7Ff5TznyimcEmp0t0s0 zeQRl4ynFZXgRsIE4PyZAwhcEQdifuuEjRE9466ZEIfJ2vCXaNfXZQ9X0KbsIU1v OLhjMQ3yKPfzkooCjgS4vLv5wcYZKH4iUp124BlF7Ekq6gCG1zrefURK1Onpdkio kaC3+v/gcolG26mst/c1w41R/RJgKdCpF3xLP+yhd/edNaqiW9TFoQ+BPgjWa9Y3 OEu2HIRK34WKkAKceJLYLbXg7QerwQZjuQh69yWiRq6wahHqG2pFcguPEzobQbu7 Jw7d3hxMgJ53BOQYJb9ECulIAyT9kLQoHqHUtvvywaoP06b0RsSKv5arQL7fVm85 B1t+5gLGXA5iZithFG3vOHDebMDM8/XRKhGcLvpR7L46YJbuhc3gf5OGj+bBg3KQ O1v4lmxqelKYz1yn+WCwqmReFt0PIHL2gMGLKiYWivh2R3O3dqUxHEKCwof8cmvY y1vxQlkvA/2j0ShE1yw8EgSqa6Sd8FfGj6E+Apjp6YSAghjRjDCkwoqWAjSrlIZm H+bw2OyV7Nv8LLmmW1MoioBkX/LU9iqpWomwmA33E88uVhj9b6Y=
    =Ktbn
    -----END PGP SIGNATURE-----


    --==============p33917379077150967=Content-Type: application/pgp-signature

    -----BEGIN PGP SIGNATURE-----

    iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCZ/v13AAKCRCb9qggYcy5 Ifk6AP4rhQ3uScLL9Po1h3E4SzBOng8G8xsB+VGjv/l+IuvBtwD/RMsIDhWcHQ4V yURs8pTsfD2yVFBuWMJaKVoix77LigE°/F
    -----END PGP SIGNATURE-----

    --==============p33917379077150967==--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)