20200323_jeffrey - silenceuncrio/diary GitHub Wiki

0855

這個禮拜的 review list


M300 - task

  • [100%] policy route 的 status
  • [100%] web ui - 全部 controller 的 template 都套上 unique 的 query 防止 cache
  • [0%] upgrade firmware 後 想辦法強制 user 只能重開機

M300 - issue

  • [100%] 0000398: when restore config/upgrade firmware from remote, DUT should reboot automatically
    • 想個辦法讓 user 不能按 Esc 來跳過
    • 全平台套用
      • [100%] M300
      • [100%] M330
      • [100%] M350-C
      • [100%] M360P
  • [100%] 0000915: Refresh on "Usage display" web page, data sometimes repeat

M300 - bug

  • [30%] firmware upgrade 卡在 40%
    • pc 網卡直連 M300 lan 端
    • 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到

M330 - task

  • [100%] web ui - 全部 controller 的 template 都套上 unique 的 query 防止 cache
  • [70%] P4 - CTCU - Web UI: GPS Track drawing(Server)
  • [0%] P4 - Airtel - BGP Attributers shall be supported
    • 可以問 winston 試著跟他那邊的 bgp 進度同步一下
  • [0%] P4 - Airtel - GUI Display LTE Signal strength indicator
  • [0%] P4 - Airtel - Upon Failure of above comparision, ...

M330 - issue

  • [100%] 0000954: DUT should be able to disable "keep alive" in GRE tunnel, not by keepalive period value
    • 來個 keepalive mode 的 config - 預設是關; 把 period value 0 拿掉
  • [100%] 0000875: DUT can't support pre-setup in STA mode
    • 比較偏苦工
  • [100%] 0000595: [WEB UI] hide password, Token, Secret ID on DDNS web page
    • 全平台套用
      • [100%] M300
      • [100%] M330
      • [100%] M350-C
      • [100%] M360P
  • [100%] 0000770: WiFi Password is clear text
  • [100%] 0000915: Refresh on "Usage display" web page, data sometimes repeat

M330 - bug


M350-C - task

  • [100%] web ui - 全部 controller 的 template 都套上 unique 的 query 防止 cache
  • [0%] release v0.03 - 2020-04-09
  • [0%] ISMS Support
    • 目前有兩大塊需要人手
      • web ui
      • M350 MQTT client
  • [0%] WiFi 5GHz web page

M350-C - issue

  • [100%] 0000915: Refresh on "Usage display" web page, data sometimes repeat

M350-C - bug

  • [20%] web ui openvpn wizard 會讓 lighttpd process 被 kill 掉
    • M330 不會
    • M330 的 lighttpd 為 1.4.30
    • M350 的 lighttpd 為 1.4.40

M350-C - misc

  • [30%] 跨 repository 間 code 的 sync - 培養功力
    • 起手式
      git format-patch -k --stdout ${A_COMMIT_HASH}..${B_COMMIT_HASH} > xxx.patch
      git am -k -3 < xxx.patch
      
    • git am 失敗的時候該怎麼辦? git apply --reject

M360P - task

  • [100%] web ui - 全部 controller 的 template 都套上 unique 的 query 防止 cache

M360P - issue

  • [60%] 0000936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...
  • [60%] 0000787: when local ethernet link is 100 half, firmware upgrade via web ui fail
  • [100%] 0000915: Refresh on "Usage display" web page, data sometimes repeat

M360P - bug

  • [30%] - 0000908: sometimes first time modify LTE NET mode or APN on dual APN will apply fail - root cause 是 lighttpd 重啟了
    • M360P 的 lighttpd 為 1.4.30

task

  • [100%] P1 - osmart 藍牙 相關 logo 或字眼侵權
    • 幫忙看目前 app 的下載量 (有時間軸更好)
    • 有需要時幫忙下架
  • [80%] P2 - 幫公司繳 apple 年費
    • 雙重認證 搞定了 但登入後沒有出現 renew 帳號的按鈕
    • 等收到電子發票再去請款
  • [0%] P2 - 病假待補證明 - 碘 131 隔離期間
  • [80%] Vmware jubuntu compile 環境
    • [60%] M300
      • Building the Docker image - build-m300 - 失敗
        • 放棄
      • load docker image from exported tar from jbox
        • 成功
        • 進 container 後 source proenv.sh fail
    • [100%] M330
    • [100%] M350
    • [100%] M350-C
    • [100%] M360P

0920

task - [50%] P1 - osmart 藍牙 相關 logo 或字眼侵權

目前的結論是 不要下架

結案

0950

M300 - issue - [0%] 0000398: when restore config/upgrade firmware from remote, DUT should reboot automatically

  • 想個辦法讓 user 不能按 Esc 來跳過

1345

M300 - issue - [0%] 0000398: when restore config/upgrade firmware from remote, DUT should reboot automatically

解決

commit 3f0103bd7dce78e3fb1b250ecefd8865a5fadfcc
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 13:44:23 2020 +0800

    after restore the configuraton, force the user to press the reboot button

 proscend/prosrc/webcgi/configuration.c             |   1 +
 proscend/prosrc/www/app/feature/configuration.html |  53 ++------
 proscend/prosrc/www/app/feature/configuration.js   | 147 ++++++++++++++-------
 3 files changed, 108 insertions(+), 93 deletions(-)

這個解法可以套到全部的平台

1400

M300 - issue - [40%] 0000398: when restore config/upgrade firmware from remote, DUT should reboot automatically

  • 全平台套用 - [0%] M330

使用 VMware jubuntu

commit 197470af00c13350fe1871fc27c115e187377246
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 14:24:19 2020 +0800

    after restore the configuration, force the user to press the reboot button

 proscend/prosrc/webcgi/configuration.c             |   1 +
 proscend/prosrc/www/app/feature/configuration.html |  61 ++-------
 proscend/prosrc/www/app/feature/configuration.js   | 146 ++++++++++++++-------
 3 files changed, 111 insertions(+), 97 deletions(-)

1505

M300 - issue

  • [40%] 0000398: when restore config/upgrade firmware from remote, DUT should reboot automatically
  • 全平台套用 - [0%] M350-C
commit b145903f732c9f27b45f4b1539ce8c56b852cf1e
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 15:33:20 2020 +0800

    after restore the configuration, force the user to press the reboot button

 proscend/prosrc/webcgi/configuration.c             |   1 +
 proscend/prosrc/www/app/feature/configuration.html |  61 ++-------
 proscend/prosrc/www/app/feature/configuration.js   | 146 ++++++++++++++-------
 3 files changed, 111 insertions(+), 97 deletions(-)

1535

M300 - issue

  • [40%] 0000398: when restore config/upgrade firmware from remote, DUT should reboot automatically
  • 全平台套用 - [0%] M360P
commit e40d99c95dbee58da540481ebc725a19e55ca759
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 15:49:31 2020 +0800

    after restore the configuration, force the user to press the reboot button

 proscend/prosrc/webcgi/configuration.c             |   1 +
 proscend/prosrc/www/app/feature/configuration.html |  58 ++-------
 proscend/prosrc/www/app/feature/configuration.js   | 143 ++++++++++++++-------
 3 files changed, 112 insertions(+), 90 deletions(-)

1605

M330 - issue - [0%] 0000954: DUT should be able to disable "keep alive" in GRE tunnel, not by keepalive period value

  • 來個 keepalive mode 的 config - 預設是關; 把 period value 0 拿掉

commit 63eec5008e24be6f07de1ec3f089f3e7cdb99970
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 17:17:37 2020 +0800

    CLI: Add keepalive-mode for 'vpn/gre/tunnel'

 proscend/prosrc/icos/clishell/gre.c | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

commit b762afce662b4ca39a8518494b697d4b059bf10b
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 16:57:17 2020 +0800

    add 'Use Keepalive' at 'VPN > GRE'

 .../rootfs/home/factory/icos/gre_3g/gre_3g.json        |  2 ++
 proscend/prosrc/icos/icoslib/gre_3g/gre_3g.c           | 15 +++++++++++++--
 proscend/prosrc/icos/include/module_gre_3g.h           |  3 ++-
 proscend/prosrc/www/app/feature/gre_3g_edit.html       | 18 +++++++++++++++---
 proscend/prosrc/www/app/locale-en.json                 |  4 +++-
 proscend/prosrc/www/app/locale-fr.json                 |  3 ++-
 proscend/prosrc/www/app/locale-zh-tw.json              |  3 ++-
 proscend/prosrc/www/src/manual/vpn_gre.h.html          |  6 +++++-
 8 files changed, 44 insertions(+), 10 deletions(-)

CLI 也順手加完了

同樣的東西套到 M350-C 去

commit 077358bf70435ef68e12bd567d23eaee4fa31bf6
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 17:17:37 2020 +0800

    CLI: Add keepalive-mode for 'vpn/gre/tunnel'

 proscend/prosrc/icos/clishell/gre.c | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

commit 392e111bfb994352d840885ad478312694640914
Author: jeffrey <[email protected]>
Date:   Mon Mar 23 16:57:17 2020 +0800

    add 'Use Keepalive' at 'VPN > GRE'

 .../rootfs/home/factory/icos/gre_3g/gre_3g.json        |  2 ++
 proscend/prosrc/icos/icoslib/gre_3g/gre_3g.c           | 15 +++++++++++++--
 proscend/prosrc/icos/include/module_gre_3g.h           |  3 ++-
 proscend/prosrc/www/app/feature/gre_3g_edit.html       | 18 +++++++++++++++---
 proscend/prosrc/www/app/locale-en.json                 |  3 ++-
 proscend/prosrc/www/app/locale-fr.json                 |  3 ++-
 proscend/prosrc/www/app/locale-zh-tw.json              |  3 ++-
 proscend/prosrc/www/src/manual/vpn_gre.h.html          |  6 +++++-
 8 files changed, 43 insertions(+), 10 deletions(-)