λΉλ μμ μ€ νλμμ λͺ¨λ μμ ν μ€νΈ μ€ν¨λ₯Ό μΆμ νκΈ° μν΄ μ΄κ²μ μ΄μλ‘ μ΄μμ΅λλ€. λΉλ μ€ν¨μ μ£Όμ μμΈμ λ€μκ³Ό κ°μ΅λλ€.
. μ΅κ·Ό PRμμ λͺ¨λ κ²μ΄ μλνκΈ° μ μ Jenkins λΉλ μμ μ 5 λ² λ€μ μμν΄μΌνμ΅λλ€. κ·Έ ν PR μμ λ΄κ° κΈ°μ΅ν μμλ ν Jenkins λΉλ μμ μ μΈ λ² λ€μ μμνμ΅λλ€. μ΄μ¨λ , μ μκ°μλ μ€ν¨μ¨μ΄ λ무 λμ΅λλ€.
| μμΉ | μ€ν¨ν ν
μ€νΈ | μ§μ
κ΅¬μΆ |
| ---------- | ------------- | ----------- |
| master
| testmod_gpgme
(1) | debian-stable-full
|
| master
| testmod_gpgme
(1), testmod_zeromqsend
(1) | debian-stable-full-ini
|
| master
| testmod_crypto_botan
(1), testmod_fcrypt
(1), testmod_gpgme
(2), testmod_zeromqsend
(1) | debian-stable-full-mmap
|
| master
| testmod_crypto_botan
(1), testmod_fcrypt
(2) | debian-unstable-full
|
| master
| testmod_crypto_botan
(2), testmod_crypto_openssl
(3), testmod_fcrypt
(1) | debian-unstable-full-clang
|
| PR #2442
| testmod_crypto_openssl
(1), testmod_gpgme
(1) | debian-stable-full-ini
|
| PR #2442
| testmod_crypto_openssl
(1), testmod_crypto_botan
(1), testmod_fcrypt
(1), testmod_gpgme
(3) | debian-stable-full-mmap
|
| PR #2442
| testmod_crypto_openssl
(1), testmod_fcrypt
(1) | debian-unstable-full
|
| PR #2442
| testmod_crypto_openssl
(1), testmod_crypto_botan
(1), testmod_fcrypt
(1) | debian-unstable-full-clang
|
| PR #2442
| testmod_dbus
(1), testmod_dbusrecv
(1) | π MMap
|
| PR #2443
| testmod_crypto_botan
(1), testmod_fcrypt
(1) | debian-unstable-full
|
| PR #2443
| testmod_crypto_openssl
(1), testmod_crypto_botan
(1) | debian-unstable-full-clang
|
| PR #2443
| testmod_dbus
(1), testmod_dbusrecv
(1) | π MMap
|
| PR #2445
| testmod_crypto_openssl
(1), testmod_crypto_botan
(1), testmod_fcrypt
(1) | debian-stable-full-ini
|
| PR #2445
| testmod_crypto_openssl
(2), testmod_crypto_botan
(2), testmod_fcrypt
(2), testmod_gpgme
(1) | debian-stable-full-mmap
|
| PR #2445
| testmod_crypto_openssl
(2), testmod_fcrypt
(2) | debian-unstable-full
|
| PR #2445
| testmod_dbus
(1), testmod_dbusrecv
(1) | π GCC
|
μ΄λ¬ν λ¬Έμ λ₯Ό μμ½ ν΄ μ£Όμ μ κ°μ¬ν©λλ€!
μμ μ΄ μ€ν¨ν κ³³μμλ§ μμ μ λΉνμ±ν ν μ μμ΅λκΉ?
crypto
λ° fcrypt
νλ¬κ·ΈμΈμ κ²½μ° @mpranj λ λμ μλ²λ‘λμ gpg-agent
κ° μ€ν¨ ν μ μλ€κ³ μ§μ νμ΅λλ€. crypto
λ° fcrypt
νλ¬κ·ΈμΈ ν
μ€νΈλ₯Όμν λ³λμ λΉλ μμ
μ λ§λ€ μ μμκΉμ? λ°λΌμ λ€λ₯Έ κ°λ°μ΄ μ°¨λ¨λμ§ μμ΅λλ€.
μ λ ₯ ν΄ μ£Όμ μ κ°μ¬ν©λλ€!
λ¬Έμ κ°μλ μμ μ λΆλ¦¬νλ©΄ μ¬ κ΅¬μΆμ£ΌκΈ°κ° λ 짧μ μ§ μ μμ΅λλ€. κ·Έλ¬λ μ λ μ°λ¦¬κ° μ΄λ€ μλ μ¬ κ΅¬μΆλ μ ν μνμ§ μλλ€λ κ²μ΄ λΆλͺ νλ€κ³ μκ°ν©λλ€. λ°λΌμ λ€μκ³Ό κ°μ μ΅μ μ΄ μμ΅λλ€.
μ΄λ»κ² μκ°ν΄?
- λ μ λ’°ν μ μλλ‘
gpg-agent
(μΌκ΄ μμ
μ κ³ ν΅)μ νμ©νλ ν κ±°μ λΆκ°λ₯ν©λλ€.
- μ΄λ¬ν μ€λ₯μ λν΄ μ¬ μλνλ μΌλΆ μλ 루ν
μ΄κ²μ λμκ² λλ½λ€.
- ν μ€νΈ λΉνμ±ν (λκ΅°κ°μ΄ λΆλΆμ λν΄ μμ ν λ λ€μ νμ±νν΄μΌ ν¨)
μλ νκ· ν μ€νΈλ₯Όνλ κ²λ μ’μ§ μμ§λ§ λΆνΈ ν¨μ μ΅μννλ μ΅μ μΈ κ² κ°μ΅λλ€.
νμμμ λ Όμνλλ‘ : ν μ€νΈλ₯Ό λΉνμ±νν΄μΌν©λλ€.
νμμμλ λ
Όμ λ λμ : ctest --rerun-failed
ctest
λ₯Ό μ€ννλ©΄ <cmake_build_dir>/Testing/Temporary/LastTestsFailed[_timestamp].log
νμΌμ΄ μμ±λ©λλ€ (νμ μ€ν¬νλ λμ 보λ λͺ¨λμμλ§ μ¬μ©λ¨). μ΄ νμΌμ ctest --rerun-failed
μμλ μ¬μ©λ©λλ€ (Kitware / CMake @ eb2decc02d28f41a3e189d5387be24552c42060f μ°Έμ‘°). λ§μ§λ§μΌλ‘ μ€ν¨ν ν
μ€νΈμ λ²νΈμ μ΄λ¦ λ§ ν¬ν¨λ©λλ€.
λ΄ μ μμ μ΄μ κ³Ό κ°μ΄ ctest
λ₯Ό νΈμΆ ν κ²μ
λλ€. μ±κ³΅μ μΌλ‘ μ’
λ£λμ§ μμΌλ©΄ grep
μμ LastTestsFailed.log
λ₯Ό μ¬μ©νμ¬ μμ λμ΄λ ν
μ€νΈ μ€ νλκ° μ€ν¨νλμ§ νμΈν©λλ€. κ·Έλ° λ€μ ctest --rerun-failed
. μ΄λ‘ μΈν΄ μ€λ³΅ / νΌλ μΆλ ₯μ΄ μ€μ΄ λλλ€.
κ·Έλ¬λ λ¬Έμ κ° μ€μ λ‘ ν° λμμ΄λμ§ μλ λμ μλ² λΆνλΌλ©΄. λμ ctest --test-load
μλν΄ λ³Ό μ μμ΅λλ€. μ΄λ‘ μΈν΄ ctestλ CPUλ‘λλ₯Ό νΉμ μκ³ κ° μλλ‘ μ μ§ν΄μΌν©λλ€.
IMOλ μ¬μ ν κ°μ₯ μ’μ μ΅μ μ ν μ€νΈλ₯Ό λΉνμ±ννκ³ μ΄λ¬ν νλ¬κ·ΈμΈ / λΌμ΄λΈλ¬λ¦¬μ νμν μ’ μμ± λ§ μ€μΉνκ³ νμν κ²λ§ μ»΄νμΌνκ³ λ¬Έμ κ°μλ ν μ€νΈ λ§ μ€ννλ μμ λΉλ μμ μ λ§λλ κ²μ λλ€. κ·Έλ κ²νλ©΄ λ°νμμ λͺ λΆ μ λ μλ£ ν μ μμ΅λλ€.μ΄ κ²½μ° μλμΌλ‘ λ€μ μμνλ κ²μ΄ νμ©λ©λλ€. λΉκ΅λ₯Ό μν΄ FreeBSD μμ μ νμ¬ μ½ 200 κ°μ ν μ€νΈλ₯Ό μ€ννλ λ° μ½ 10 λΆ (λΉλ 7 λΆ, ν μ€νΈ 2 λΆ, κΈ°ν 1 λΆ)μ΄ κ±Έλ¦½λλ€.
μΆμ . μ€μ μ λν΄ νμ€νμ§ μμ§λ§ νΉμ λ¨κ³μμ μ ν¨μ€ νμ΄ν λΌμΈμ λ€μ μμν μ μμ΅λλ€.
νμμμλ λ Όμ λ λμ : ctest --rerun-failed μ¬μ©
μ‘°μ¬ν΄ μ£Όμ μ κ°μ¬ν©λλ€!
κ·Έλ¬λ λ¬Έμ κ° μ€μ λ‘ ν° λμμ΄λμ§ μλ λμ μλ² λΆνλΌλ©΄. λμ ctest --test-loadλ₯Ό μλ ν μ μμ΅λλ€.
@ingwinlu λμ΄ λ°©ν₯μΌλ‘ λ§μ μμ μνμ΅λλ€. λΉμ¬ μλ²λ λμ λΆνλ‘ μ²λ¦¬λμ΄ κ°μ₯ λμ΅λλ€. μ¦ μ°λ¦¬λ κ·Έλ¬ν μ΅μ μΌλ‘ ν μ€νΈ μλλ₯Ό λ¦μΆ κ²μ λλ€.
IMOλ μ¬μ ν κ°μ₯ μ’μ λ°©λ²μ ν μ€νΈλ₯Ό λΉνμ±ννκ³ λ€μ λ§ μ€μΉνλ μμ λΉλ μμ μ λ§λλ κ²μ λλ€.
λͺ¨λ μ ν μ€νΈ μΌμ΄μ€λ λ¬μ±νκ³ μ μ§νκΈ°κ° λ§€μ° μ΄λ ΅μ΅λλ€. @ingwinlu λ λ§μ μμ μνμ΅λλ€. λͺ κ°μ§ μ λ’°ν μμλ ν μ€νΈμ λν΄μλ§ μ΄λ¬ν λ Έλ ₯μ λ€μ ν μλ μλ€κ³ μκ°ν©λλ€.
μΆμ . μ€μ μ λν΄ νμ€νμ§ μμ§λ§ νΉμ λ¨κ³μμ μ ν¨μ€ νμ΄ν λΌμΈμ λ€μ μμν μ μμ΅λλ€.
κ·Έκ²μ μ’μ κ²μ λλ€. νμ§λ§ GUIμ λ€μ μμ λ²νΌμ΄ νμλμ§ μμ΅λλ€. λ€λ₯Έ νλ¬κ·ΈμΈμ΄λ μ΅μ λ²μ μ΄ νμν©λκΉ? @ingwinlu λ λͺ¨λ νμ΄ν λΌμΈ λ¨κ³μ λν΄ "jenkins build * please"λ₯Ό μΆκ°νλ €κ³ νμ§λ§ μνκΉκ²λ μλνμ§ μμμ΅λλ€.
μ¬μ ν μ€λ₯κ°μλ κ² κ°μ΅λλ€ (dbus μ°Έμ‘° # 2532).
Mac λΉλμμ dbus ν μ€νΈ μΌμ΄μ€λ₯Ό μ μΈνλ κ²μ μ΄λ»μ΅λκΉ?
μ¬μ ν μ€λ₯κ°μλ κ² κ°μ΅λλ€ (dbus μ°Έμ‘° # 2532).
μ μ°λ¦¬λ κ·Έλ.
gcc --version
Configured with: --prefix=/Applications/Xcode-10.2.1.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode-10.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Applications/Xcode-10.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
(...)
DBUSRECV TESTS
==============
testing prerequisites
detecting available bus types - please ignore single error messages prefixed with "connect:"
connect: Failed to open connection to system message bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: No such file or directory
test commit
test adding keys
../src/plugins/dbusrecv/testmod_dbusrecv.c:228: error in test_keyAdded: string "system/tests/testmod_dbusrecv/added" is not equal to "user/tests/foo/bar"
compared: expectedKeyName and keyName (test_callbackKey)
test adding keys
testmod_dbusrecv Results: 34 Tests done β 1 error.
λ‘컬μμ μ¬ν ν μ μμμ΅λκΉ?
μ΄ λ¬Έμ κ° μ°λ°μ μΌλ‘ λ°μνλ μ΄μ λ₯Ό μ¬μ ν μ μ μμ΅λλ€. μκ²¬μ΄ μλ€λ©΄ μ’μ κ²μ λλ€.
λ¬Έμ κ°μλ λΉλ μμ μμ ν μ€νΈλ₯Ό κ°λ¨ν μ μΈ ν μ μμ΅λκΉ? μλλ©΄ dbus * ν μ€νΈ μΌμ΄μ€κ° μ€νλλ λͺ¨λ λΉλ μμ μμ μ€ν¨ν©λκΉ?
λ‘컬μμ μ¬ν ν μ μμμ΅λκΉ?
λΆννλ. μ λ μ°λΆν¬μ μμ΅λλ€.
λ¬Έμ κ°μλ λΉλ μμ μμ ν μ€νΈλ₯Ό κ°λ¨ν μ μΈ ν μ μμ΅λκΉ? μλλ©΄ dbus * ν μ€νΈ μΌμ΄μ€κ° μ€νλλ λͺ¨λ λΉλ μμ μμ μ€ν¨ν©λκΉ?
λ°©κΈ λΉλ μμ μ λ€μ μμνμ¬ λ€μ λ°μνλμ§ νμΈνμ΅λλ€.
νμν κ²½μ° μ λ₯Ό λ€μ ν λΉνμμμ€.
μ΄μ # 3224μμ ctestμ μλ μ¬ μλλ₯Ό ꡬννμ΅λλ€. ν μ€νΈ μ€μνΈ μ μΌμμ μΈ μ€λ₯κ° κ³μ λ°μνλ©΄ λ¬Έμ λ₯Ό λ€μμ¬μμμ€. (μλ νμλ₯Ό λ릴 μ μμ΅λλ€.)
Jenkins / Dockerμ λ€λ₯Έ μ€ν¨μ λν΄μλ λ€λ₯Έ μ루μ μ μ°ΎμμΌνμ§λ§ λ¨Όμ λ§μ§λ§μΌλ‘ λ§μ΄κ·Έλ μ΄μ μ μνν΄μΌν©λλ€. λ°λΌμ μ΄λ¬ν κ²½μ° κ³μν΄μ μμ μ λ€μ μμνμμμ€.
κ°μ₯ μ μ©ν λκΈ
μ΄μ # 3224μμ ctestμ μλ μ¬ μλλ₯Ό ꡬννμ΅λλ€. ν μ€νΈ μ€μνΈ μ μΌμμ μΈ μ€λ₯κ° κ³μ λ°μνλ©΄ λ¬Έμ λ₯Ό λ€μμ¬μμμ€. (μλ νμλ₯Ό λ릴 μ μμ΅λλ€.)
Jenkins / Dockerμ λ€λ₯Έ μ€ν¨μ λν΄μλ λ€λ₯Έ μ루μ μ μ°ΎμμΌνμ§λ§ λ¨Όμ λ§μ§λ§μΌλ‘ λ§μ΄κ·Έλ μ΄μ μ μνν΄μΌν©λλ€. λ°λΌμ μ΄λ¬ν κ²½μ° κ³μν΄μ μμ μ λ€μ μμνμμμ€.