make check error

Background
When I do "make check", I have the following error :
$ make check
...
=== RUN   TestLightningNetworkDaemon/node_sign_verify
=== RUN   TestLightningNetworkDaemon/async_payments_benchmark
--- FAIL: TestLightningNetworkDaemon (288.39s)
	lnd_test.go:8093: Running 34 integration tests
    --- PASS: TestLightningNetworkDaemon/basic_funding_flow (1.39s)
    --- PASS: TestLightningNetworkDaemon/update_channel_policy (8.98s)
    --- PASS: TestLightningNetworkDaemon/open_channel_reorg_test (4.03s)
    --- PASS: TestLightningNetworkDaemon/disconnecting_target_peer (3.09s)
    --- PASS: TestLightningNetworkDaemon/graph_topology_notifications (7.05s)
    --- PASS: TestLightningNetworkDaemon/funding_flow_persistence (19.20s)
    --- PASS: TestLightningNetworkDaemon/channel_force_closure (39.26s)
    --- PASS: TestLightningNetworkDaemon/channel_balance (0.85s)
    --- PASS: TestLightningNetworkDaemon/single_hop_invoice (2.42s)
    --- PASS: TestLightningNetworkDaemon/sphinx_replay_persistence (17.70s)
    --- PASS: TestLightningNetworkDaemon/list_outgoing_payments (1.44s)
    --- PASS: TestLightningNetworkDaemon/max_pending_channel (7.45s)
    --- PASS: TestLightningNetworkDaemon/multi-hop_payments (17.46s)
    --- PASS: TestLightningNetworkDaemon/private_channels (18.37s)
    --- PASS: TestLightningNetworkDaemon/multiple_channel_creation (2.29s)
    --- PASS: TestLightningNetworkDaemon/invoice_update_subscription (1.83s)
    --- PASS: TestLightningNetworkDaemon/multi-hop_htlc_error_propagation (17.35s)
    --- PASS: TestLightningNetworkDaemon/node_announcement (7.45s)
    --- PASS: TestLightningNetworkDaemon/node_sign_verify (5.83s)
    --- FAIL: TestLightningNetworkDaemon/async_payments_benchmark (94.51s)
    	lnd_test.go:69: Failed: (async payments benchmark): exited with error:
    		*errors.errorString payment stream have been closed: rpc error: code = DeadlineExceeded desc = context deadline exceeded
    		/home/xiaofo/gocode/src/github.com/lightningnetwork/lnd/lnd_test.go:4930 (0xb23955)
    			testAsyncPayments: t.Fatalf("payment stream have been closed: %v", err)
    		/home/xiaofo/gocode/src/github.com/lightningnetwork/lnd/lnd_test.go:94 (0xb04adb)
    			(*harnessTest).RunTestCase: testCase.test(net, h)
    		/home/xiaofo/gocode/src/github.com/lightningnetwork/lnd/lnd_test.go:8106 (0xb40049)
    			TestLightningNetworkDaemon.func3: ht.RunTestCase(testCase, lndHarness)
    		/usr/lib/go-1.10/src/testing/testing.go:777 (0x4ef720)
    			tRunner: fn(t)
    		/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 (0x45c791)
    			goexit: BYTE	$0x90	// NOP
=== RUN   TestParseHexColor
--- PASS: TestParseHexColor (0.00s)
FAIL
exit status 1
FAIL	github.com/lightningnetwork/lnd	288.428s
Makefile:146: recipe for target 'itest' failed
make: *** [itest] Error 1

Your environment

version of lnd : lnd version 0.4.1-beta commit=6fa93a78c18180a3bc77116b749b3c5e279d5a33
which operating system (uname -a on *Nix) : Linux xiaofo 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
version of btcd, bitcoind, or other backend : bitcoind v0.16.0, btcd v0.12.0-beta
any other relevant environment details : I installed all dependencies of bitcoind ( including ZMQ ), and I installed btcd while installing 'lnd'. lnd installation document instructs to install 'btcd' by using command 'make btcd' after installing lnd.

Steps to reproduce
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ git checkout v0.4.1-beta
Note: checking out 'v0.4.1-beta'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 6fa93a7... lnd+lncli: bump version to 0.4.1
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ clear

xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ git status
HEAD detached at v0.4.1-beta
nothing to commit, working directory clean
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ make
 Fetching dep.
go get -u github.com/golang/dep/cmd/dep
 Compiling dependencies.
dep ensure -v
Gopkg.lock was already in sync with imports and Gopkg.toml
(1/39) Wrote gopkg.in/macaroon.v2@bed2a428da6e56d950bed5b41fcbae3141e5b0d0
(2/39) Wrote github.com/urfave/cli@1efa31f08b9333f1bd4882d61f9d668a70cd902e
(3/39) Wrote github.com/aead/siphash@master
(4/39) Wrote github.com/awalterschulze/gographviz@761fd5fbb34e4c2c138c280395b65b48e4ff5a53
(5/39) Wrote<EMAIL_ADDRESS>(6/39) Wrote golang.org/x/sys@master
(7/39) Wrote github.com/aead/chacha20@master
(8/39) Wrote github.com/miekg/dns@79bfde677fa81ff8d27c4330c35bda075d360641
(9/39) Wrote github.com/kkdai/bstream@f391b8402d23024e7c0f624b31267a89998fca95
(10/39) Wrote github.com/ltcsuite/ltcd@5f654d5faab99ee2b3488fabba98e5f7a5257ee3
(11/39) Wrote github.com/tv42/zbase32@501572607d0273fc75b3b261fa4904d63f6ffa0e
(12/39) Wrote github.com/lightningnetwork/lightning-onion@c86137582e53fe3ba26681a98f911b546970893e
(13/39) Wrote github.com/lightninglabs/neutrino@601b7eda6e5c9e8ca91c097f0bb7be2664802ab3
(14/39) Wrote golang.org/x/crypto@49796115aa4b964c318aad4f3084fdb41e9aa067
(15/39) Wrote github.com/Yawning/aez@4dad034d9db2caec23fb8f69b9160ae16f8d46a3
(16/39) Wrote golang.org/x/net@ae89d30ce0c63142b652837da33d782e2b0a9b25
(17/39) Wrote github.com/lightninglabs/gozmq@master
(18/39) Wrote git.schwanenlied.me/yawning/bsaes.git@master
(19/39) Wrote github.com/btcsuite/btclog@84c8d2346e9fc8c7b947e243b9c24e6df9fd206a
(20/39) Wrote github.com/roasbeef/btcd@e6807bc4dd5ddbb95b4ab163f6dd61e4ad79463a
(21/39) Wrote github.com/btcsuite/fastsha256@master
(22/39) Wrote google.golang.org/grpc@b3ddf786825de56a4178401b7e174ee332173b66
(23/39) Wrote github.com/btcsuite/go-socks@master
(24/39) Wrote github.com/roasbeef/btcutil@c3ff179366044979fb9856c2feb79bd4c2184c7a
(25/39) Wrote google.golang.org/genproto@df60624c1e9b9d2973e889c7a1cff73155da81c4
(26/39) Wrote gopkg.in/errgo.v1@v1
(27/39) Wrote github.com/roasbeef/btcwallet@45445d1b09670109410174cb01fab0b133e3a904
(28/39) Wrote github.com/rogpeppe/fastuuid@master
(29/39) Wrote github.com/btcsuite/golangcrypto@master
(30/39) Wrote gopkg.in/macaroon-bakery.v2@94012773d2874a067572bd16d7d11ae02968b47b
(31/39) Wrote github.com/btcsuite/websocket@master
(32/39) Wrote github.com/golang/protobuf@bbd03ef6da3a115852eaf24c8a1c46aeb39aa175
(33/39) Wrote github.com/grpc-ecosystem/grpc-gateway@f2862b476edcef83412c7af8687c9cd8e4097c0f
(34/39) Wrote github.com/davecgh/go-spew@8991bc29aa16c548c550c7ff78260e27b9ab7c73
(35/39) Wrote github.com/go-errors/errors@a6af135bd4e28680facf08a3d206b454abc877a4
(36/39) Wrote github.com/jessevdk/go-flags@f88afde2fa19a30cf50ba4b05b3d13bc6bae3079
(37/39) Wrote github.com/coreos/bbolt@4f5275f4ebbf6fe7cb772de987fa96ee674460a7
(38/39) Wrote github.com/jrick/logrotate@a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a
(39/39) Wrote github.com/juju/loggo@master
 Building lnd and lncli.
go build -v -o lnd -ldflags "-X main.Commit=6fa93a78c18180a3bc77116b749b3c5e279d5a33" github.com/lightningnetwork/lnd
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcutil/gcs
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/wire
github.com/lightningnetwork/lnd/lnrpc
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/addrmgr
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/btcjson
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/chaincfg
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcutil
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/connmgr
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/txscript
github.com/lightningnetwork/lnd/chainntnfs
github.com/lightningnetwork/lnd/vendor/github.com/lightningnetwork/lightning-onion
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/rpcclient
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/internal/helpers
github.com/lightningnetwork/lnd/lnwire
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcutil/txsort
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/blockchain
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcutil/gcs/builder
github.com/lightningnetwork/lnd/vendor/github.com/lightninglabs/neutrino/filterdb
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/internal/legacy/keystore
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/wallet/txrules
github.com/lightningnetwork/lnd/brontide
github.com/lightningnetwork/lnd/chainntnfs/btcdnotify
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/wallet/internal/txsizes
github.com/lightningnetwork/lnd/vendor/github.com/lightninglabs/neutrino/headerfs
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcd/peer
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/wtxmgr
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/wallet/txauthor
github.com/lightningnetwork/lnd/vendor/github.com/lightninglabs/neutrino
github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/chain
github.com/lightningnetwork/lnd/chainntnfs/bitcoindnotify
github.com/lightningnetwork/lnd/routing/chainview
github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcwallet/wallet
github.com/lightningnetwork/lnd/keychain
github.com/lightningnetwork/lnd/channeldb
github.com/lightningnetwork/lnd/autopilot
github.com/lightningnetwork/lnd/lnwallet
github.com/lightningnetwork/lnd/lnwallet/btcwallet
github.com/lightningnetwork/lnd/contractcourt
github.com/lightningnetwork/lnd/walletunlocker
github.com/lightningnetwork/lnd/htlcswitch
github.com/lightningnetwork/lnd/routing
github.com/lightningnetwork/lnd/zpay32
github.com/lightningnetwork/lnd/discovery
github.com/lightningnetwork/lnd
go build -v -o lncli -ldflags "-X main.Commit=6fa93a78c18180a3bc77116b749b3c5e279d5a33" github.com/lightningnetwork/lnd/cmd/lncli
github.com/lightningnetwork/lnd/cmd/lncli
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ make install
 Installing lnd and lncli.
go install -v -ldflags "-X main.Commit=6fa93a78c18180a3bc77116b749b3c5e279d5a33" github.com/lightningnetwork/lnd
go install -v -ldflags "-X main.Commit=6fa93a78c18180a3bc77116b749b3c5e279d5a33" github.com/lightningnetwork/lnd/cmd/lncli
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ make btcd
 Fetching glide.
go get -d github.com/Masterminds/glide
cd /home/xiaofo/gocode/src/github.com/Masterminds/glide && git checkout 84607742b10f492430762d038e954236bbaf23f7
Note: checking out '84607742b10f492430762d038e954236bbaf23f7'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8460774... Updated changelog for 0.12.3 release
go install -v github.com/Masterminds/glide
 Compiling btcd dependencies.
cd /home/xiaofo/gocode/src/github.com/roasbeef/btcd && git checkout e6807bc4dd5ddbb95b4ab163f6dd61e4ad79463a && glide install
Note: checking out 'e6807bc4dd5ddbb95b4ab163f6dd61e4ad79463a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e6807bc... rpcclient: Update for go1.10 breaking changes.
[INFO]	Downloading dependencies. Please wait...
[INFO]	--> Found desired version locally github.com/aead/siphash e404fcfc888570cadd1610538e2dbc89f66af814!
[INFO]	--> Found desired version locally github.com/btcsuite/btclog 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a!
[INFO]	--> Found desired version locally github.com/btcsuite/go-flags 6c288d648c1cc1befcb90cb5511dcacf64ae8e61!
[INFO]	--> Found desired version locally github.com/btcsuite/go-socks 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f!
[INFO]	--> Found desired version locally github.com/btcsuite/golangcrypto 53f62d9b43e87a6c56975cf862af7edf33a8d0df!
[INFO]	--> Found desired version locally github.com/btcsuite/goleveldb 7834afc9e8cd15233b6c3d97e12674a31ca24602!
[INFO]	--> Found desired version locally github.com/btcsuite/snappy-go 0bdef8d067237991ddaa1bb6072a740bc40601ba!
[INFO]	--> Found desired version locally github.com/btcsuite/websocket 31079b6807923eb23992c421b114992b95131b55!
[INFO]	--> Found desired version locally github.com/btcsuite/winsvc f8fb11f83f7e860e3769a08e6811d1b399a43722!
[INFO]	--> Found desired version locally github.com/davecgh/go-spew ecdeabc65495df2dec95d7c4a4c3e021903035e5!
[INFO]	--> Found desired version locally github.com/jessevdk/go-flags 1679536dcc895411a9f5848d9a0250be7856448c!
[INFO]	--> Found desired version locally github.com/jrick/logrotate a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a!
[INFO]	--> Found desired version locally github.com/kkdai/bstream f391b8402d23024e7c0f624b31267a89998fca95!
[INFO]	--> Found desired version locally github.com/roasbeef/btcutil c3ff179366044979fb9856c2feb79bd4c2184c7a!
[INFO]	--> Found desired version locally golang.org/x/crypto 9419663f5a44be8b34ca85f08abc5fe1be11f8a3!
[INFO]	--> Fetching github.com/btcsuite/fastsha256.
[INFO]	Setting references.
[INFO]	--> Setting version for github.com/btcsuite/fastsha256 to 637e656429416087660c84436a2a035d69d54e2e.
[INFO]	--> Setting version for github.com/btcsuite/btclog to 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a.
[INFO]	--> Setting version for github.com/roasbeef/btcutil to c3ff179366044979fb9856c2feb79bd4c2184c7a.
[INFO]	--> Setting version for github.com/davecgh/go-spew to ecdeabc65495df2dec95d7c4a4c3e021903035e5.
[INFO]	--> Setting version for github.com/btcsuite/go-flags to 6c288d648c1cc1befcb90cb5511dcacf64ae8e61.
[INFO]	--> Setting version for github.com/jessevdk/go-flags to 1679536dcc895411a9f5848d9a0250be7856448c.
[INFO]	--> Setting version for github.com/btcsuite/snappy-go to 0bdef8d067237991ddaa1bb6072a740bc40601ba.
[INFO]	--> Setting version for github.com/btcsuite/go-socks to 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f.
[INFO]	--> Setting version for github.com/jrick/logrotate to a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a.
[INFO]	--> Setting version for github.com/btcsuite/websocket to 31079b6807923eb23992c421b114992b95131b55.
[INFO]	--> Setting version for github.com/btcsuite/golangcrypto to 53f62d9b43e87a6c56975cf862af7edf33a8d0df.
[INFO]	--> Setting version for github.com/kkdai/bstream to f391b8402d23024e7c0f624b31267a89998fca95.
[INFO]	--> Setting version for github.com/btcsuite/winsvc to f8fb11f83f7e860e3769a08e6811d1b399a43722.
[INFO]	--> Setting version for github.com/aead/siphash to e404fcfc888570cadd1610538e2dbc89f66af814.
[INFO]	--> Setting version for github.com/btcsuite/goleveldb to 7834afc9e8cd15233b6c3d97e12674a31ca24602.
[INFO]	--> Setting version for golang.org/x/crypto to 9419663f5a44be8b34ca85f08abc5fe1be11f8a3.
[INFO]	Exporting resolved dependencies...
[INFO]	--> Exporting github.com/aead/siphash
[INFO]	--> Exporting github.com/btcsuite/btclog
[INFO]	--> Exporting github.com/btcsuite/go-flags
[INFO]	--> Exporting github.com/btcsuite/fastsha256
[INFO]	--> Exporting github.com/btcsuite/go-socks
[INFO]	--> Exporting github.com/btcsuite/golangcrypto
[INFO]	--> Exporting github.com/btcsuite/snappy-go
[INFO]	--> Exporting github.com/btcsuite/websocket
[INFO]	--> Exporting github.com/btcsuite/winsvc
[INFO]	--> Exporting github.com/davecgh/go-spew
[INFO]	--> Exporting github.com/jessevdk/go-flags
[INFO]	--> Exporting github.com/kkdai/bstream
[INFO]	--> Exporting github.com/jrick/logrotate
[INFO]	--> Exporting github.com/roasbeef/btcutil
[INFO]	--> Exporting github.com/btcsuite/goleveldb
[INFO]	--> Exporting golang.org/x/crypto
[INFO]	Replacing existing vendor dependencies
 Installing btcd and btcctl.
go install -v github.com/roasbeef/btcd
github.com/roasbeef/btcd/vendor/github.com/btcsuite/fastsha256
github.com/roasbeef/btcd/vendor/github.com/roasbeef/btcutil/gcs
github.com/roasbeef/btcd/wire
github.com/roasbeef/btcd/chaincfg
github.com/roasbeef/btcd/addrmgr
github.com/roasbeef/btcd/btcjson
github.com/roasbeef/btcd/connmgr
github.com/roasbeef/btcd/vendor/github.com/roasbeef/btcutil
github.com/roasbeef/btcd/txscript
github.com/roasbeef/btcd/database/ffldb
github.com/roasbeef/btcd/vendor/github.com/roasbeef/btcutil/gcs/builder
github.com/roasbeef/btcd/blockchain
github.com/roasbeef/btcd/vendor/github.com/roasbeef/btcutil/bloom
github.com/roasbeef/btcd/mining
github.com/roasbeef/btcd/peer
github.com/roasbeef/btcd/blockchain/indexers
github.com/roasbeef/btcd/mining/cpuminer
github.com/roasbeef/btcd/mempool
github.com/roasbeef/btcd/netsync
github.com/roasbeef/btcd
go install -v github.com/roasbeef/btcd/cmd/btcctl
github.com/roasbeef/btcd/cmd/btcctl

xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ make check

Expected behaviour
Pass 'make check' successfully
Actual behaviour
Pass 'make check' unsuccessfully

Here is all logs of 'make check' :
xiaofo@xiaofo:~/gocode/src/github.com/lightningnetwork/lnd$ make check
Compiling btcd dependencies.
cd /home/xiaofo/gocode/src/github.com/roasbeef/btcd && git checkout 3b7cd0380ae14f7ae01703f04b5120bf688f5dcd && glide install
HEAD is now at 3b7cd03... Merge pull request #20 from halseth/mempool-spends
[INFO]	Downloading dependencies. Please wait...
[INFO]	--> Found desired version locally github.com/aead/siphash e404fcfc888570cadd1610538e2dbc89f66af814!
[INFO]	--> Found desired version locally github.com/btcsuite/btclog 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a!
[INFO]	--> Found desired version locally github.com/btcsuite/go-flags 6c288d648c1cc1befcb90cb5511dcacf64ae8e61!
[INFO]	--> Found desired version locally github.com/btcsuite/go-socks 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f!
[INFO]	--> Found desired version locally github.com/btcsuite/golangcrypto 53f62d9b43e87a6c56975cf862af7edf33a8d0df!
[INFO]	--> Found desired version locally github.com/btcsuite/goleveldb 7834afc9e8cd15233b6c3d97e12674a31ca24602!
[INFO]	--> Found desired version locally github.com/btcsuite/snappy-go 0bdef8d067237991ddaa1bb6072a740bc40601ba!
[INFO]	--> Found desired version locally github.com/btcsuite/websocket 31079b6807923eb23992c421b114992b95131b55!
[INFO]	--> Found desired version locally github.com/btcsuite/winsvc f8fb11f83f7e860e3769a08e6811d1b399a43722!
[INFO]	--> Found desired version locally github.com/davecgh/go-spew ecdeabc65495df2dec95d7c4a4c3e021903035e5!
[INFO]	--> Found desired version locally github.com/jessevdk/go-flags 1679536dcc895411a9f5848d9a0250be7856448c!
[INFO]	--> Found desired version locally github.com/jrick/logrotate a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a!
[INFO]	--> Found desired version locally github.com/kkdai/bstream f391b8402d23024e7c0f624b31267a89998fca95!
[INFO]	--> Found desired version locally github.com/roasbeef/btcutil dfb640c57141f1c2113b92b4b16d2a89c30dd258!
[INFO]	--> Found desired version locally golang.org/x/crypto 9419663f5a44be8b34ca85f08abc5fe1be11f8a3!
[INFO]	Setting references.
[INFO]	--> Setting version for github.com/btcsuite/btclog to 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a.
[INFO]	--> Setting version for github.com/btcsuite/go-flags to 6c288d648c1cc1befcb90cb5511dcacf64ae8e61.
[INFO]	--> Setting version for github.com/btcsuite/snappy-go to 0bdef8d067237991ddaa1bb6072a740bc40601ba.
[INFO]	--> Setting version for github.com/btcsuite/go-socks to 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f.
[INFO]	--> Setting version for github.com/jessevdk/go-flags to 1679536dcc895411a9f5848d9a0250be7856448c.
[INFO]	--> Setting version for github.com/kkdai/bstream to f391b8402d23024e7c0f624b31267a89998fca95.
[INFO]	--> Setting version for github.com/jrick/logrotate to a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a.
[INFO]	--> Setting version for github.com/btcsuite/golangcrypto to 53f62d9b43e87a6c56975cf862af7edf33a8d0df.
[INFO]	--> Setting version for github.com/btcsuite/winsvc to f8fb11f83f7e860e3769a08e6811d1b399a43722.
[INFO]	--> Setting version for github.com/roasbeef/btcutil to dfb640c57141f1c2113b92b4b16d2a89c30dd258.
[INFO]	--> Setting version for github.com/aead/siphash to e404fcfc888570cadd1610538e2dbc89f66af814.
[INFO]	--> Setting version for github.com/btcsuite/goleveldb to 7834afc9e8cd15233b6c3d97e12674a31ca24602.
[INFO]	--> Setting version for github.com/davecgh/go-spew to ecdeabc65495df2dec95d7c4a4c3e021903035e5.
[INFO]	--> Setting version for github.com/btcsuite/websocket to 31079b6807923eb23992c421b114992b95131b55.
[INFO]	--> Setting version for golang.org/x/crypto to 9419663f5a44be8b34ca85f08abc5fe1be11f8a3.
[INFO]	Exporting resolved dependencies...
 Thanks!

I provided information for each questions on issue template already. if it is not, what information do you want more ...?

Hello, Roasbeef. Previously, I did a job on master branch. but also after changing to 0.4.1-beta released version, error occurred. I updated information and log for my issue post.

@xiaofo09 Do you get this error every time you run make check? I have seen it a couple of times, but then it usually resolves the issue to run killall btcd; killall lnd

Alright, let's try to figure this one out :)

git pull master
rm output*
Uncomment all tests except the failing one from lnd_test.go
Run make check and post the full console log + the created output*.log files.

Thanks!

git pull master does not work. then should I try just git pull ?

I have this same error every time I run make check but go test -v shows no errors.

@xiaofo09 Sorry, should be git pull origin master. But git pull should be the same :)

@cmdrtee Oops, was supposed to say comment out/delete the non-failing test 😛 In any case, it will be like this: https://github.com/lightningnetwork/lnd/commit/a066ae177d360af2883d518e72fab76a407d69b9 for the case where async_payments_benchmark is the test case you want to debug.

@halseth I tried to do it newly, so I reinstalled OS (Ubuntu 16.04) and did what you asked. Every pre-condition is same as above. (Including bitcoind version, btcd version and all dependencies) I posted every log on Pastebin from installing 'lnd' on 0.4.1-beta released to typing 'make itest' on master branch after commenting function on lnd_test.go.
Log for installing 'lnd' on 0.4.1-beta realeased : https://pastebin.com/Ev8xzF5i
Log for executing 'make check' on 0.4.1-beta released : https://pastebin.com/QFxeKqsu
Log for executing 'make itest' on master branch : https://pastebin.com/b72jZR6B

@xiaofo09 You have a compile error during make itest

@halseth
After commenting 'TestLightningNetworkDaemon', I passed 'make itest'.
xiaofo@xiaofo-14Z960-MF50KN:~/gocode/src/github.com/lightningnetwork/lnd$ make itest
 Compiling btcd dependencies.
cd /home/xiaofo/gocode/src/github.com/roasbeef/btcd && git checkout a03db407e40d3b66ea29984263bbc8bf4d2f04c4 && glide install
HEAD is now at a03db40... chaincfg: change hrp prefix for regtest network
[INFO]	Downloading dependencies. Please wait...
[INFO]	--> Found desired version locally github.com/aead/siphash e404fcfc888570cadd1610538e2dbc89f66af814!
[INFO]	--> Found desired version locally github.com/btcsuite/btclog 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a!
[INFO]	--> Found desired version locally github.com/btcsuite/go-flags 6c288d648c1cc1befcb90cb5511dcacf64ae8e61!
[INFO]	--> Found desired version locally github.com/btcsuite/go-socks 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f!
[INFO]	--> Found desired version locally github.com/btcsuite/golangcrypto 53f62d9b43e87a6c56975cf862af7edf33a8d0df!
[INFO]	--> Found desired version locally github.com/btcsuite/goleveldb 7834afc9e8cd15233b6c3d97e12674a31ca24602!
[INFO]	--> Found desired version locally github.com/btcsuite/snappy-go 0bdef8d067237991ddaa1bb6072a740bc40601ba!
[INFO]	--> Found desired version locally github.com/btcsuite/websocket 31079b6807923eb23992c421b114992b95131b55!
[INFO]	--> Found desired version locally github.com/btcsuite/winsvc f8fb11f83f7e860e3769a08e6811d1b399a43722!
[INFO]	--> Found desired version locally github.com/davecgh/go-spew ecdeabc65495df2dec95d7c4a4c3e021903035e5!
[INFO]	--> Found desired version locally github.com/jessevdk/go-flags 1679536dcc895411a9f5848d9a0250be7856448c!
[INFO]	--> Found desired version locally github.com/jrick/logrotate a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a!
[INFO]	--> Found desired version locally github.com/kkdai/bstream f391b8402d23024e7c0f624b31267a89998fca95!
[INFO]	--> Found desired version locally github.com/roasbeef/btcutil dfb640c57141f1c2113b92b4b16d2a89c30dd258!
[INFO]	--> Found desired version locally golang.org/x/crypto 9419663f5a44be8b34ca85f08abc5fe1be11f8a3!
[INFO]	Setting references.
[INFO]	--> Setting version for github.com/btcsuite/btclog to 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a.
[INFO]	--> Setting version for github.com/btcsuite/winsvc to f8fb11f83f7e860e3769a08e6811d1b399a43722.
[INFO]	--> Setting version for github.com/btcsuite/golangcrypto to 53f62d9b43e87a6c56975cf862af7edf33a8d0df.
[INFO]	--> Setting version for github.com/btcsuite/go-socks to 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f.
[INFO]	--> Setting version for github.com/btcsuite/websocket to 31079b6807923eb23992c421b114992b95131b55.
[INFO]	--> Setting version for github.com/kkdai/bstream to f391b8402d23024e7c0f624b31267a89998fca95.
[INFO]	--> Setting version for github.com/jessevdk/go-flags to 1679536dcc895411a9f5848d9a0250be7856448c.
[INFO]	--> Setting version for github.com/aead/siphash to e404fcfc888570cadd1610538e2dbc89f66af814.
[INFO]	--> Setting version for github.com/jrick/logrotate to a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a.
[INFO]	--> Setting version for github.com/btcsuite/go-flags to 6c288d648c1cc1befcb90cb5511dcacf64ae8e61.
[INFO]	--> Setting version for github.com/btcsuite/goleveldb to 7834afc9e8cd15233b6c3d97e12674a31ca24602.
[INFO]	--> Setting version for github.com/roasbeef/btcutil to dfb640c57141f1c2113b92b4b16d2a89c30dd258.
[INFO]	--> Setting version for github.com/btcsuite/snappy-go to 0bdef8d067237991ddaa1bb6072a740bc40601ba.
[INFO]	--> Setting version for github.com/davecgh/go-spew to ecdeabc65495df2dec95d7c4a4c3e021903035e5.
[INFO]	--> Setting version for golang.org/x/crypto to 9419663f5a44be8b34ca85f08abc5fe1be11f8a3.
[INFO]	Exporting resolved dependencies...
[INFO]	--> Exporting github.com/aead/siphash
[INFO]	--> Exporting github.com/btcsuite/btclog
[INFO]	--> Exporting github.com/btcsuite/go-flags
[INFO]	--> Exporting github.com/btcsuite/goleveldb
[INFO]	--> Exporting github.com/btcsuite/go-socks
[INFO]	--> Exporting github.com/davecgh/go-spew
[INFO]	--> Exporting github.com/jessevdk/go-flags
[INFO]	--> Exporting github.com/kkdai/bstream
[INFO]	--> Exporting github.com/roasbeef/btcutil
[INFO]	--> Exporting github.com/jrick/logrotate
[INFO]	--> Exporting github.com/btcsuite/websocket
[INFO]	--> Exporting github.com/btcsuite/winsvc
[INFO]	--> Exporting github.com/btcsuite/golangcrypto
[INFO]	--> Exporting github.com/btcsuite/snappy-go
[INFO]	--> Exporting golang.org/x/crypto
[INFO]	Replacing existing vendor dependencies
 Installing btcd and btcctl.
go install -v github.com/roasbeef/btcd
go install -v github.com/roasbeef/btcd/cmd/btcctl
 Building lnd and lncli.
go build -v -o lnd -ldflags "-X main.Commit=e2229b74e72b45814f16222a1f32e1eaddac898a" github.com/lightningnetwork/lnd
go build -v -o lncli -ldflags "-X main.Commit=e2229b74e72b45814f16222a1f32e1eaddac898a" github.com/lightningnetwork/lnd/cmd/lncli
 Running integration tests.
go test -v  -tags rpctest -logoutput
testing: warning: no tests to run
PASS
ok  	github.com/lightningnetwork/lnd	0.031s

Here is my log when I typed 'make itest' after commenting 'TestLightningNetworkDaemon'. but it warned there is no tests.
xiaofo@xiaofo-14Z960-MF50KN:~/gocode/src/github.com/lightningnetwork/lnd$ goimports lnd_test.go > lnd_test2.go
xiaofo@xiaofo-14Z960-MF50KN:~/gocode/src/github.com/lightningnetwork/lnd$ mv lnd_test2.go lnd_test.go
xiaofo@xiaofo-14Z960-MF50KN:~/gocode/src/github.com/lightningnetwork/lnd$ make itest
 Compiling btcd dependencies.
cd /home/xiaofo/gocode/src/github.com/roasbeef/btcd && git checkout a03db407e40d3b66ea29984263bbc8bf4d2f04c4 && glide install
HEAD is now at a03db40... chaincfg: change hrp prefix for regtest network
[INFO]	Downloading dependencies. Please wait...
[INFO]	--> Found desired version locally github.com/aead/siphash e404fcfc888570cadd1610538e2dbc89f66af814!
[INFO]	--> Found desired version locally github.com/btcsuite/btclog 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a!
[INFO]	--> Found desired version locally github.com/btcsuite/go-flags 6c288d648c1cc1befcb90cb5511dcacf64ae8e61!
[INFO]	--> Found desired version locally github.com/btcsuite/go-socks 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f!
[INFO]	--> Found desired version locally github.com/btcsuite/golangcrypto 53f62d9b43e87a6c56975cf862af7edf33a8d0df!
[INFO]	--> Found desired version locally github.com/btcsuite/goleveldb 7834afc9e8cd15233b6c3d97e12674a31ca24602!
[INFO]	--> Found desired version locally github.com/btcsuite/snappy-go 0bdef8d067237991ddaa1bb6072a740bc40601ba!
[INFO]	--> Found desired version locally github.com/btcsuite/websocket 31079b6807923eb23992c421b114992b95131b55!
[INFO]	--> Found desired version locally github.com/btcsuite/winsvc f8fb11f83f7e860e3769a08e6811d1b399a43722!
[INFO]	--> Found desired version locally github.com/davecgh/go-spew ecdeabc65495df2dec95d7c4a4c3e021903035e5!
[INFO]	--> Found desired version locally github.com/jessevdk/go-flags 1679536dcc895411a9f5848d9a0250be7856448c!
[INFO]	--> Found desired version locally github.com/jrick/logrotate a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a!
[INFO]	--> Found desired version locally github.com/kkdai/bstream f391b8402d23024e7c0f624b31267a89998fca95!
[INFO]	--> Found desired version locally github.com/roasbeef/btcutil dfb640c57141f1c2113b92b4b16d2a89c30dd258!
[INFO]	--> Found desired version locally golang.org/x/crypto 9419663f5a44be8b34ca85f08abc5fe1be11f8a3!
[INFO]	Setting references.
[INFO]	--> Setting version for github.com/btcsuite/btclog to 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a.
[INFO]	--> Setting version for github.com/btcsuite/snappy-go to 0bdef8d067237991ddaa1bb6072a740bc40601ba.
[INFO]	--> Setting version for github.com/jessevdk/go-flags to 1679536dcc895411a9f5848d9a0250be7856448c.
[INFO]	--> Setting version for github.com/kkdai/bstream to f391b8402d23024e7c0f624b31267a89998fca95.
[INFO]	--> Setting version for github.com/btcsuite/goleveldb to 7834afc9e8cd15233b6c3d97e12674a31ca24602.
[INFO]	--> Setting version for github.com/btcsuite/winsvc to f8fb11f83f7e860e3769a08e6811d1b399a43722.
[INFO]	--> Setting version for github.com/btcsuite/go-socks to 4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f.
[INFO]	--> Setting version for github.com/davecgh/go-spew to ecdeabc65495df2dec95d7c4a4c3e021903035e5.
[INFO]	--> Setting version for github.com/btcsuite/websocket to 31079b6807923eb23992c421b114992b95131b55.
[INFO]	--> Setting version for github.com/btcsuite/go-flags to 6c288d648c1cc1befcb90cb5511dcacf64ae8e61.
[INFO]	--> Setting version for github.com/jrick/logrotate to a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a.
[INFO]	--> Setting version for github.com/roasbeef/btcutil to dfb640c57141f1c2113b92b4b16d2a89c30dd258.
[INFO]	--> Setting version for github.com/aead/siphash to e404fcfc888570cadd1610538e2dbc89f66af814.
[INFO]	--> Setting version for github.com/btcsuite/golangcrypto to 53f62d9b43e87a6c56975cf862af7edf33a8d0df.
[INFO]	--> Setting version for golang.org/x/crypto to 9419663f5a44be8b34ca85f08abc5fe1be11f8a3.
[INFO]	Exporting resolved dependencies...
[INFO]	--> Exporting github.com/aead/siphash
[INFO]	--> Exporting github.com/btcsuite/golangcrypto
[INFO]	--> Exporting github.com/davecgh/go-spew
[INFO]	--> Exporting github.com/btcsuite/btclog
[INFO]	--> Exporting github.com/btcsuite/goleveldb
[INFO]	--> Exporting github.com/btcsuite/snappy-go
[INFO]	--> Exporting github.com/btcsuite/go-socks
[INFO]	--> Exporting github.com/jessevdk/go-flags
[INFO]	--> Exporting github.com/jrick/logrotate
[INFO]	--> Exporting github.com/btcsuite/winsvc
[INFO]	--> Exporting github.com/kkdai/bstream
[INFO]	--> Exporting github.com/btcsuite/go-flags
[INFO]	--> Exporting github.com/roasbeef/btcutil
[INFO]	--> Exporting github.com/btcsuite/websocket
[INFO]	--> Exporting golang.org/x/crypto
[INFO]	Replacing existing vendor dependencies
 Installing btcd and btcctl.
go install -v github.com/roasbeef/btcd
go install -v github.com/roasbeef/btcd/cmd/btcctl
 Building lnd and lncli.
go build -v -o lnd -ldflags "-X main.Commit=e2229b74e72b45814f16222a1f32e1eaddac898a" github.com/lightningnetwork/lnd
go build -v -o lncli -ldflags "-X main.Commit=e2229b74e72b45814f16222a1f32e1eaddac898a" github.com/lightningnetwork/lnd/cmd/lncli
 Running integration tests.
go test -v  -tags rpctest -logoutput
testing: warning: no tests to run
PASS
ok  	github.com/lightningnetwork/lnd	0.031s

I think i'm having the same problem like @xiaofo09 since itest fails for me as well.
@halseth Could you explain to me how the goimports part works? :)

@cmdrtee goimports is a tool for updating your Go import lines, adding missing ones and removing unreferenced ones. from https://godoc.org/golang.org/x/tools/cmd/goimports
its usage is 'goimports '.

I commented only below part from lnd_test.go ( after testing 'make itest' with commenting only "graph topology notifications", error occurred again about "async payments benchmark". so I commented both of them )
	...
	//{
	//	name: "graph topology notifications",
	//	test: testGraphTopologyNotifications,
	//},
	...
	//{
	//	name: "async payments benchmark",
	//	test: testAsyncPayments,
	//},
	...

Here is full log :
https://pastebin.com/Ztkxyn7Z
Here is the logs of output
output0.log : https://pastebin.com/NVxNpNiS
output1.log : https://justpaste.it/3xa8u
output2.log : https://pastebin.com/E1hCKGHs
output3.log : https://pastebin.com/82bFEz27
output4.log : https://pastebin.com/6TiLNUnq

@xiaofo09 That failure is a known flake, I think I have a fix for it in one of my PRs.
We should instead try to figure out why you are getting the payment stream have been closed: rpc error: code = DeadlineExceeded desc = context deadline exceeded during the testAsyncPayments test. Can you try only running that one instead? 😄
(remember to rm output* first)

Thank you, halseth. :)
There are two output log files.
output1.log : http://pastefile.com/wVxPDD
output2.log : http://pastefile.com/jEpJN7

@cmdrtee The test actually fails to start. Make sure lnd and btcd is not running before doing make itest`.

@halseth I actually did killall btcd; killall lnd before

btcd: no process found
lnd: no process found

@cmdrtee Are you still getting that failure, even after killing the processes?

Closing due to inactivity.


[BUG] <should not encode queryParam when queryParam is like "? params=123&params=[male]&id$=20">

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
ws://10.190.35.xxx:8081/davinci-viz/xviz/ws?streams_filter=%255B%2522%252Fcamera%252Fbird_view%2522%255D&log=mock&profile=default&duration=300
Expected Behavior
ws://gateway-test.intra.xxx.com/davinci-viz/xviz/ws?streams_filter=[%22/camera/bird_view%22]&log=mock&profile=default&duration=300
No response
Steps To Reproduce

using request plugin

The URL carries Chinese parameters, which can be reproduced by calling the gateway.
eg：

Environment
ShenYu version(s): 2.4.2 and master . All versions should be. I only verified versions 2.4.2 and master.

Debug logs
No response
Anything else?
No response

#4562


Extend RetryPolicy to support max time backoff

The RetryPolicy and ExponentialRetry object, work based on a max attempts plus max delay before exiting with a finished status. For some situations it's useful to be able to bound the maximum overall amount of time spent on a request before bailing, regardless of the number of attempts. Event producers that want to bound the total amount of time sending an event before giving up, and the subscription stream checkpointer are the main examples.

done in  #85


Clean up |merge[], unneeded since PagerFanta 2.1

Rebased. Will merge if tests are green.

Green lights, finally! 😇


⚠ Fetchers has degraded performance

In f4ed6f7, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 429 ms

Resolved: Fetchers performance has improved in a27aefe.


The space between search bar and filters in home page should be larger

On the home page, the space between the search bar and I want something I can filters should be 64 px for desktop resolution.
Current implementation

I want to work on this.


Subtitle upconversion broken

Hi,
Converting a file that has VobSub subtitles in it will get stuck at upconverting.

[h265ize]: [verbose] Encoding started at Wed, 7:05 PM
[h265ize]: [debug] Path: ToBeConverted/awesome_movie.mkv
[h265ize]: [verbose] Getting video metadata...
[h265ize]: [debug] Container data:

duration: 02:41:35
size: 1.93 GB

[h265ize]: [verbose] Resolving video streams...
[h265ize]: [debug] Working on stream: 0
[h265ize]: [debug] Working on stream: 1
[h265ize]: [debug] Working on stream: 2
[h265ize]: [debug] Working on stream: 3
[h265ize]: [debug] Working on stream: 4
[h265ize]: [verbose] Upconverting...
[h265ize]: [debug] Upconverting 2 tracks.

It has been stuck here for 15 hours, so I'm guessing something is wrong, I don't have more information.
Do you want me to provide you the file, or the subtitle ?

File plz. Thursday, 04 August 2016, 01:00AM -07:00 from Allan<EMAIL_ADDRESS>:

Hi,
Converting a file that has VobSub subtitles in it will get stuck at upconverting.

[h265ize]: [verbose] Encoding started at Wed, 7:05 PM
[h265ize]: [debug] Path: ToBeConverted/awesome_movie.mkv
[h265ize]: [verbose] Getting video metadata...
[h265ize]: [debug] Container data:

duration: 02:41:35
size: 1.93 GB
[h265ize]: [verbose] Resolving video streams...
[h265ize]: [debug] Working on stream: 0
[h265ize]: [debug] Working on stream: 1
[h265ize]: [debug] Working on stream: 2
[h265ize]: [debug] Working on stream: 3
[h265ize]: [debug] Working on stream: 4
[h265ize]: [verbose] Upconverting...
[h265ize]: [debug] Upconverting 2 tracks.
It has been stuck here for 15 hours, so I'm guessing something is wrong, I don't have more information.
Do you want me to provide you the file, or the subtitle ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,  view it on GitHub , or  mute the thread .

https://mega.nz/#!N5tAhI4C!ta3Quq0GFDn2ep3Ac7j37lGtcvONiJbSVaWsPxmZ5T4
Password is the name of this project.

Thank you @azsde. It's 3 am here so I'm gonna go to sleep, I'll check it out when I get a chance in the morning.

14d0644 should have fixed your issue. If you intend on upconverting the vobsubs make sure you have the correct language for tesseract installed, more info on that here. Otherwise just use the --disable-upconvert flag.

Please confirm that your issue has been fixed when you get the chance. Thank you!

Closing issue.


Using only one mask produces a lot of print spam

Please see test case:
import digitalio
import board
import busio
import adafruit_mcp2515

cs = digitalio.DigitalInOut(board.CAN_CS)
cs.switch_to_output()
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
matches = [
            adafruit_mcp2515.Match(0x060, mask = 0x7F0)
        ]
# for me, the first 3 bits correspond to priority
# the next 4 bits are used for the device number
# the last 4 correspond to the message type.
# each device except the central controller can then only need to listen to a subset of matches that correspond to it's
# device number

mcp = adafruit_mcp2515.MCP2515(spi, cs, baudrate=1000000)
received_messages = []
while True:
    # If there's a better way to specify mask, let me know.
    with mcp.listen(matches, timeout=.00001) as listener:
        next_message = listener.receive()
        while next_message is not None:
            received_messages.append(next_message)
            print("adding message")
            next_message = listener.receive()
     # just to prove the point
    while len(received_messages) > 0:
        received_messages.pop()

This produces a LOT of spam on the serial log.
intended functionality would be: the mcp2515 can be used with one mask without something printing.
Adding ANOTHER mask removes the print.
import digitalio
import board
import busio
import adafruit_mcp2515

cs = digitalio.DigitalInOut(board.CAN_CS)
cs.switch_to_output()
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
matches = [
    adafruit_mcp2515.Match(0x060, mask=0x7F0),  # I think this might be what i want? i cant test.
    adafruit_mcp2515.Match(0x060, mask=0x06F)  # I think this may be what I want... but I cant test?
]
# for me, the first 3 bits correspond to priority
# the next 4 bits are used for the device number
# the last 4 correspond to the message type.
# each device except the central controller can then only need to listen to a subset of matches that correspond to it's
# device number

mcp = adafruit_mcp2515.MCP2515(spi, cs, baudrate=1000000)
received_messages = []
while True:
    # If there's a better way to specify mask, let me know.
    with mcp.listen(matches, timeout=.00001) as listener:
        next_message = listener.receive()
        while next_message is not None:
            received_messages.append(next_message)
            print("adding message")
            next_message = listener.receive()
    # just to prove the point
    while len(received_messages) > 0:
        received_messages.pop()

this seems to be the problem... but I think it may point to a larger issue.
https://github.com/adafruit/Adafruit_CircuitPython_MCP2515/blob/a50e24362154677d262e643c8edec9237f810a77/adafruit_mcp2515/__init__.py#L917
Lastly, adding some documentation to Mask would be pretty cool.
https://docs.circuitpython.org/projects/mcp2515/en/latest/api.html#adafruit_mcp2515.canio.Match

Just found this... canio has a more thorough description of Match:
https://docs.circuitpython.org/en/latest/shared-bindings/canio/index.html#canio.Match

I also have printing spam problem. Best would be a flag to silence it. Is any one planning to work on this?

I actually think the problem lies in the examples and how they recommend using the "listen()" and "receive()" methods.
The 'listen()' method is where the listener is created and also the place where that unused mask message is being printed.  If the listen() method is called inside the 'while true:' loop it'll recreate the listener and also display that message on every loop.
Also, according to the documentation it might not be wise to recreate the listener every time due to the cost of creating it...

Creating a listener is an expensive operation and can interfere with reception of messages by other listeners.

I think a better approach (if you're masks and filters don't change over time) is to call the listen() method once outside of the 'while True:' loop.  Then just call the receive() method inside the loop to get the incoming messages that haven't been processed.  This also has the side benefit of making your while loop much faster (see comment above).  So far, this approach has worked very well for me.
# using an array with only one match
matches = [
    adafruit_mcp2515.Match(0x060, mask=0x7F0)
 ]

# Setup the CAN Bus and Listener.
mcp = adafruit_mcp2515.MCP2515(spi, cs, baudrate=1000000)
listener = mcp.listen(matches, timeout=.002)
# You should only see the warning message only once using this approach

while True:
    # use a for loop to process all messages received since the last time this was called.
    message_count = listener.in_waiting()
    print(message_count, "messages available")
    for _i in range(message_count):
        msg = listener.receive()
        # Handle the incoming messages here.
        print("Message from ", hex(msg.id))
        if isinstance(msg, Message):
            print("message data:", msg.data)
        if isinstance(msg, RemoteTransmissionRequest):
            print("RTR length:", msg.length)

Hope that helps!


[FEATURE] Need status information tracking and complete notification for zero downtime upgrade

Describe the bug

The zero downtime upgrade page need to provide more information for user tracking each component upgrade status.
And notify user after upgrade complete, without this feature user have no idea whether the upgrade is finished or not.

To Reproduce
Steps to reproduce the behavior:
Do zero downtime upgrade from v1.0 to latest master head, steps refer to #1022

Prepare 3 nodes harvester with 1.0.0 GA
Prepare latest master head iso
Upload iso file to http or file server
ssh to harvester controller node
Create the versions.yamlcat > versions.yaml <<EOF
apiVersion: harvesterhci.io/v1beta1
kind: Version
metadata:
  name: 1.0.2
  namespace: harvester-system
spec:
  isoChecksum: 2765d89e5e8024347c81d36cc84b7168bf358a3a2f4da0c63164ad834a94bcbbaa13af4900aad4caa0a27550e4b4db5bf2c4726daa88664378e0c581a79ad2cb
  isoURL: http://<IP_ADDRESS>/harvester/harvester.iso
  minUpgradableVersion: 0.3.0
  releaseDate: "20211231"
  tags:
  - dev
  - test
EOF

Run kubectl create -f versions.yaml
Refresh harvester page
Click the Upgrade button
Click the green circle to display upgrade status page
Check the status and wait until zero downtime upgrade finish

Expected behavior

Upgrade dashboard should provide upgrade progress or error message of the following

os status
rke2 status
rancher status
harvester and monitoring status

Also keep the upgrade dashboard page display after upgrade complete with notification like Upgrade Complete
Support bundle

Environment:

Harvester ISO version: v1.0.0 to latest master head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): 3 nodes harvester on provo bare machines

Additional context
Add any other context about the problem here.

We also need the ability to access jobs logs during an upgrade. The job logs can be accessed from Kubernetes, but they might be deleted at a later time automatically.

Verified on master-fd872c99-head (03/09). Found a truncation on upgrade dashboard and an enhancement suggestion.
Move it to implement pipeline.
@bk201, @WuJun2016, I suggest we can improve them to provide better user experience WDUT.
Result

The rancher version value truncated and exceed the panel

There is no overall upgrade status to indicate the current status, for example, the image have already pending due to backend limit timeout, but for a user I can't figure out whether the upgrade is ongoing or not

Test Information

Test Environment: 3 nodes harvester on provo bare machine
Harvester version: master-fd872c99-head (03/09)

Verify Steps
Zero downtime upgrade guide: https://github.com/harvester/harvester/pull/1945

Prepare a 3 node harvester cluster with v1.0.0 release
Enable virtual network
Create a vlan network vlan1 and id 1
Upload the latest master-head iso file to a http server
ssh to management node
Create version.yaml file and add the following content

apiVersion: harvesterhci.io/v1beta1
kind: Version
metadata:
  name: 1.0.2
  namespace: harvester-system
spec:
  isoChecksum: xxx                              <-- the build ISO sha512 checksum
  isoURL: http://<IP_ADDRESS>/harvester/harvester.iso      <-- the build ISO
  minUpgradableVersion: 0.3.0
  releaseDate: "20211231"
  tags:
  - dev                 <--- `dev` tag is important
  - test

Refresh harvester dashboard page
Click the Upgrade button
Select the version and start the upgrade
Refresh the page and check the upgrade status besides the namespace

There is no overall upgrade status to indicate the current status, for example, the image have already pending due to backend limit timeout, but for a user I can't figure out whether the upgrade is ongoing or not

@WuJun2016 We can use condition Completed field to indicate overall status:

Unknown: on-going.
False: Fail
True: Success

@TachunLin The rancher version is shorter in formal releases, I guess it's OK to keep what it is.

Verified fixed on v1.0.1-rc2. Close this issue
Result

Now we have the overall status at the top of the upgrade dashboard
The dashboard layout can contain all information

Test Information

Test Environment: 1 node harvester on local kvm machine
Harvester version: v1.0.1-rc2

Verify Steps
https://github.com/harvester/docs/blob/42598035cfe79856f7e159d4c47c4d7d29178900/docs/upgrade/automatic.md

Additional Context
Full Upgrade Dashboard UI Screenshots


Jesse: Watch 0152475f4717aea251(?#upwork)

Jesse requests the watch of the watch_keyword 0152475f4717aea251(?#upwork). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

0152475f4717aea251(?#upwork) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Transforms metadata and streamlines the workflow

Adds rule to transform drexel_metadata output into a format compatible with the other tools.
Updates to latest tool containers to be compatible with various changes to the tools.
Removes morphology step so this workflow will be more generic.
Fixes #40

@johnbradley do we still get a presence/absence matrix?

@johnbradley do we still get a presence/absence matrix?

@megbalk No. The change here removes the morphology step that is specific to minnow traits. The last step in the core workflow is ML segmentation. The idea is choosing or creating a morphology step is left to the domain scientist that reuses this workflow.

To use the presence/absence files created via hdr-bgnn/Morphology-analysis a rule similar to the following would need to be added to the domain scientist's Snakefile:
rule create_morphological_analysis:
    input:
        image = 'Segmented/{image}_segmented.png',
        metadata = 'Metadata/{image}.json'
    output: 'Morphology/Presence/{image}_presence.json'
    log: 'logs/create_morphological_analysis_{image}.log'
    container:
        "docker://ghcr.io/hdr-bgnn/morphology-analysis/morphology:0.3.0"
    shell:
        'Morphology_main.py {input.image} {output} > {log} 2>&1'

This code in the Minnow_Segmented_Traits streamline branch adds the create_morphological_analysis rule to create the presence/absence data using the hdr-bgnn/Morphology-analysis code. (We do need to update to the latest container there).

We still want the output of the presence / absence matrix to do our preliminary analyses and set up for the next paper. Can we add that back in?

We still want the output of the presence / absence matrix to do our preliminary analyses and set up for the next paper. Can we add that back in?

@megbalk Perhaps I am misunderstanding, but the presence / absence data is already available in the Minnow_Segmented_Traits streamline branch. Due to this code in that repo. We aren't deleting this morphology rule just moving it from BGNN_Core_Workflow to  Minnow_Segmented_Traits.

Indeed, as @johnbradley says, because it is no longer considered a part of the core workflow, which is what this repo is about. That doesn't mean it can be part of a domain science composite workflow that builds on top of the core workflow, such as Minnow Traits demonstrates.

ah ok, I was confused, sorry!


Multiple iframes in the same page

Is it possible to load multiple iframes in the same page?
I tried adding several lines like this:
$('#myIframeID').responsiveIframe({ xdomain: ''});
$('#myIframeID1').responsiveIframe({ xdomain: ''});
But it didn't work. It sized them all to the height of the last iframed element.
Thanks!

@rosaleenortiz try https://github.com/nprapps/pym.js


Fix localization concatenation + Cleanup unused strings

This is a draft proposal before I go ahead to fully implement the changes.
Proposed changes:

Change all instances of concatenated strings into a single strings so that translators can handle them as a single entity.  Not all languages follow the same word structure as English.
Remove unused strings for (a) tidiness (b) save translators from working on unused strings.

See the commit messages for further details.
The last 2 commits are examples of the cleanup work;  if this PR is wanted, then more of these commits will come.

Fixes #4202 and others.

Ah, we can just safely delete strings.  Ok, will do.

PR Checklist
Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting)
[x] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number: Fixes #4202 and others + general cleanup.
What is the current behavior?

There exists split sentences that is hard to translate in some languages.
The are lots of obsolete strings that translators are wasting time over.

What is the new behavior?

Fewer occurrences of partially-translated strings.
Less work for new translators (lesser unused strings).
No more split sentences.

I still leave some unused strings around as they look useful for future use (e.g. those about encrypting wallets, etc.)

After all of this, I found https://github.com/lbryio/lbry-desktop/issues/3440.  I guess this could be a pre-cursor to #3440, but would be obsolete when that happens.


ConfigureTimeZone missing?

In Time > ProvisionSetTimeZone, it refers to "Policies > TimeLanguageSettings > ConfigureTimeZone" to set timezone.
But navigating to "Policies > TimeLanguageSettings" I only see ProvisionSetTimeZone and there is no documentation on this. Doc refers to "TimeLanguageSettings" with the only option to set 24HourClock. No where mentioning ConfigureTimeZone...
kinda confusing ngl

(admin edit: add article metadata for proper linking - assuming this is the correct target)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1c382e76-7804-b1a4-5df8-698c74d9c669
Version Independent ID: 659759e4-80a7-2236-76fa-b3032adf1970
Content: Time (Windows 10) - Configure Windows
Content Source: windows/configuration/wcd/wcd-time.md
Product: windows-client
Technology: itpro-configure
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

I think that's referring to the following CSP policy: https://learn.microsoft.com/windows/client-management/mdm/policy-csp-timelanguagesettings#configuretimezone
WCD only exposes a subset of CSPs, I think that's what this list shows: https://learn.microsoft.com/windows/configuration/wcd/wcd

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


publish event wraps event as payload in a envelope

In what area(s)?

/area runtime

/area operator
/area placement
/area docs
/area test-and-release

What version of Dapr?

0.3.x

Expected Behavior

When using client.publishEvent(topic.getTopicName(), event).doOnError(onError) where event is a Object and conforms to CloudEvent, no extra envelope should be wrapped arround.
Maybe it would be sufficient to have two flavours for publishing. One by only publish the payload, second by publish full fletched event, where no wrapping is necessary.
Actual Behavior

As can be seen in screenshot, event beeing published by the service is stored in data field. It is not possible, to customize type

Steps to Reproduce the Problem

publish event with DaprClient.

Use Content-Type application/cloudevents+json to check if payload is already cloud event and parse it if so.
PUT /myresource HTTP/1.1
Host: webhook.example.com
Content-Type: application/cloudevents+json; charset=utf-8
Content-Length: nnnn

{
    "specversion" : "1.0",
    "type" : "com.example.someevent",

    ... further attributes omitted ...

    "data" : {
        ... application data ...
    }
}

To summarize, it sounds like there are two asks here, is this correct?

Support a publish "overload" that accepts either CloudEvent or raw data.  In the first case this should not be rewrapped in an additional CloudEvent.  In the latter case, the raw data should be wrapped in CloudEvent.
Add a correlationid field inside the CloudEvent

#1 from above has a PR here which will preserve the published CloudEvent and prevent Dapr from wrapping it into yet another envelope.
#2 Has already a solution for it. CloudEvent has properties and extensions that can be used to carry that data. Our copy of the CloudEvent (v0.3) struc just doesn't implement these properties today

#1 from above has a PR here which will preserve the published CloudEvent and prevent Dapr from wrapping it into yet another envelope.
#2 Has already a solution for it. CloudEvent has properties and extensions that can be used to carry that data. Our copy of the CloudEvent (v0.3) struc just doesn't implement these properties today

@javageek79 @artursouza this has been fixed for 0.9.0 release of Dapr, could you please verify your scenario.

@amanbha Thanks.
@javageek79 @RicardoNiepel  Please, try your scenario again with Dapr 0.9.


Improve table format output

As I user I want table format output like kubectl

Addressing here: #19


update dependencies, remove NullOrUndefined

Removes NullOrUndefined, matches up Maybe to foreign-generics, makes Nullable output null.

I like this better 👍


Uh. I think I corrected english stuff?

There are a lot of typos throughout the document. Can you please update those and resubmit the pull request?


[v2.10] RKE1 snapshot Restore after Kubernetes upgrade failed when Drain nodes is enabled

SURE 9232
backport : https://github.com/rancher/rancher/issues/48417

duplicate of https://github.com/rancher/rancher/issues/48419


Assertion failed in AGProxySession.cpp:346

https://sentry.adguard.com/adg/adguard-android-rs/issues/23111/activity/
https://sentry.adguard.com/adg/adguard-android-rs/issues/23149/

https://sentry.adguard.com/adg/adguard-android-rs/issues/23241/?query=is:unresolved

Fixed the alleged cause of problem in 1.4.13


[feature] Detail list sources

Having this sources for each list documented would be nice. Even something as simple as leaving a comment with the source included at the top of each list would be sufficient.

If you could provide a bit more information. Each threat intelligence feed is named after the source that it's pulled from.

If you could provide a bit more information. Each threat intelligence feed is named after the source that it's pulled from.

I've updated the main post to be more precise and accurate. Hope it helps!

An example section in the project README could look something like this:
SOURCES

Provider
Homepage
List URL
License/TOU

OpenPhish
https://openphish.com/index.html
https://openphish.com/feed.txt
https://openphish.com/terms.html

...

Certainly!
I'll work to get that provided for you all.


add streams exception handler to replace the thread

 add streams exception handler to replace the thread light-controller master


Why the extension prompt I have to choose where to open workspace in WSL but don't in Windows?

Before you submit an question we recommend you to check out the DOCUMENT first.
You can also find more information in:

TROUBLESHOOTING
FAQ

💬 Questions and Help
Please outline the questions.
I have already open my workspace in WSL, but the extension still prompted I need to choose where to open a new workspace when I clicked "show problem". It won't happen in Windows. Why not just add file to the current workspace?

By the way, I installed the extension in WSL and reopened the workspace in WSL directly.


New now update command needed

In order to give people a straightforward way of upgrading Now CLI (no matter what method they used to install it), we want to introduce a new now update command.
In favour of this new command, we'd deprecate the behaviour under the now upgrade command, which can currently be used for upgrading the plan. Otherwise there might be confusion occurring around which one of these two commands does what. Also, nobody upgrades their plan from the CLI.
By default, running now update would simply replace the binary. That's it.
Package Managers
In the event, however, that a package manager like npm, yarn or brew is used, we want to run the command that package manager provides for updating it.
In those cases, we want to show this prompt as well:

Now CLI (/usr/local/bin/now) was installed via npm
Run npm i -g now? [Yn]

As you can see, we would be running the npm i -g now command if the user agreed.
That is all.

Closed by #2388.


Glyph Sets README typo fix

Minor typo fix in readme document for the GF Glyph Sets

Looks like my editor automatically removed some spaces at line ends. I didn't realize before I committed this.  Happy to return everything else to original layout if you'd like.  Does not modify layout ==> https://github.com/chrissimpkins/gftools/tree/fix-glyphsets-typo/encodings/GF Glyph Sets

@chrissimpkins thanks!

👍


Useless blank space on the inspector property names

Godot master
Issue description:
The left side of the properties names have a big blank space (24 pixels aprox.) that does not shrink with the inspector making it a wasted space in particular on small screens.
If that does not have any use it should be reduced to zero or close zero, giving more space to property values.

the red rectangle shows the empty space that takes a big portion of the inspector

If we want to change that, it should be done before beta ideally.

This requires to modify Tree class, the field which controls it called - draw_ofs

@Chaosus the offset is fixed? can't be exposed to use in particular cases? (because trying to modify that will affect all other trees in the editor).

It looks like so, You need to introduce new controllable property to Tree to do that task

@djrm , @toger5 ?

discussion is here https://github.com/godotengine/godot/pull/13352
i dont see much beneffit in removing but the last implementation in that PR looks kinda ok, im not that sure myself.


homepage-graphic-redesign

Still have to add the images.  But this is what I have so far @mcharg @Maroyafaied @CM805

Preview

Can't get the preview link to load

@CM805 The build keeps failing.  We need help from @mojobnichols or @jlouis-onrr to fix it.

@mcharg, looks like it is not building due to the colon within the pages frontmatter title, see below:
incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 2, column 32:
    title: A user-centered approach: Simplicity and complexity in a ...

if you escape the colon it should build, something like:
title: A user-centered approach\: Simplicity and complexity in a homepage graphic

@arcasarana @cthomasONRR @CM805 The preview link works now!

@arcasarana What do the numbers mean after the user types?

Took a look at it and it looks good.  Just wondering if you all want to incorporate the few grammatical changes I made this morning on the draft in Teams.

@CM805 Yes, we should make those changes.  @cthomasONRR Do you want to take a look at Christa's comments in the Teams version and incorporate them into the Markdown file in Atom?
Teams version:
https://teams.microsoft.com/l/file/7ecdf62e-21c4-4e0e-9288-71b4cb1d1594?tenantId=0693b5ba-4b18-4d7b-9341-f32f400a5494&fileType=docx&objectUrl=https%3A%2F%2Fdoimspp.sharepoint.com%2Fsites%2FNRRD%2FShared Documents%2FGeneral%2FHomepage graphic blog post (draft<EMAIL_ADDRESS>

@mcharg and @CM805 Sure! I will look at the Teams version and incorporate them into Atom.

Is there a way to make the images more clear?
Also, found a place where a comma should be added:
The interviews were conducted by Sarah, Brandi, and Shannon with internal staff who volunteered as notetakers."  should be :
"The interviews were conducted by Sarah, Brandi, and Shannon, with internal staff who volunteered as notetakers."

@CM805 - I updated the blog to include your extra comma. I'm unsure about how to make the images more clear. Maybe @mcharg can help us on that?

@cthomasONRR Thanks for being on top of the edits!
@CM805 I messaged @branic18 to see if maybe she can save off the images in a different format that isn't fuzzy.

@branic18 responded and said she'll see what she can do to make the images not blurry.

@cthomasONRR @CM805 I made the images less blurry.  Let me know if you think I need to replace any of the other images.

@arcasarana @branic18 I just realized we didn't have a link to the design we landed on after testing, so I added a link to that in the research outcomes section.

@mcharg I just re-reviewed, and the images look great!

@Maroyafaied This is ready to merge once you review.


Shows Intact & Dissolve options when doing a buffer analysis

Closes #7502

CR: @viddo

👍

Have some failing tests though

Thanks! Yes, the failing tests are those that you fixed some minutes ago. I just merged with master.


Display message when no tests were run

:nut_and_bolt: Description: What code changed, and why?
This branch updates the Compliance Reports node detail view to show a message when no tests were run on that specific node.
:chains: Related Resources
Addresses: https://github.com/chef/automate/issues/1761
:+1: Definition of Done
A message is displayed when there are no results to show on the compliance report detail view
:athletic_shoe: How to Build and Test the Change
build components/automate-ui-devproxy
make serve

Download profile that will have no test outcome: https://github.com/chef/automate/issues/1761#issuecomment-694437000
Upload profile into automate
Navigate to https://a2-dev.test/compliance/compliance-profiles and upload the profile downloaded in step 1
Navigate to https://a2-dev.test/compliance/scan-jobs/jobs and create a scan job with this profile
Navigate to https://a2-dev.test/compliance/reports/nodes and find the node you scanned with the profile from step 1
Open passed profile and see that it has no tests, with a message informing you similar to the image below.

:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable
After

I lack familiarity with the context here, but the explanatory text is ambiguous.
It could mean either:

There were some tests but none were executed (for unknown reasons).
There were no tests to run.

@msorens we don't actually have a way of knowing whether it was situation 1 or 2


fix for issue https://github.com/Azure/azure-sdk-for-java/issues/780

Can one of the admins verify this patch?


Test genesis block's accounts determinism

PT Test preset accounts' determinism in genesis creation
Added tests that verify the expected behavior in genesis block. This is on top of existing guarantees that accounts.json is deterministically ordered when read, as tested here.

1) aec_tx_pool_tests:tx_pool_test_/0: fill micro block with transactions
     Failure/Error: ?assert(MinGas > aec_governance : block_gas_limit ( ) - TotalGas)
       expected: true
            got: false
     %% /home/builder/epoch/_build/test/lib/aecore/test/aec_tx_pool_tests.erl:97:in `aec_tx_pool_tests:-tx_pool_test_/0-fun-16-/2`

Unrelated, restarting

Rebased on top of master


converts to spring-boot-application

converts to spring-boot-application from spring-application

closing this as it won't work with current UI


Race condition when app is restarted quickly

If you close the app and start is quickly again you can hit a race condition where the user is blocked from connecting the tunnel:

Reproduced reliably on MacOS 12 (me) and macOS 14 (on Jamil's laptop).

The above was performed with the TestFlight release build. Another easy way to reproduce this is to launch the app via Xcode, sign in, then click "Run" again to build and re-launch the app.

@roop I just hit this now. To reproduce:

Launch app from Xcode, sign in
Click "Stop" from Xcode
Notice that Network extension is still running and connected
Manually disconnect the tunnel from System prefs
Launch app again -- now it's in a quasi state of signed in but not signed in


Variable for vertical orientation in Block class

Proposed Changes

vertical variable and function add to block class
if vertical is true in block.blade.php layout orientation will be vertical instead of horizontal

The reason behind this is to have the ability to use full horizontal space for layouts that have more information (tables for example) without missing the functionality of the Block class.

@tabuna I updated the pull request according to your suggestions


As a user, I want to view other user's profile, so that I can view their interests and activity

Acceptance Criteria:

[x] The profile page of another user should display their podcasts, and general information set by that user.
[x] The page should not provide any option to edit the profile or follow the user.
[x] The design of the page should be consistent with the overall platform's aesthetics.
[x] The content on the page should be properly aligned, displayed and responsive.

Demo Steps:

Navigate to the profile of a user from the main interface.
Verify that the profile page displays the podcasts, and general public information of the respective user.
Confirm that there are no options available for editing the profile or following the user.

Potential Risks:

Unauthorized access to edit functionality if not properly restricted.
Inconsistencies in the design might lead to a poor user experience.

#143 Adds the backend endpoints needed to retrieve the User Profile information.

Radwan[frontend]: View other users' profiles
https://github.com/awaazo/awaazo/assets/68618601/c96a6138-cebd-44cf-a48e-d64e49e059f2

Search bar only taking one character at a time before I have to re-click the bar

https://github.com/awaazo/awaazo/assets/31280516/29422d31-7c33-4086-bc7c-3d41dbd8cdad
Commit where this was done: Commit


Changing all references of "window" to "this" in github.js

Is there any chance of changing all references of "window" to "this" in github.js ?
I think it shouldn't affect the current behavior.
I am trying to use this script with Greasemonkey but it doesn't work the way it currently is.

There've always been some issues with how the UMD stuff is currently set up. Changing title to better reflect underlying issue.

I've completely redone the UMD boilerplate, see #1431e27.
PLEASE —

Report whether the aforementioned commit works with how you use Github.js.
Report whether you're instantiating Github.js via Node.js, AMD (Require.js et al) or browser globals
Report any problems you may have.

Many thanks everyone!


Unified Bug Dataset added to Data sets list

New entry in the data sets section, named Unified Bug Dataset.

Please remove the link to bugcatcher.stca.herts.ac.uk/bugcatchers/.  I am getting a Potential Security Risk Ahead warning, and maybe Lint also fails because of this.

Removed the link and added a missing punctuation to the end of the line. Now, I don't know what the 'Awesome list must reside in a valid git repository  remark-lint:awesome/github' error means.

Thank you!


Some Questions Regarding PYPs and their relevance to our upcoming exam

Last question of 1718 Special Term Paper
"In the lecture, we have seen the SOLID principles as a set of guiding principles for designing OO programs. How are these principles applied in the context of streams and lambda expressions? In particular, you will need to describe the applicability with respect to the following three principles:
(a) Single Responsibility Principle
(b) Liskov-Substitution Principle
(c) Open-closed Principle
Where appropriate, you should use sample program fragments to illustrate."
How would someone approach this question? I understand the 3 principles mentioned above but I don't really get what this question's asking for.
Some other past years also have questions regarding Java's RecursiveTask, RecursiveAction, and ForkJoinTask API. For example, 1819 Sem 1 Paper's last question requires us to write a class MergeSortTask with Java's RecursiveAction, to implement merge sort algorithm.
May I know whether students from those semesters are explicitly taught the 3 APIs, and therefore we won't be tested on the 3 classes since it's not taught to us? Or is it the case that we can be given new Java APIs during exam (with some description of course), and will be required to use it on the spot?
Also, for design questions, how are we supposed to know if our solution is "correct" by marking scheme standard. For both 1718 past years, we don't see such design questions.
Non-design questions like:

write a map(), flatMap () method for this class
write a method that takes in a stream and returns the variance
write a method that takes in an array and return the number of twin primes in the array

are easy to check because you know you are wrong/correct just by testing your solution out (or not being able to write anything)
But for questions such as this:

We can implement our solution, but how do we know whether our solution is "correct"?
Here's another question to ponder about:

Is making a QA<T extends IllegalArgumentException> class the correct way? In this case we take in an Exception object as attribute, and throw that object whenever answer is invalid (thus easily extensible for future Questions that need their own custom Exceptions).
However, another way to do this is to not use Generics, and use Inheritance instead. We can have an abstract class QA with abstract method throwError () that simply throws an error, as well a general getAsnwer() method. The throwError() method will be used inside the getAnswer() method. If there are new question types in the future, we can just let NewQuestion extends QA, and override only the throwError method in the new class (thus also easily extensible).
In this case, which one (if any of them is) is the "correct" method?
As such, I find the "complete the map() method" "complete the variance() method that takes in a stream and returns a double value representing variance of the stream" questions more straightforward and have less ambiguity, as compared to design questions.
May we know which kind of questions will we be expecting for our finals?

I feel that it's best to assume that either can come out. But again, only Prof can clarify this. 😓


[CWS] fix small possible nil-ptr deref regarding profiled containers telemetry

What does this PR do?
Since the containers running telemetry was extracted the struct pointer check is not checking the correct structure. This PR fixes this small issue (since both telemetry are enabled together there is no real risk here anyway).
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


add coverage badge

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@51e6769). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage        ?   77.81%
=======================================
  Files           ?       27
  Lines           ?      320
  Branches        ?       53
=======================================
  Hits            ?      249
  Misses          ?       71
  Partials        ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51e6769...c9d188e. Read the comment docs.


performance issues with per-volume outline generation

The SPARQL request to get the outline for a volume is too slow, we need to find other ways to create it. Knowing that an outline for a volume is most often asked with the outline of the other volumes, it would probably be a good idea to fetch the outline for an entire work and then select the nodes relevant to the volume programmatically.

also this one has problems: http://iiifpres.bdrc.io/2.1.1/vo:bdr:V1PD96684_I1PD106657/manifest


Abnormal behaviour on GraphMorphism equality

While writing some tests, I found an abnormal behaviour on the equality tests of Graph Morphisms, the problem seems to be w.r.t. Relations Equality Comparison.
Test
spec :: Spec
spec = describe "Graph Morphism API" $ do

  describe "removeNodeFromCodomain" $ do

  it "Should remove node without incident edges" $ do
      (nodeRelation $ removeNodeFromCodomain 3 g1) `shouldBe` (nodeRelation g4)

Output
Graph.GraphMorphism, Graph Morphism API, removeNodeFromCodomain, Should remove node without incident edges
       expected: Relation {domain = [1,2,4,3], codomain = [1,2,4], mapping = fromList [(1,[1]),(2,[2]),(4,[4])]}
        but got: Relation {domain = [1,2,3,4], codomain = [1,2,4], mapping = fromList [(1,[1]),(2,[2]),(3,[]),(4,[4])]}

Context
g1' :: Graph (Maybe a) (Maybe b)
g1' = build [1,2,3,4] [(1,1,2)]

g2' :: Graph (Maybe a) (Maybe b)
g2' = build [1,2,4] [(1,1,2)]

g1 :: GraphMorphism (Maybe a) (Maybe b)
g1 = buildGraphMorphism g1' g1' [(1,1),(2,2),(3,3),(4,4)] [(1,1)]

g4 :: GraphMorphism (Maybe a) (Maybe b)
g4 = buildGraphMorphism g1' g2' [(1,1),(2,2),(4,4)] [(1,1)]

Apparently the problem is that elements for which the mapping is undefined may be represented in two ways: being absent from the map, or being mapped to an empty list.

Moreover, the function may alter ther order of elements in the domain (and possibly codomain?) list. Thus, the lists are different and the equality fails for this case.


IDE support? (IntelliJ, VS Code)

Are any of you working with gs files inside IntelliJ by any chance?  Would be really nice to have a plugin to provide support.  I found references to an older plugin that has been removed ( https://github.com/MichaelSnowden/intellij-gas-plugin ) with a clone here: ( https://github.com/kehh/intellij-gas-plugin ), but haven't tried it out yet to see if it works with clasp.

We should probably leave this issue open and document how to actually use an IDE with Apps Script. (Hint: It's incredible, autocomplete galore, TypeScript + Apps Script!)

Would love to have up-to-date (including Gmail Add-on) typescript files definitions.

This is mostly up to date, save for UrlFetchApp.fetchAll https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-apps-script
I think you mentioned writing a blog post about using TS with apps script @grant , if so how is that coming along? I'm thinking of migrating an existing project over to TS but there wasn't too much written about configuring the tooling. Would love to have a canonical guide from you/your team.

Current Progress
I have a few PRs out:

https://github.com/motemen/dts-google-apps-script/pull/4

Try to contact @motemen to better support Typescript binding generation. It looks like the

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23657 SlidesApp bindings

This is to test the waters when submitting types to DefinitelyTyped.

I have access to a big JSON document (96,000 lines) that used for the Apps Script editor's autocompletion. If someone wants to build a d.ts generator using this doc, I could probably release it after getting permission. It looks like:
{
      "parentType": {
        "name": "SlidesApp",
        "fields": [
         ...
          {
            "name": "ColorType",
            "typeName": "SlidesApp.ColorType",
            "kind": "NORMAL",
            "description": "An enumeration of color types."
          },
          ...
          {
            "name": "VideoSourceType",
            "typeName": "SlidesApp.VideoSourceType",
            "kind": "NORMAL",
            "description": "An enumeration of the types of video source."
          }
        ],
        "methods": [
          {
            "name": "create",
            "returnTypeName": "SlidesApp.Presentation",
            "params": [
              {
                "name": "name",
                "typeName": "String",
                "description": "The name to be given to the created presentation."
              }
            ],
            "description": "Creates and opens a new \u003ccode\u003e\u003ca target='_blank' href='https://developers.google.com/apps-script/reference/slides/presentation.html'\u003ePresentation\u003c/a\u003e\u003c/code\u003e.",
            "returnDescription": "the presentation with the given name."
          },
          {
            "name": "getActivePresentation",
            "returnTypeName": "SlidesApp.Presentation",
            "description": "Returns the currently active presentation to which the script is \u003ca\n href=\"/apps-script/scripts_containers\"\u003econtainer-bound\u003c/a\u003e, or \u003ccode\u003enull\u003c/code\u003e if there is no\n active presentation. To interact with a presentation to which the script is not\n container-bound, use \u003ccode\u003e\u003ca target='_blank' href='https://developers.google.com/apps-script/reference/slides/slides-app.html#openById(String)'\u003eopenById(id)\u003c/a\u003e\u003c/code\u003e instead.\n\n \u003cpre class=\"prettyprint\"\u003e\n // Get the current presentation to which this script is bound.\n var presentation = SlidesApp.getActivePresentation();\n \u003c/pre\u003e\n\n If the presentation is already open, the same presentation instance is returned."
          },
...

Today
You can use TS + GAS today, just npm i @types/google-apps-script and use an IDE like VS Code (free unlike IntelliJ Ultimate for TS). The types just haven't been updated in 1 year so there's no SlidesApp, GmailApp etc. I'll make a bigger push after updating the bindings.

Next Steps

Find a reliable way to update the d.ts types. Use motemen's scraper/generator or build a new one.
Define a standard way to write TS that can compile to Apps Script (ES3), with some other tools like linting, etc. Create a blog/video.
Create a doc/tutorial to teach people how to write Apps Script this way.

Help is welcome.

@grant For a while now I'm using this library https://github.com/JeanRemiDelteil/gas-lib that also comes as an NPM package.
It will provide AppsScript autocomplete feature.
This package is auto-generated from the kind of files you just linked as example, however it does not generate typescript for now, but javascript JsDoc. I figure it would not be to difficult to generate typescript since the JSON parser is already done and working.
I will try to dip my hands in this and clean the generator code while I'm at it, so I can publish it here.
@deinspanjer By the way, I'm currently working with webstorm on AppsScript projects.
Just set the *.gs type to be Javascript in the settings, and then we use https://github.com/JeanRemiDelteil/gas-shell as a starter kit.

FYI: This will be documented and solved in<EMAIL_ADDRESS>(#70) with optional Typescript support.
It's a bit complicated to explain, but basically, you'll rename files from js to ts if you want type support locally, or want to use es6.

(FYI: I've renamed this to IDE Support)
Working on TS support for IDEs like VS Code and IntelliJ/WebStorm.

@grant I've invited you to access my repo for generating GAS stubs / d.ts files.
Seems that this matter got stuck a little. And I would like to make it move on again !

Thanks for the ping.
I think the TypeScript definitions (@types/google-apps-script) should be usable today. I'm working on a guide that will be on developers.google.com. Unfortunately progress is slower there.
Are there specific things missing from using TypeScript today? If so, I can help make those changes. I think the definitions are complete.

I have to make some tests, but some code are giving errors when it should not.
let dir = Maps.newDirectionFinder();
dir.setAvoid(Maps.DirectionFinder.Avoid.HIGHWAYS);

gives the error (i'm using "Jetbrains Webstorms" == "Intellij for JS"):

Argument type GoogleAppsScript.Maps.Avoid.HIGHWAYS is not assignable to parameter type string

on Maps.DirectionFinder.Avoid.HIGHWAYS
Also these typing should be up-to-date when there are changes in GAS, not every years, in fact, it should be the gas team that should generate and provide those !
If we can use those typing without issues, then I will be more than happy to switch ! That would be awesome.
But I don't want project with small errors everywhere, it defeats the purpose of using typings in the first place.

<EMAIL_ADDRESS>launches TypeScript support which allows for IDE support in editors like VSC. See the guide here:
https://github.com/google/clasp/blob/master/docs/typescript.md
The GAS team can't provide better @types/google-apps-script types, but I've been able to update them and test them recently. Please comment on definition errors in the DefinitelyTyped google-apps-script commits and tag me. Also, feel free to make your own changes/PRs to the DefinitelyTyped repo.
I'm going to close this original issue of creating IDE support. If there are issues with the new support, we can create a new GitHub issue with specific details.

still not sure if IntelliJ can work with the current state. See my latest report at https://github.com/google/clasp/issues/268
Basically IntelliJ wants to create an import like this:
import GmailMessage = GoogleAppsScript.Gmail.GmailMessage;
I ve tried using: import "google-apps-script"
without any success. The types wont be recognized then. My mentioned imports gets transpiled into something which doesnt work in runtime (var GmailMessage = GoogleAppsScript.Gmail.GmailMessage;)
I just installed the types via NPM as normal.

I'll continue the conversation with that issue. I should mention you cannot use the import statement, but autocompletion should come automatically after installing the types.
I haven't tried IntelliJ, only VSC. I'll investigate more during the week.

@grant I have released our internal d.ts generator, so it can generate dts files from @public annotated global functions, interfaces, classes, enums etc, like the API Extractor:
https://github.com/maelcaldas/clasp-types
It works by writing and reading a JSON model from Typedoc engine, so, its only for libraries already written in Typescript.
Some questions:

Would that make sense to generate from JSDoc engine, so it could generate d.ts consistently from js libraries annotated with @public?

Would it be in the scope of clasp, so we could add an additional param, example:

clasp --library-types

To generate d.ts for libraries and
clasp --client-types

To generate d.ts for client-side api
If JSDoc engine also supported, once classes properly annotated with @public all built in services could be generated with clasp[-types] instead of scrapping.
It could also support reading openapi spec in to generate advanced types.
Happy to have your thoughts on that and possibly collaborate on shipping it on clasp, if that make sense.


feat(agents): granite 3.1 support

Which issue(s) does this pull-request address?
Contributes-to: https://github.com/i-am-bee/internal/issues/19
Adds support for Granite 3.1. Drops 3.0 support.
Updates granite examples.
This needs to be merged on Wed 18th to coincide with broader release.
Checklist

[x] I have read the contributor guide
[x] I have signed off on my commit
[x] Linting passes: yarn lint or yarn lint:fix
[x] Formatting is applied: yarn format or yarn format:fix
[x] Unit tests pass: yarn test:unit
[x] E2E tests pass: yarn test:e2e
[ ] Tests are included
[x] Documentation is changed or added
[x] Commit messages and PR title follow conventional commits

@JanPokorny the reason we used "don't merge yet" in the title is because both @michael-desmond and myself are on vacation tomorrow when the release is happening.  We need one of the @i-am-bee/framework-developers to merge in our absence.

Why we want to drop 3.0?

Watsonx has dropped support for 3.0 so it's not possible to access that model using one of our major llm providers. Hence, the decision was taken to mirror here in Bee.


get information from the barcode

Description of the problem:
Can you tell me how to get the expiry date from the barcode ?

This is generally out of scope for this project, but you could open a discussion with more details:

What barcode type is it?
Include a sample of a barcode.


bug: create-wagmi with next-with-connectkit fails to create project

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
<EMAIL_ADDRESS>Current Behavior
Following the instructions, I get the following:
$ npm init wagmi

Welcome to create-wagmi – the quickest way to get started with wagmi!

✔ What is your project named? … my-app-connectkit
✔ What template would you like to use? › Next.js + ConnectKit
Creating a new wagmi app in /Users/alex/src/playground/my-app-connectkit.

Using npm.

✖ Failed to install packages.
Command failed with exit code 1: npm install --quiet
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/wagmi
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/connectkit
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/alex/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/alex/.npm/_logs/2022-11-16T21_50_03_903Z-debug-0.log

Bare NextJS project and the one with rainbowkit template get created correctly.
Expected Behavior
The CLI tool creates a NextJS project /w connectkit
Steps To Reproduce
npm init wagmi --template next-with-connectkit

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

Created issue in the create-wagmi repo.


Indexing not working with HTTP2

Debian 9.2
Apache 2.4.25
After enabling mod_http2 all my server indexing stopped working.
Chrome simply says:
The Site cannot be reached.
Firefox is a bit more verbos:
`Secure Connection Failed
The connection to home.xxxxxxx.net was interrupted while the page was loading.
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.`
I've since turned off h2 in just that virtual server that handles those indexes. While that's got it working, I still find this odd that no one else has ran into this. But Google and Apache Lounge doesn't have any other reports of this.
Logs are 100% clean during these events. Any ideas? Is this a bug or something weird on just my system?

@doonze
In this configuration,
  <Directory /var/www/html/>
      RewriteEngine on
      redirect / /sabnzbd/
 </Directory>

the line "RewriteEngine On“ is a silent misconfiguration. This means adding it to your system will not change any system behavior.
"RewriteEngine On" is introduced by Apache to explicitly enable all "RewriteRule" and "RewriteCond".
That is to say, unless you include multiple "RewriteRule" and "RewriteCond" parameters in your configuration, then leaving off "RewriteEngine" is a better choice.
More importantly, the default value of “RewriteEngine" is already an "off", so from a security side, deleting “RewriteEngine On” would be ideal.
The related Apache source code snippet:
run_rewritemap_programs(server_rec *s , apr_pool_t *p){
if (conf->state == ENGINE_DISABLED) { // usage of "RewriteEngine"
  return APR_SUCCESS; // early return
rewritemap_program(...); // usage of "RewriteRule"
}


[Bug] Resizing & Camera Reset

When you change the resolution or change the windowed mode, it can happen that the titlebar now resides over the visible edge of the monitor/screen resolution, and now you can not move nor access the menu anymore and have to resort to Alt-F4 to close the window.
There is also an instance where if you zoom out and zoom back in, you basically lost the map, I don't know if its a scaling issue, it does seems like the scale factor doesn't get changed, would be maybe useful to have a menu function that auto-centers/resets the view/camera instance.

I obtained this problem several times, I deemed it to be my mistake because I thought It was me screwing too much with the resolutions and window mode, but happened now second time when I did a full screen to windowed switch to see if that fixed the map or camera view, it did not.

What I had observed was: when switching from full screen to windowed mode, the title bar disappears. A workaround is to change the window size the mouse (one can still click and drag on the pixel border of the window). After that the window appears normally. The problem might be related to a wrong usage of the GLFW API, which is used for creating the window, but I haven't dealt with it yet.

What I had observed was: when switching from full screen to windowed mode, the title bar disappears. A workaround is to change the window size the mouse (one can still click and drag on the pixel border of the window). After that the window appears normally. The problem might be related to a wrong usage of the GLFW API, which is used for creating the window, but I haven't dealt with it yet.

It doesn't happen often, has no priority i rekon.

I found out where the "Scroll" issue comes from, when you scroll whilst moving your cursor from active desktop (or browser) and the mouse crosses over the simulator window, it zooms out and disappears completely and this process can not be reversed by zooming out as far I have tried.

I think two different problems are addressed here:

When switching to windowed mode, the window is sometimes badly positioned and the boundaries and scrollbar are hard to locate. The issue is still open.
If focus is lost during zooming, it continues zooming out/in endlessly until everything ultimately disappears.  This problem should be at least partially eliminated with v4.4, because it then stops zooming after a certain factor and one can then zoom in the reverse direction again.


wrap updates in a $set to support versioned updates in more scenarios

The old code would often end up with mix of { field : value } and dollar operators (for the $inc) and the server complains about that mixed usage.  This changes pushes everything under a dollar operator for versioned updates.
fixes #1091

This isn't quite right, either.  Withdrawing.


Empty ['fmw']['java_home_dir'] causes JDK installation to be skipped.

If I have precreated an empty directory I plan to use for java_home_dir then the fmw_jdk::install recipe skips the installation/extraction of the JDK archive.

Hi,
like #4  java_home_dir is global parameter of all cookbooks and should point to the full path of the used jdk. It is not used for the install location but I used it to see if it is already installed.
What is the use case to make this directory yourself, I create the parent folder and extract it to this parent directory
I can add the bin directory to this check but I need to understand, what you try to achieve.
Thanks

Wouldn't a check that the directory was there but empty be more user friendly? E.g. only_if do (::Dir.entries(node['fmw']['java_home_dir']) - %w{ . ..}).empty? end

Indeed, but why do you want to create directory yourself. if there a special reason for this.

Suppose it's an NFS mount where I mount the share at the JAVA_HOME location?

ok, interesting. that makes sense in that case, mostly I see a NFS share for all binaries or for some Wls HA domain and not just one for the JDK
I have to check EDG, mostly I see java being installed on the VM.